Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Howto: Set up and Maintain a Mixed Testing/Unstable System
- El1iP3S01D
- Posts: 210
- Joined: 2008-04-03 06:49
- Location: Bklyn, NY
didi...
thanks for your response sweetie!!!
By the way, Ryoko my Turtle and Saleen s7 TT rule my world...:-p
Would using this method be an okay way to upgrade from Lenny to testing? The installer for testing is broken right now (won't detect hard drives). Is there any reason to prefer to wait until the installer is fixed? Or should it be the same to install Lenny and then upgrade to testing, via this method? Thanks.
Surely you would just install Lenny, then change your sources.list file to either testing or squeeze, then do a dist-upgrade. This topic's method is more for those who want to have a mixed system, not upgrade to a another version.
So, install Lenny if you haven't already got it. Then change "/etc/apt/sources.list" so that all references to Lenny or Stable are now "squeeze" or "testing" (no quotes). Then do an "aptitude update && aptitude safe-upgrade", then after that, an "aptitude full-upgrade". You'll now have Squeeze/Testing on your machine, and you can use the method in this topic to make a mixed Testing/Unstable system, if you so desire.
So, install Lenny if you haven't already got it. Then change "/etc/apt/sources.list" so that all references to Lenny or Stable are now "squeeze" or "testing" (no quotes). Then do an "aptitude update && aptitude safe-upgrade", then after that, an "aptitude full-upgrade". You'll now have Squeeze/Testing on your machine, and you can use the method in this topic to make a mixed Testing/Unstable system, if you so desire.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
I suppose I'm a little late in this discussion, but here is something I came acrossed today.
here's my apt-cache policy output
Just wanted to share this, and thanks for posting the how-to. Running mixed releases has always been one of those things that is there is a lot of different ideas about how to "do it the right way". I think it is great this thread is having this discussion so we can figure out what the best formula for success is in running a mixed-system.
here's my apt-cache policy output
Here is output from apt-show-versions -u (which by the way, is a great way to find out which packages aptitude is going to want to upgrade along with from which release)Package files:
100 /var/lib/dpkg/status
release a=now
500 http://mirrors.kernel.org unstable/non-free Packages
release o=Debian,a=unstable,l=Debian,c=non-free
origin mirrors.kernel.org
500 http://mirrors.kernel.org unstable/contrib Packages
release o=Debian,a=unstable,l=Debian,c=contrib
origin mirrors.kernel.org
500 http://mirrors.kernel.org unstable/main Packages
release o=Debian,a=unstable,l=Debian,c=main
origin mirrors.kernel.org
990 http://mirrors.kernel.org testing/non-free Packages
release o=Debian,a=testing,l=Debian,c=non-free
origin mirrors.kernel.org
990 http://mirrors.kernel.org testing/contrib Packages
release o=Debian,a=testing,l=Debian,c=contrib
origin mirrors.kernel.org
990 http://mirrors.kernel.org testing/main Packages
release o=Debian,a=testing,l=Debian,c=main
origin mirrors.kernel.org
Pinned packages:
note: this is just by setting setting /etc/apt/apt.conf to:libcups2/unstable upgradeable from 1.3.8-1lenny5 to 1.3.10-1
libcupsimage2/unstable upgradeable from 1.3.8-1lenny5 to 1.3.10-1
I thought it was odd that it wanted to upgrade the libcups* packages on it own when I was doing an "aptitude upgrade". That was when it double-checked the apt-cache policy and apt-show-versions -u above. So this seems to back the notion that pinning may be a requirement to keep packages from moving up to unstable on their own. I'm not sure why tons more packages don't want to upgrade to stable though. This was all checked right after changing to the sources.list and apt.conf to support stable. So there is no unstable packages installed at this point bringing in any dependencies.APT::Default-Release "testing";
Just wanted to share this, and thanks for posting the how-to. Running mixed releases has always been one of those things that is there is a lot of different ideas about how to "do it the right way". I think it is great this thread is having this discussion so we can figure out what the best formula for success is in running a mixed-system.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
I use this system for a while now, and I like it.
But in the last month the /etc/apt/apt.conf APT::Default-Release "testing";
Is not working always. Some weeks ago, I wanted to upgrade and the system tried to upgrade to full unstable. I dropped the unstable line out, and after some days I tried it again, and /etc/apt/apt.conf did work.
But this morning that system fails again.
But in the last month the /etc/apt/apt.conf APT::Default-Release "testing";
Is not working always. Some weeks ago, I wanted to upgrade and the system tried to upgrade to full unstable. I dropped the unstable line out, and after some days I tried it again, and /etc/apt/apt.conf did work.
But this morning that system fails again.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
Well, that sucks. I was thinking of doing this. I even put the unstable repos in my sources.list. I guess I'll be commenting it out for the time being. Anybody have the same problem as roooz?roooz wrote:I use this system for a while now, and I like it.
But in the last month the /etc/apt/apt.conf APT::Default-Release "testing";
Is not working always. Some weeks ago, I wanted to upgrade and the system tried to upgrade to full unstable. I dropped the unstable line out, and after some days I tried it again, and /etc/apt/apt.conf did work.
But this morning that system fails again.
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman
My Libre.fm profile
My Libre.fm profile
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
Nope. Works well here.Coco wrote:Well, that sucks. I was thinking of doing this. I even put the unstable repos in my sources.list. I guess I'll be commenting it out for the time being. Anybody have the same problem as roooz?roooz wrote:I use this system for a while now, and I like it.
But in the last month the /etc/apt/apt.conf APT::Default-Release "testing";
Is not working always. Some weeks ago, I wanted to upgrade and the system tried to upgrade to full unstable. I dropped the unstable line out, and after some days I tried it again, and /etc/apt/apt.conf did work.
But this morning that system fails again.
$ cat /etc/apt/apt.conf
Code: Select all
APT::Default-Release "testing";
Code: Select all
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
Pin-Priority: -1
Code: Select all
deb http://ftp.fi.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://www.debian-multimedia.org/ squeeze main
deb http://ftp.fi.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ sid main contrib non-free
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
A: It was made in the image of its founder.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
debil wrote:Nope. Works well here.Coco wrote:Well, that sucks. I was thinking of doing this. I even put the unstable repos in my sources.list. I guess I'll be commenting it out for the time being. Anybody have the same problem as roooz?roooz wrote:I use this system for a while now, and I like it.
But in the last month the /etc/apt/apt.conf APT::Default-Release "testing";
Is not working always. Some weeks ago, I wanted to upgrade and the system tried to upgrade to full unstable. I dropped the unstable line out, and after some days I tried it again, and /etc/apt/apt.conf did work.
But this morning that system fails again.
$ cat /etc/apt/apt.conf$ cat /etc/apt/preferencesCode: Select all
APT::Default-Release "testing";
$ cat /etc/apt/sources.listCode: Select all
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 Pin-Priority: -1
Code: Select all
deb http://ftp.fi.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.fi.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://www.debian-multimedia.org/ squeeze main deb http://ftp.fi.debian.org/debian/ sid main contrib non-free deb-src http://ftp.fi.debian.org/debian/ sid main contrib non-free
Thanks! I'll go ahead with it then. The geek in me got bored with Testing!
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman
My Libre.fm profile
My Libre.fm profile
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
I'd say go. For example, right now I have only one package from sid installed. It helps if you really need a fresher version of some app but it also helps solving possible conflict/dependency issues when upgrading.Coco wrote:Thanks! I'll go ahead with it then. The geek in me got bored with Testing!
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
A: It was made in the image of its founder.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
Success! Seems to be working pretty well. Thanks again. Pulled in the new transmission and midori from Sid without any probs.
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman
My Libre.fm profile
My Libre.fm profile
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
Glad it worked. Thanks transmitted metaphysically to OP.
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
A: It was made in the image of its founder.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
i tried this, as i'd set up my sources.list all wrong, mixing etch with unstable and testing. to cut a long story short im still quite newby to linux so this may seem like a silly problem....after mixing the testing and unstable sources.list like in page one of this thread i know how have an error when i do an apt-get update :
any ideas?
Code: Select all
W: Duplicate sources.list entry http://www.debian-multimedia.org testing/main Packages (/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://www.debian-multimedia.org testing/main Translation-en_GB (/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_main_i18n_Translation-en%5fGB)
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
here ya go :
Code: Select all
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 DVD Binary-1 #20100125-08:31]/ squeeze contrib main
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 DVD Binary-1 #20100125-08:31]/ squeeze contrib main
# deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
# deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
# deb http://security.debian.org/ squeeze/updates main contrib non-free
# deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
#deb ftp://ftp.debian-multimedia.org/ testing main
deb http://www.debian-multimedia.org/ testing main
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org/ testing main
deb http://debian.sur5r.net/minitube/ testing main
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
See if you can spot a duplicate sources.list entry http://www.debian-multimedia.org testing/main in your /etc/apt/sources.list If you spot one, you can safely remove the other similar line.Burt wrote:any ideas?Code: Select all
W: Duplicate sources.list entry http://www.debian-multimedia.org testing/main Packages (/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_main_binary-amd64_Packages) W: Duplicate sources.list entry http://www.debian-multimedia.org testing/main Translation-en_GB (/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_main_i18n_Translation-en%5fGB)
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
A: It was made in the image of its founder.
Re: Howto: Set up and Maintain a Mixed Testing/Unstable System
I don't know what this one is:
deb http://debian.sur5r.net/minitube/ testing main
but, assuming it's legit and should be kept, try this:
I stripped out the commented entries.. You had duplicates for:
deb http://www.debian-multimedia.org/ testing main
I replaced the dup with an entry for "unstable", since I noticed you were had both testing and unstable in the official repos. (Just make sure you have default-release, or pinning, set correctly when both testing and unstable are being used).
I also added non-free to the multimedia line since he's added that to the repo lately.
deb http://debian.sur5r.net/minitube/ testing main
but, assuming it's legit and should be kept, try this:
Code: Select all
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org/ testing main non-free
deb-src http://www.debian-multimedia.org/ testing main non-free
deb http://www.debian-multimedia.org/ unstable main non-free
deb-src http://www.debian-multimedia.org/ unstable main non-free
deb http://debian.sur5r.net/minitube/ testing main
deb http://www.debian-multimedia.org/ testing main
I replaced the dup with an entry for "unstable", since I noticed you were had both testing and unstable in the official repos. (Just make sure you have default-release, or pinning, set correctly when both testing and unstable are being used).
I also added non-free to the multimedia line since he's added that to the repo lately.