[SOLVED] stable-backports distribution spec not known to backports.debian.org
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
//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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.