如何添加“建议的”存储库?


17

我正在尝试测试已提出的修复程序,或者想自愿测试稳定的发行版更新,然后再将其发布给普通用户,如何启用“建议的”存储库?

Answers:


13

在-建议的存储库上Wiki页面上

要为Ubuntu 11.04启用建议的存档,请转至应用程序→Ubuntu软件中心→编辑→软件源→更新,并确保勾选了建议的内容。

在此处输入图片说明

在此处输入图片说明

这些方向可以很好地映射到最新的Ubuntu版本,例如10.10、10.04、9.10等。


这是来自12.04的最新图片。

在此处输入图片说明

在此处输入图片说明


5

使用命令行

手动添加

具有root权限,请编辑/etc/apt/sources.list

sudo vim /etc/apt/sources.list

然后查找以下行或自行添加:

deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe

(如果您未使用精确版,则可以将其替换为当前版本)

保存文件。然后运行sudo apt-get update并安装要使用的软件包sudo apt-get install package/precise-proposedsudo apt-get -t precise-proposed install package

一班轮

sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe' >> /etc/apt/sources.list.d/proposed-repositories.list"
sudo apt-get update
sudo apt-get -t precise-proposed install some-package

做完了


0

您可以尝试UBUNTU SOURCES.LIST AUTOGENIC GENERATOR:包括可通过Ubuntu自己的GUI使用的所有默认存储库,还可以添加其他流行/有用的PPA,例如wine,virtualbox,tor,playdeb和getdeb,mozilla日常构建,medibuntu等

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.