Tag: 存储库

为PPA分配更高的优先级

我试图弄清楚如何为一个PPA分配更高的优先级而不是另一个PPA。 我在这个论坛上看了很多答案,但没有一个能解决我的问题。 我们在一些服务器上有两个PPA源,我们将它们放在/etc/apt/sources.list.d单独文件中。 其中一些repos提供相同的包(就名称而言)但不同的版本和可能不同的二进制文件。 有没有办法如何优先考虑一个回购而不是另一个回购呢? 我读了apt_preferences教程,但它不能更加模糊,也没有找到我的问题的答案。 这是情况。 我们有以下来源: $ ls -l /etc/apt/sources.list.d total 12 -rw-r–r– 1 root root 66 Jan 2 16:50 nginx-source.list -rw-r–r– 1 root root 84 Jan 2 16:49 ruby-ng-experimental-source.list 其中nginx-source.list内容是: deb http://ppa.launchpad.net/nginx/stable/ubuntu precise main 和ruby-ng-experimental-source.list内容是: deb http://ppa.launchpad.net/brightbox/ruby-ng-experimental/ubuntu precise main 这两个源都提供了不同版本的nginx-full软件包等。当我列出优先级时,ruby-ng-experimental-source.list位于输出之上,因此从该repo安装了nginx-full: $ apt-cache policy nginx-full nginx-full: Installed: 1:1.2.3-1~38~precise1 Candidate: 1:1.2.6-1~43~precise1 Version table: 1:1.2.6-1~43~precise1 […]

如何在运行apt-get update时修复GPG错误/ BADSIG?

可能重复: 解决apt-get BADSIG GPG错误的最简单方法是什么? 最近,每次从终端运行apt-get update时,我都会收到这么长的错误列表。 这些错误以前没有,我不知道它们是如何突然出现的。 我甚至尝试过一些论坛建议的方法,但到目前为止他们显然没有为我工作。 我甚至尝试过更换服务器,但无济于事。 我很高兴在这个问题上获得帮助。 错误在这里: http : //paste.ubuntu.com/544093/

如何删除“忽略目录/etc/apt/sources.list.d/中的文件,因为它的文件扩展名无效?

从13.10升级到14.04,每次安装,更新,升级等时都会收到这些烦人的消息: N: Ignoring file ‘webupd8team-java-raring.list.disable’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension N: Ignoring file ‘bumblebee-stable-raring.list.disable’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension N: Ignoring file ‘steam.list.disable’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension N: Ignoring file ‘ubuntu-x-swat-x-updates-raring.list.disable’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid […]

戴尔ubuntu存储库授权密钥

我刚刚购买了带有Ubuntu 16.04的Dell Precision 7520。 我需要重新安装带有root和home分区的Ubuntu版本,现在我想安装这台机器最初安装的Dell Repositories。 他们是: http://dell.archive.canonical.com/updates/ exnial-dell-crane-kbl public http://dell.archive.canonical.com/updates/ exnial-dell-crane-kbl public (source Code) http://dell.archive.canonical.com/updates/ exnial-dell public http://dell.archive.canonical.com/updates/ exnial-dell public (source Code) 如何在“软件和更新”窗口(“其他软件”选项卡)中执行此操作? 我需要在附加驱动程序选项卡中安装一些打开的软件驱动程序(当我购买它时)。

如何找到哪个PPA包含特定包?

我想知道哪个存储库包含特定的包,以便将PPA链接添加到sources.list文件。 该软件包也可以在官方存储库之外( multiverse或类似的)。 我不想只找到存储库名称,而是想要添加到源代码的完全合格的PPA链接名称,而不需要任何额外的努力。

无法添加回购密钥

我想补充一把钥匙(在Kubuntu 12.04上) sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys SOMEKEY 而且我经常得到 gpg: requesting key 8AC93F7A from hkp server keyserver.ubuntu.com gpg: keyserver timed out gpg: keyserver receive failed: keyserver error 我以为我的港口已经关闭了。 但以下应该使端口80和11371打开: iptables -A INPUT -p tcp -d 0/0 -s 0/0 –dport 80 -j ACCEPT iptables -A INPUT -p tcp -d 0/0 -s 0/0 –dport 11371 -j […]

为什么我需要在18.04启用`universe` repo – 是不是默认启用?

这些存储库默认是在Ubuntu 18.04 Bionic Beaver中启用的吗? 看起来如此…… Main , Restricted , Universe和Multiverse …… 另一个过程将此列为步骤sudo add-apt-repository universe 但似乎不需要,因为universe回购已经启用了? 我对吗? 完成以下其他程序的步骤 sudo add-apt-repository universe sudo apt-get update sudo apt install blender steam

无法在14.04找到kubuntu-plasma5-desktop软件包

我正按照这些说明尝试在Kubuntu 14.04 amd64上安装kubuntu-plasma5-desktop sudo apt-add-repository ppa:neon/kf5 sudo apt update sudo apt install project-neon5-session project-neon5-utils project-neon5-konsole sudo apt-add-repository ppa:kubuntu-ppa/next sudo apt-add-repository ppa:ci-train-ppa-service/landing-005 sudo apt update sudo apt install kubuntu-plasma5-desktop 无法找到包kubuntu-plasma5-desktop 我该如何解决这个错误?

在哪里可以找到旧版不受支持的版本的存储库?

我记得我在一个包含较旧发行版的地方看到了一个合适的镜像,但我再也找不到它了。 有谁知道在哪里找到它?

更新存储库不起作用

当我运行sudo apt-get update获取此输出时: sudo apt-get update E: Type ‘<!DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list E: The list of sources could not be read. Ubuntu软件中心也没有开通。