LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Squeeze users: DO NOT UPGRADE APT!!! (https://www.linuxquestions.org/questions/debian-26/squeeze-users-do-not-upgrade-apt-724384/)

Telemachos 05-07-2009 07:52 AM

Squeeze users: DO NOT UPGRADE APT!!! [Problem solved]
 
Currently, something is very wrong in Debian-land. Do not update apt. If you do, you will end up removing aptitude and Synaptic and I don't know what else. Just say no to the current updates.

See bug notice here for further updates: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527283

Edit: Problem solved.

the trooper 05-07-2009 08:01 AM

Been there already....
Had to pull packages down from Sid to sort the dependencies.
Completely my own fault.
I really must learn to read.......
Got aptitude working again now.

repo 05-07-2009 08:05 AM

if you use aptitude instead of apt-get, it will not install the broken package when you use
Code:

aptitude safe-upgrade
if you use
Code:

aptitude dist-upgrade
it will ask before removing.

In general I wait a few days, and then it will install normally.

Quote:

cannabis:/home/repo# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages have been kept back:
apt apt-utils
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

cannabis:/home/repo#

Telemachos 05-07-2009 08:11 AM

Quote:

Originally Posted by repo (Post 3533321)
if you use
Code:

aptitude dist-upgrade
it will ask before removing.

Right: you always get asked (with apt-get and Synaptic as well, I believe), but I've already seen two posts this morning (at http://forums.debian.net/) by people who didn't read the upgrade questions very carefully. So I figured that I would post a warning.

Nice username.

AlucardZero 05-07-2009 09:12 AM

I, for one, read the message and decided to hold off on the upgrade.

AlucardZero 05-07-2009 05:41 PM

safe-upgrade worked fine today, pure squeeze. No wanting to remove aptitude.

Telemachos 05-07-2009 08:28 PM

Quote:

Originally Posted by AlucardZero (Post 3533915)
safe-upgrade worked fine today, pure squeeze. No wanting to remove aptitude.

Yup, I was just coming to update my post. The problem already seems fixed.

JackieBrown 05-07-2009 10:52 PM

Quote:

Originally Posted by AlucardZero (Post 3533915)
safe-upgrade worked fine today, pure squeeze. No wanting to remove aptitude.

Does safe-upgrade ever remove packages? I always assumed it was equivalent to apt-get upgrade versus dist-upgrade

AlucardZero 05-08-2009 06:28 AM

No, so my post should have said "no mention of packages held back."


All times are GMT -5. The time now is 08:59 PM.