Einzelnen Beitrag anzeigen
Alt 08.11.2001, 09:23   #18
TuXuS
Veteran
 
Registriert seit: 18.07.2001
Beiträge: 384


Standard

cool! freut mich das alles so prima hinhaut!
ich muss auch demnächst mein debian mal neu aufsetzen!

apt-get & apt-cache etc. sind schon genial! die neue apt version kann aber noch mehr! -->

Zitat:
Get the latest woody boot-floppies (/debian/dists/woody/main/disks-i386/current), and install woody. Have lines for testing and unstable in your sources.list, and then a line like this in your apt.conf:
APT:efaultRelease "testing";
Now, you will always track testing by default, but you can type apt-get install -t unstable mysql-server, or whatever.
Zitat:
Instead of apt.conf, create a file called /etc/apt/preferences with the following in it:

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

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


This is a priority mechanism described in the man page apt_preferences and the apt howto.

This says that testing will be used by default, and you will be able to install specific packages from unstable by using "apt-get -t unstable install package". And, if you set the pin priority to something bigger than 1000, when you will do apt-get upgrade, it will actually downgrade your system to Woody if you had any packages from unstable. This can be handy to go back to a clean Woody. From that point, you can selectively install packages you want from unstable.
TuXuS ist offline   Mit Zitat antworten