Howto: Set up and Maintain a Mixed Testing/Unstable System

Share your own howto's etc. Not for support questions!

didi...

Postby El1iP3S01D » 2009-03-06 05:28

thanks for your response sweetie!!!
By the way, Ryoko my Turtle and Saleen s7 TT rule my world...:-p
User avatar
El1iP3S01D
 
Posts: 210
Joined: 2008-04-03 06:49
Location: Bklyn, NY

Postby cb474 » 2009-03-13 03:00

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.
cb474
 
Posts: 152
Joined: 2007-11-15 09:48

Postby Qew » 2009-03-13 03:12

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.
User avatar
Qew
 
Posts: 261
Joined: 2007-04-26 14:45

Postby cb474 » 2009-03-13 03:39

Thanks for the super-fast response. I already have a mixed testing/unstable system, from following this guide a long time ago. But I'm having some totally weird problems and thinking maybe I've just got to reinstall (sadly a first for me with Debian).
cb474
 
Posts: 152
Joined: 2007-11-15 09:48

Postby Morticia » 2009-04-06 17:56

Thank you for this easy to follow and well explained how-to rickh.

8)
What you know is boring, embrace what you don't know.
User avatar
Morticia
 
Posts: 56
Joined: 2008-05-07 15:47
Location: Lost in the ozone

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby PingFloyd » 2009-04-25 15:38

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
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:


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)

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


note: this is just by setting setting /etc/apt/apt.conf to:
APT::Default-Release "testing";


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.

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.
PingFloyd
 
Posts: 24
Joined: 2006-10-05 23:17

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby roooz » 2009-10-07 08:55

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.
roooz
 
Posts: 143
Joined: 2008-07-27 21:01

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby Coco » 2010-02-10 15:52

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.


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?
"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
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby debil » 2010-02-10 20:52

Coco wrote:
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.


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?

Nope. Works well here.

$ cat /etc/apt/apt.conf
Code: Select all
APT::Default-Release "testing";


$ cat /etc/apt/preferences
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


$ cat /etc/apt/sources.list
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.
User avatar
debil
 
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby Coco » 2010-02-10 23:21

debil wrote:
Coco wrote:
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.


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?

Nope. Works well here.

$ cat /etc/apt/apt.conf
Code: Select all
APT::Default-Release "testing";


$ cat /etc/apt/preferences
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


$ cat /etc/apt/sources.list
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
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby debil » 2010-02-11 09:18

Coco wrote:Thanks! I'll go ahead with it then. The geek in me got bored with Testing!

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.
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
User avatar
debil
 
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby Coco » 2010-02-11 23:33

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
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby debil » 2010-02-12 10:17

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.
User avatar
debil
 
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby Burt » 2010-03-17 20:19

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 :

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)


any ideas?
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: Howto: Set up and Maintain a Mixed Testing/Unstable System

Postby bugsbunny » 2010-03-17 21:09

Post your entire sources.list
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable