LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Upgraded to Wheezy; Now what with the repositories? (http://www.linuxquestions.org/questions/debian-26/upgraded-to-wheezy%3B-now-what-with-the-repositories-895978/)

feeblebrain 08-06-2011 08:17 PM

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


Dutch Master 08-06-2011 09:07 PM

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

widget 08-06-2011 10:10 PM

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.

feeblebrain 08-06-2011 11:46 PM

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.

cynwulf 08-08-2011 06:46 AM

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.

jdkaye 08-08-2011 07:14 AM

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

widget 08-08-2011 11:56 AM

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.

the trooper 08-09-2011 08:27 AM

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


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