[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

A mixed stable/testing system



Hello,

Does anyone have succeed to use the
APT::Default-Release
option in /etc/apt/apt.conf?

I would like to keep a mixed system stable/testing. The documentation tell to add an 
entry to both stable and testing in /etc/sources.list and to add

APT::Default-Release "stable";

in /etc/apt/apt.conf.

However, when I do that the system seems to ignore the 
/etc/apt/apt.conf file and always want to upgrade all packages to testing.

If anyone know the solution, could he/she gives me his "/etc/apt/sources.list" 
and his "/etc/apt/apt.conf" so that I can see how to do it.

Remark: I have the stable distribution on the official CD's. In the official CD's there is a "testing" and "unstable"
entry which point to "woody" (?!?).  This cause the /"etc/apt/sources.list" file to have
an entry for "unstable" although it refer to stable.
After a hack; I have succeed to have this in my /etc/apt/sources.list file:


deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-7 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-6 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-5 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-4 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-3 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-2 (20020718)]/ stable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 (20020718)]/ stable contrib main non-US/contrib non-US/main

(The hack consists to symlinking the whole CD to the hard disk; removing the bad links and making
apt-cdrom believes that the directory with the links is the cdrom device)

Thank you to the want who can help me!



Reply to: