Crunchbang/Debian apt-首选项

Crunchbang/Debian apt-首选项

所以我确实设法设置了 apt-preferences 但我不确定我是否做得正确。所以基本上我想要的是,如果我有需要,我想安装来自 TESTING、UNSTABLE 和 DEB-MULTIMEDIA 的软件包,并且(仅)这些软件包也从特定的 Repo 获取更新。但作为“基础”,我想要稳定版本。如果有人可以检查我的设置是否正确,那就太好了,因为我不太确定引脚优先级是如何工作的......

所以这是我的来源列表

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
#deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN-STABLE
deb http://ftp.cz.debian.org/debian stable main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN-BACKPORTS
deb http://http.debian.net/debian wheezy-backports main contrib non-free

## DEBIAN-TESTING
deb http://ftp.cz.debian.org/debian testing main contrib non-free

## DEBIAN-UNSTABLE
deb http://ftp.cz.debian.org/debian unstable main contrib non-free

## DEBIAN MULTIMEDIA
#deb http://www.deb-multimedia.org wheezy main non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main contrib
#deb-src http://security.debian.org/ wheezy/updates main

和我的倾向/偏好

Package: *
Pin: release a=waldorf
Pin-Priority: 1001

Package: *
Pin: release a=stable
Pin-Priority: 800

Package: *
Pin: release a=wheezy-backports
Pin-Priority: 650

Package: *
Pin: release a=testing
Pin-Priority: 400

Package: *
Pin: release a=unstable
Pin-Priority: 90

Package: *
Pin: origin *.deb-multimedia.org
Pin-Priority: 10

相关内容