The Apt-Preferences Manual
You can find your apt-preference under /etc/apt/preferences
Debian installs do not come with a apt-preferences file.
To make apt-preference file:
sudo touch /etc/apt/preferences
My Apt Pining File -
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300
Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 100
Package: *
Pin: release o=Debian
Pin-Priority: -1
To Install packages from other repositories:
sudo apt-get install
- tries to install package trying to use the default (in my case testing) dependencies
sudo apt-get -t unstable install PACKAGE NAME
- installs the package using dependencies from unstable
*Replace unstable with experimental to install packages from Debian's experimental repository
No comments:
Post a Comment