LinuxQuestions.org
Visit Jeremy's Blog.
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 08-25-2006, 12:45 PM   #1
binister
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian (etch)
Posts: 6

Rep: Reputation: 0
/etc/sources.list: which repositories to include when running non-stable?


I just updated my system from Sarge (stable) to Etch (testing) because I wanted a number of packages found only in the testing distribution.

I did this by changing the /etc/apt/sources.list file as follows, running 'apt-get update' and then 'apt-get dist-upgrade'

(Ignore the incorrect URLs, seems I can't post URLs)
Code:
## DEBIAN SARGE SECURITY UPDATES
deb http:/security.debian.org/ stable/updates main contrib

## DEBIAN ETCH SECURITY UPDATES
deb http:/security.debian.org/ etch/updates main contrib

# DEBIAN MAIN - STABLE
deb http:/ftp.us.debian.org/debian/ sarge main contrib

# DEBIAN MAIN - TESTING
deb http:/ftp.us.debian.org/debian/ etch main contrib
Every ran smoothly but I am wondering, do I still need to keep the stable/updates and sarge lines in there?

In other words...

1. Are security updates that are applied to the stable repos. also applied to the etch repos.? Is having both of those lines in there redundant?

2. Should I keep the 'DEBIAN MAIN - STABLE' line in there? If so, why if I am running etch? Would a package update ever occur in stable before it is applied in testing?

Thanks.

Last edited by binister; 08-25-2006 at 12:50 PM.
 
Old 08-25-2006, 12:53 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,747

Rep: Reputation: 131Reputation: 131
Not sure about the Etch security as I just watch the debian-security-announce mailing list and get the updated packages from unstable but for sure you don't need the lines for stable in the sources.list you will never want packages from there anymore.
 
Old 08-25-2006, 12:55 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Personally, I never run mixed repositories. If you do, you need to use something called apt-pinning, which you can google about. I would just comment out the sarge lines and just use etch.

Just out of curiosity, did you have any problems with your dist-upgrade? I had a weird issue where gconf2 wouldn't install. I ended up having to purge it and run deborphan before reinstalling it.
 
Old 08-25-2006, 01:19 PM   #4
binister
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian (etch)
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
Personally, I never run mixed repositories. If you do, you need to use something called apt-pinning, which you can google about. I would just comment out the sarge lines and just use etch.

Just out of curiosity, did you have any problems with your dist-upgrade? I had a weird issue where gconf2 wouldn't install. I ended up having to purge it and run deborphan before reinstalling it.
I don't have gconf2 installed as I am not using a desktop manager. But to answer your question, nope no problems on my dist-upgrade.

Thanks for the replies... So if I have been running a "mixed" system how do I go about making the full jump to etch? Will commenting out the sarge lines and doing another apt-get upgrade work?

Also, I really only wanted to use etch because I needed access to the mediawiki package for my server. Was it a bad idea to jump to etch completely?
 
Old 08-25-2006, 01:32 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by binister
Thanks for the replies... So if I have been running a "mixed" system how do I go about making the full jump to etch? Will commenting out the sarge lines and doing another apt-get upgrade work?

Also, I really only wanted to use etch because I needed access to the mediawiki package for my server. Was it a bad idea to jump to etch completely?
Comment out the sarge lines and then do an aptitude update to remove the Sarge repos from the cache and aptitude dist-upgrade (or apt-get dist-upgrade). That should do the trick.

As for jumping to etch completely, usually it's a matter of how stable you need your server. If it's a home box that you're okay with a few minor glitches on occasion, then it's no big deal. If it's a production server that can't suffer any instability at all, you may have jumped prematurely. Usually, production servers running stable try to get newer packages from backports.org if they exist.

But realize that Debian testing branch is more stable than most desktop distros and most packages have been tested thoroughly for more than a month before going into testing. But occasionally you might run into a hiccup... Of course, testing should be frozen soon since etch is set for release this december. Once it's frozen, I believe the only thing going on is bug squashing...
 
Old 08-31-2006, 01:16 AM   #6
binister
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian (etch)
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the help! That worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Fedora Core 5 Repositories list verlossen Fedora 1 04-27-2006 05:18 AM
repositories list problems blastradius Ubuntu 1 10-25-2005 06:33 AM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
List of official Debian repositories - where? Sslaxx Debian 7 11-18-2004 03:29 PM

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

All times are GMT -5. The time now is 12:57 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