Tag: 存储库

升级后重新启用PPA / repos的最佳方法是什么?

当我从11.10升级到12.04时,重新启用我的PPA和添加存储库的最佳方法是什么?

存储库无法进行身份validation

我正在关注这个线程来安装wine ,但是在我添加了建议的存储库并重新加载了源列表后,出现了以下错误消息: W:The repository ‘http://extras.ubuntu.com/ubuntu xenial Release’ does not have a Release file., W:Data from such a repository can’t be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository ‘http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu xenial Release’ does not have a Release file., W:Data from such a repository can’t […]

如何从升级恢复到Proposed存储库?

我错误地启用了预发布更新(natty-proposed)存储库,然后升级了所有包。 我怎么撤消这个? 以下是来自@ enzotib说明的测试结果以及我的说明中的测试结果 。

将Python 2.7更新到2.x的最新版本

我的Ubuntu 14.04机器上的python2版本是Python 2.7.6。 如何将其升级到最新版本的Python 2.X? 最新的是2.7.11。 我尝试过apt-get update / upgrade ,但是存储库似乎没有最新版本。

E:某些索引文件无法下载。 它们已被忽略,或者在apt-get update之后使用旧的

我的/etc/apt/sources.list包含: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat sources.list.old deb http://archive.ubuntu.com/ubuntu precise universe nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ 我根据这篇文章更新了如何恢复默认存储库? 但是当我运行sudo apt-get update时它调用了另一个问题我有一些像这样的输出: Err http://ua.archive.ubuntu.com main/restricted Sources 404 Not Found [IP: 91.189.91.13 80] Err http://ua.archive.ubuntu.com main/universe Sources 404 Not Found [IP: 91.189.91.13 80] Err http://ua.archive.ubuntu.com main/multiverse Sources 404 Not […]

如何启用源代码存储库?

我需要安装某些内容的构建依赖项,如何确保我的软件源的源代码部分已启用?

如何禁用特定的PPA?

我想从ppa:ricotz/testing存储库锁定更新。 我不想清除它。 我只想锁定该存储库中的更新。 我该怎么做?

限制回购某个拱门?

我有几个没有armhf二进制文件的存储库(用于RPi交叉编译器),所以apt-get总是在更新包列表时给出了大量的404错误。 它还阻止我运行do-release-upgrade因为它找不到armhf编译的系统二进制文件,它不需要也无法运行。 我正在寻找一种方法告诉它只搜索某些存储库中的特定拱门,这样我就可以在apt-get update上修复404的大量墙。 谷歌没有帮助; 所以据我所知,这不是一个骗局; 可能与之相关的一个问题是关于GPG错误,我没有错误。 的sources.list: # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ – Release amd64 (20131016.1)]/ saucy main restricted # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ – Release amd64 (20131016.1)]/ saucy main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu trusty main restricted i386 amd64 […]

是否可以镜像apt存储库?

我是凯斯西储大学的学生,从Ubuntu服务器到我所在位置的带宽通常非常糟糕(大约每秒几百字节 )。 我自己和一些朋友希望能够下载一次这些软件包,并将它们缓存到校园内的其余Ubuntu安装中。 要做到这一点,我们要么需要设置我们自己的APT存储库,要么设置某种forms的缓存(squid?)服务器,我们可以指向我们的系统。 设置这样的镜子是一个艰难的过程吗? 如何实现它?

如何使用apt-mirror和mirrorkit创建本地存储库?

拥有本地存储库非常有用。 可以使用rsync创建存储库镜像,但这会导致所有版本都被下载,甚至是旧版本,并且会包含可能不需要的体系结构的文件。 apt-mirror允许选择性地选择存储库的一部分。 mirrorkit为apt-mirror提供了一个前端。 为Ubuntu存档的选定部分创建本地存储库镜像的最佳方法是什么? 例如,人们可能希望包括: Main,Restricted,Universe,Multiverse,All Ubuntu和Lubuntu,但不包括其他衍生品,如Kubuntu和Xubuntu。 仅限AMD64和i386,但不包括其他架构。 只有Trusty Tahr,但不是Precise Penguin或Utopic Unicorn。 有人可能希望配置进程,以便从本地镜像而不是主存档下载。 如何使用apt-mirror和mirrorkit为选定的体系结构,发行版或Ubuntu变体创建本地存储库?