レポジトリの編集

/etc/apt/sources.list

  1. # apt-get install netselect-apt
  2. # netselect-apt stable (testing or unstableなどを指定。デフォルトはstable)
  3. sources.listが生成されるので/etc/apt/sources.listに追加。

/etc/atp/atp.conf

APT::Cache-Limit "100000000";
  • man apt.conf

/etc/atp/preferences

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

Package: *
Pin: release a=testing-proposed-updates
Pin-Priority: 110

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

testingやunstableからパッケージをいれる場合

# aptitude install (パッケージ名)/testing
# aptitude install (パッケージ名)/unstable

仕上げ

# aptitude install update 
# aptitude install upgrade
# aptitude install