LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-06-2011, 08:17 PM   #1
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Rep: Reputation: 0
Upgraded to Wheezy; Now what with the repositories?


Hello,

Had the day off and decided to include the testing repositories in my sources.list to upgrade to Wheezy, but now have these two questions;

Would the safest thing now be to exclude the stable / squeeze repositories from my sources list and just stick with the testing ones (ie; untill wheezy becomes the "stable one)?

What would you recommend? (yes, I did set /etc/apt/preferences to prioritize squeeze, BTW, which would also be part of the question. Should I now prioritize testing?)

I know it sounds noobish to ask, but that's what I am!

Here's my sources.list, anyway, as is;

Code:
## Debian security updates:
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

## Debian.org:
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

## Debian US mirror:
deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free

## WINE
deb http://www.lamaresh.net/apt squeeze main

## SKYPE
deb http://download.skype.com/linux/repos/debian/ stable non-free

## Google
deb http://dl.google.com/linux/deb/ stable non-free

## Multimedia stable
deb http://www.debian-multimedia.org stable main non-free
deb-src http://www.debian-multimedia.org stable main non-free

#This one was working, so I am leaving it be...
deb http://ftp.br.debian.org/debian-multimedia stable main
deb-src http://ftp.br.debian.org/debian-multimedia stable main

## Debian Multimedia squeeze:
deb http://mirror.home-dn.net/debian-multimedia squeeze main non-free
deb-src http://mirror.home-dn.net/debian-multimedia squeeze main non-free 

################################################################
##TESTING
## Debian.org testing:
deb ftp://ftp.debian.org/debian testing main contrib non-free
deb-src ftp://ftp.debian.org/debian testing main contrib non-free

## Debian Multimedia testing:
deb http://mirror.home-dn.net/debian-multimedia testing main
deb-src http://mirror.home-dn.net/debian-multimedia testing main
 
Old 08-06-2011, 09:07 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,674

Rep: Reputation: 122Reputation: 122
Copy the sources.list to a backup file (like: cp sources.list sources.list.bak) then comment out all lines referring to squeeze and/or adjust said lines to get the appropriate packages from Testing in the original file. Do the required apt* update && apt* dist-upgrade and you should see the system working its way towards a full Testing.

(apt* means either apt-get or aptitude, whatever you prefer )

My
 
Old 08-06-2011, 10:10 PM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,205

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
You have all the repos you need under your testing header. There is no sense in having stable repos enabled at all.

Apt-get is the recommended way to upgrade since Squeeze was released. Aptitude is not going to mess anything up though.

Aptitude has always been the recommended upgrade tool and I have always used apt-get because I like it better. Never had any problems.

I suspect the same would be true now of Aptitude.

You will see the difference in package versions between stable and testing and realize that the stable repo is of no use to you. You do have a big upgrade/dist-upgrade headed your way. Having weird things in your sources list is not going to help dpkg get the upgrade straight.

Do not mess with what is the "favored" version. Just one versions repo. Any thing else can wait until you have an upgraded OS.
 
Old 08-06-2011, 11:46 PM   #4
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Advice taken, thanks. Only the repositories under TESTING heading were kept, plus I added one (well two, technically, I suppose) additional repsoitory, as it did not seem to complain when tried. This is despite my being led to believe there are no security updates for testing (?)

Code:
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
Indeed, it was a big apt-get dist-upgrade. It has all gone without major problems (so far). I am happy. Thanks again.

Last edited by feeblebrain; 08-06-2011 at 11:55 PM.
 
Old 08-08-2011, 06:46 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, FreeBSD
Posts: 1,269

Rep: Reputation: Disabled
You can comment those two out. They will be used when wheezy goes stable, not until then.

You also don't need to keep deb-src lines active all the time - comment them out until needed.
 
Old 08-08-2011, 07:14 AM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,591

Rep: Reputation: Disabled
Quote:
(yes, I did set /etc/apt/preferences to prioritize squeeze, BTW, which would also be part of the question. Should I now prioritize testing?)
If I understand what you're trying to do now, I don't think you need a preferences file any more unless you want to do some alt-pinning with unstable (sid).
ciao,
jdk

Last edited by jdkaye; 08-08-2011 at 11:22 PM.
 
Old 08-08-2011, 11:56 AM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,205

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Security updates in Testing and Sid are handled by the package maintainers not the security folks. That is why those repos do not exist in Testing or Sid.
 
Old 08-09-2011, 08:27 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
I would *not* comment out the security entries.
They are used occasionally if a bug of sufficient severity is found.
I have seen this happen myself running Testing.
There is no security entry used for Unstable.

http://www.debian.org/security/faq#testing

Last edited by the trooper; 08-09-2011 at 08:38 AM.
 
  


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
[SOLVED] Wheezy-- no wireless eveningsky339 Debian 16 11-04-2011 01:21 PM
[SOLVED] wheezy backports? cccc Debian 2 06-05-2011 08:37 PM
[SOLVED] wheezy kernel panic (2.6.32) kaz2100 Debian 3 04-05-2011 08:06 PM
Good Morning Wheezy jdkaye Debian 1 02-07-2011 08:31 AM
Info: Debian Wheezy on the way jdkaye Debian 14 09-17-2010 09:36 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration