[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrade to Wheezy fails with aptitude

On Wed, 21 Mar 2012 11:01:38 +0100, Pierre Frenkiel wrote:

> I wanted to upgrade from Squeeze to Wheezy, and as I saw in several
> places that aptitude should be preferred to apt-get,  

The advice on what to use seems to change from time to time :-)

> I first tried with it. I started with only 1 line in sources.list:
>      deb http://ftp.fr.debian.org/debian/ wheezy main contrib non-free
> and tried several times  "aptitude safe-upgrade" Each time, aptitude
> stayed indefinitely on "resolving dependencies" and did nothing else.
> I then issued: "apt-get dist-upgrade", and all worked perfectly, in less
> than 30 minutes.

This is worth reading:

> My question: is it better to also revert to apt-get for package
> management, or is the problem specific to the upgrade to a new release?

I'd say: use whatever works better every time.

I have not faced any problem in stable/oldstable releases when using 
official repos and "apt-get dist-upgrade". Never. A different thing could 
be using external and third-party repositories over a testing/sid 
distribution. In such scenario there can be times in which aptitude can be 
of help.



Reply to: