In <f437ec30904281645v36762c24n6ad66abc85459...@mail.gmail.com>, Matteo Riva wrote: >Hello everybody. I have been using Debian for a while, I had an old >system which went through many dist upgrades and I always played with >testing and unstable stuff, even before I actually knew what I was >doing. > >Now since I'm running a fresh and "clean" Lenny install I'm here >to ask what is the correct way to handle packages from the testing >branch, in case I want to use a newer version of some software (namely >xfce in this specific case). > >Do I have to do a full dist-upgrade or can I just mix packages from >stable and testing branches?
I prefer a mixed system although upgrading/installing packages gets a bit more complex, because there are more often conflicts that are best resolved manually. Here's my setup-- sources.list: # Debian deb http://127.0.0.1:9999/debian stable main contrib non-free deb-src http://127.0.0.1:9999/debian stable main contrib non-free deb http://127.0.0.1:9999/debian testing main contrib non-free deb-src http://127.0.0.1:9999/debian testing main contrib non-free deb http://127.0.0.1:9999/debian unstable main contrib non-free deb-src http://127.0.0.1:9999/debian unstable main contrib non-free deb http://127.0.0.1:9999/debian experimental main contrib non-free deb-src http://127.0.0.1:9999/debian experimental main contrib non-free # Security deb http://127.0.0.1:9999/debian-security stable/updates main contrib non-free deb-src http://127.0.0.1:9999/debian-security stable/updates main contrib non-free deb http://127.0.0.1:9999/debian-security testing/updates main contrib non-free deb-src http://127.0.0.1:9999/debian-security testing/updates main contrib non-free # Volatile deb http://127.0.0.1:9999/debian-volatile stable/volatile main contrib non-free deb-src http://127.0.0.1:9999/debian-volatile stable/volatile main contrib non-free # Backports deb http://127.0.0.1:9999/debian-backports lenny-backports main contrib non-free deb-src http://127.0.0.1:9999/debian-backports lenny-backports main contrib non-free # Multimedia deb http://127.0.0.1:9999/debian-multimedia stable main deb-src http://127.0.0.1:9999/debian-multimedia stable main deb http://127.0.0.1:9999/debian-multimedia testing main deb-src http://127.0.0.1:9999/debian-multimedia testing main deb http://127.0.0.1:9999/debian-multimedia unstable main deb-src http://127.0.0.1:9999/debian-multimedia unstable main deb http://127.0.0.1:9999/debian-multimedia experimental main deb-src http://127.0.0.1:9999/debian-multimedia experimental main That only makes sense once you see my /etc/approx/approx.conf: # Here are some examples of remote repository mappings. # See http://www.debian.org/mirror/list for mirror sites. debian http://ftp.us.debian.org/debian debian-security http://security.debian.org/debian-security debian-volatile http://volatile.debian.org/debian-volatile debian-backports http://www.backports.org/debian debian-multimedia http://www.debian-multimedia.org/ # The following are the default parameter values, so there is # no need to uncomment them unless you want a different value. # See approx.conf(5) for details. $interface lo #$port 9999 $max_wait 30 #$max_rate unlimited #$user approx #$group approx #$syslog daemon #$pdiffs true #$verbose false #$debug false /etc/apt/preferences: Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release a=lenny-backports Pin-Priority: 800 Package: * Pin: release a=testing Pin-Priority: 700 Package: * Pin: release a=unstable Pin-Priority: 500 Package: * Pin: release a=experimental Pin-Priority: 300 /etc/apt/apt.conf.d/99local: APT::Default-Release "lenny"; Aptitude { Recommends-Important "false"; Keep-Recommends "true"; Keep-Suggests "true"; }; APT::Periodic { Update-Package-Lists 1; Download-Upgradeable-Packages 1; AutocleanInterval 7; } Any questions? Ask away. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
signature.asc
Description: This is a digitally signed message part.