LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-29-2012, 12:59 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
stable-backports distribution spec not known to backports.debian.org


In my sources.list, I have all of my distribution targets specified as "stable." Note: I don't want "squeeze", I just want whatever is "stable" at a given time. Today that's squeeze, but when 7.0 happens, I just want to roll over.

Anyway, all of the repositories support the stable spec, but backports.debian.org does not. 1m $ q: why?


Code:
deb http://backports.debian.org/debian-backports stable-backports main contrib non-free
deb-src http://backports.debian.org/debian-backports stable-backports main contrib non-free
Code:
sudo aptitude update
...

W: Conflicting distribution: http://backports.debian.org stable-backports Release (expected stable-backports but got squeeze-backports)
...
 
Old 05-30-2012, 12:24 AM   #2
BeerIsGood
LQ Newbie
 
Registered: Aug 2005
Location: Emerald, Queensland, Australia
Distribution: Kubuntu => moving => Debian 6
Posts: 27
Blog Entries: 1

Rep: Reputation: 0
Maybe just use "stable"?

You used:
Code:
deb http://backports.debian.org/debian-backports stable-backports main contrib non-free
Should it perhaps be in the format:
Code:
deb http://backports.debian.org/debian-backports stable main contrib non-free
Don't know: just a thought, based on my reading of http://wiki.debian.org/SourcesList
 
Old 05-30-2012, 12:40 AM   #3
BeerIsGood
LQ Newbie
 
Registered: Aug 2005
Location: Emerald, Queensland, Australia
Distribution: Kubuntu => moving => Debian 6
Posts: 27
Blog Entries: 1

Rep: Reputation: 0
backports.debian.org shows stable-backports

I think I'm boxing above my weight. If you go to http://backports.debian.org/debian-backports/dists/ you can see that both squeeze-backports and stable-backports directories exist and appear identical.

Just ignore me.
 
Old 05-30-2012, 03:44 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
It's down to how the backports repo is set up. Something to do with the archive keyring. It should still work - i.e. what you see is a warning not a fatal error. I just tested it here and though I see the warning it still works, i.e. I can update the package listing and install packages...

The question remains however, in why on earth you'd want to use "stable" in your sources? It appears to be based on this incorrect assumption:
Quote:
Originally Posted by jhwilliams View Post
Note: I don't want "squeeze", I just want whatever is "stable" at a given time. Today that's squeeze, but when 7.0 happens, I just want to roll over.
Which is not how it works. Stable releases don't just "roll over" from one release to the next. Using stable in your sources and expecting a seamless upgrade is a good way to achieve a broken system. Only the testing and unstable branches can upgrade in this manner. For stable, the roughly two year step from one release to another is a big step.

But don't take my word for it, read the release notes for Debian Squeeze: http://www.debian.org/releases/squee...inimal-upgrade

//edit: I almost forgot - packages from squeeze-backports won't automatically upgrade anyway - so what you're attempting is largely pointless... You have to specify the target release (-t) to install/upgrade packages.

Last edited by cynwulf; 05-30-2012 at 07:43 AM. Reason: additional info
 
Old 05-30-2012, 01:51 PM   #5
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
caravel gave great advice and I have to second that. leaving you sources.list set to stable is just asking for trouble. When Wheezy becomes stable the internet will be all a buzz with the news. When that happens read the release notes and follow them as close as possible and you still may have problems. So before changing your sources.list to wheezy ASK questions after first reading the release notes.
 
Old 05-30-2012, 02:27 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
backports are built for a particular release, hence squeeze-backports.

BTW as others have already stated you should always use the release names and not "stable".
 
1 members found this post helpful.
Old 05-30-2012, 08:34 PM   #7
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by craigevil View Post
backports are built for a particular release, hence squeeze-backports.
This is the answer that makes the most sense to me. It's possible to imagine that a backported package version could be the primary package version in the next release. That's really what the "testing" alias is for, I suppose.

I do disagree with the other comments about not using "stable". The documentation that you linked suggests to change the sources.list to the new version name, when doing an upgrade. That's exactly what happens in the repository with "stable," when a new release becomes available; the symlink gets changed. Anyway, a distribution upgrade would always be executed by hand and with fore-thinking -- so nobody's breaking any systems. But anyway, I think it's a separate discussion.

Thanks for the responses.

Last edited by jhwilliams; 05-30-2012 at 08:35 PM.
 
Old 05-31-2012, 05:31 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by jhwilliams View Post
I do disagree with the other comments about not using "stable". The documentation that you linked suggests to change the sources.list to the new version name, when doing an upgrade. That's exactly what happens in the repository with "stable," when a new release becomes available; the symlink gets changed. Anyway, a distribution upgrade would always be executed by hand and with fore-thinking -- so nobody's breaking any systems. But anyway, I think it's a separate discussion.
You're free to disagree, but I've seen countless threads where users end up with a broken mess when a new release occurs. They run a normal upgrade or they have their upgrades running as a cron job or attempt to install packages and it pulls in half of the new new release with it...

It's far better to use the release code name. And then plan your upgrade, while sticking with oldstable when the new release arrives. For all you know a certain package or kernel support for a certain piece of your hardware could vanish from a new release - you would need time to prepare for or work around for this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Backports .org release file expired? EDDY1 Debian 5 04-06-2011 12:20 PM
Debian testing v.s. stable+backports eveningsky339 Debian 34 12-13-2010 08:22 AM
The default Lenny kernel, of stable, sucks. Alternatives from backports? frenchn00b Debian 10 03-26-2009 05:37 PM
stable+backports+couple of packages from etch kushalkoolwal Debian 1 03-03-2006 03:15 PM
Firefox 1.5rc3 Sarge is available at backports.org cddesjar Debian 4 12-05-2005 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration