所以我確實設法設置了 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