Setting debian default version in apt.conf
This is a very clear and concise statement on how to achieve a mixed level Debian system, sorry but I forgot to get the URL this quote came from, and I can't find it again, if you have it, I'd like to properly atrribute it, but here is the information, which is quite clear:
:: Quote :: I believe its not unusual to run mixed systems. It is indeed very
easy to do, though not necessarily obvious. The key is in the file: /etc/apt/apt.conf (created by the root user if needed). Mine contains: APT::Default-Release "stable"; and my /etc/apt/sources.list contains stable, testing, unstable, experimental and debian-multimedia. Because the default release is specified as "stable" I can run apt-get upgrade or even dist-upgrade and my system never adds or upgrades to packages from non-stable unless I explicitly choose to do so, either by apt-get install / or apt-get -t install i.e. apt-get install perl/unstable would attempt to install perl from unstable and meet any dependencies from stable while apt-get -t unstable install perl would install perl and any dependencies from unstable. One line of text is all it takes. Nice article here as well: forums.debian.net/viewtopic.php?t=15612&postdays=0&postorder=asc&start=0 More on pinning here: www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-pin Also, as damentz notes, prior to this reset of default, you might want to do this: :: Code :: in /etc/apt/preferences
set testing to priority of 1001 like so: Package: * Pin: release a=testing Pin-Priority: 1001 then do apt-get dist-upgrade and everything gets downgraded to testing. Back to top |
All times are GMT - 8 Hours |