Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-15-2007, 02:22 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 25

Rep: Reputation: 0
Aptitude -- Packages being held back

Today I went to install a package using aptitude.
When I hit the "g" key to get the review of what aptitude will install, there was a considerable list of packages shown under the heading of Packages being held back.
The explanation in the lower part of the screen states that these packages could be upgraded but won't be because I've requested them to remain at there current version.

The problem is, It's my box and I have made no such request.
Is this the normal behavior of aptitude?

Naturally all of the packages are listed as installed. Most, but not all, also have an A tag, which, if I'm not mistaken, indicates it was installed as a dependency. All are also tagged with a U, which I thought meant to upgrade that package but obviously I'm wrong.

Could somebody please explain this behavior?

I realize all I have to do is select the heading and press the + to have the packages upgraded but I'd like to understand why the system believes I've issued the hold command.
Old 02-15-2007, 04:28 PM   #2
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
They won't upgrade simply because you're installing a specific package. If you want to upgrade all the packages already on your system "aptitude upgrade." If you want to upgrade everything to the current version of the default installation "aptitude dist-upgrade." Don't forget to "aptitude update" first.

Also these instructions are for using aptitude from the command line. I never have bothered to figure out the ncurses interface.
Old 02-19-2007, 12:18 AM   #3
Registered: Jun 2006
Posts: 94

Rep: Reputation: 16
here's one way you can change their status.

Probably should read this as well and see if it's the cause.

Pinning not being set up right might be behind your issues. I would make sure that is set up correctly first. If it is, then you could follow those instruction for using dpkg to change the status of the packages you don't want held. Assuming they're marked as held and that is the problem.


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
proftpd held back for months, why? tethead Debian 2 08-30-2006 10:26 AM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
Reason for packages being held back Whitman Debian 7 07-23-2004 06:54 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM
apt-get held back Redbone981sl Linux - Software 3 01-03-2004 03:00 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration