LinuxQuestions.org
Register a domain and help support LQ
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 05-07-2009, 08:52 AM   #1
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
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.

Last edited by Telemachos; 05-07-2009 at 09:28 PM.
 
Old 05-07-2009, 09:01 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
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.

Last edited by the trooper; 05-07-2009 at 10:35 AM.
 
Old 05-07-2009, 09:05 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
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#
 
Old 05-07-2009, 09:11 AM   #4
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by repo View Post
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.
 
Old 05-07-2009, 10:12 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
I, for one, read the message and decided to hold off on the upgrade.
 
Old 05-07-2009, 06:41 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
safe-upgrade worked fine today, pure squeeze. No wanting to remove aptitude.
 
Old 05-07-2009, 09:28 PM   #7
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by AlucardZero View Post
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.
 
Old 05-07-2009, 11:52 PM   #8
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by AlucardZero View Post
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
 
Old 05-08-2009, 07:28 AM   #9
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

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


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
Can't boot after apt-update / apt-upgrade ozymandias Debian 2 09-06-2008 10:31 AM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 08:47 AM
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 08:49 AM
Question about 'apt-get upgrade' versus 'apt-get install' eur0dad Red Hat 8 07-16-2006 06:41 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 09:19 PM


All times are GMT -5. The time now is 04:22 PM.

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