Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-27-2004, 12:20 AM   #1
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
how to install the "packages that have been held back" when doing "apt-get upgrade&qu

Hi everyone,

I'm using Debian Sarge, and when i do an "apt-get upgrade," i notice an ever-increasing list of packages that are "kept back." What causes these packages to be held back? cross-dependencies maybe? do i want them to be installed? a lot of them appear to be gnome packages. if i wanted to install them, what would be the best way to go about it? i've tried using synaptic to "upgrade" packages individually, but when i do that, it appears that apt wants to remove a lot of gnome packages before proceeding. i use gnome as my desktop environment, so i decided not to do that. thanks for your thoughts.
Old 06-27-2004, 04:27 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74

There are several reasons why packages are held back. To find out why a package is being held try to select it manually for upgrade and apt will tell you if it clashes with an already installed package or if it needs some packages on the system similar to itself to be removed before an upgrade/installation is possible. With newer versions of apt you can select smart upgrade and fewer packages are held back.
Old 06-27-2004, 10:44 AM   #3
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
thanks redazz,

i went into synaptic and selected the "upgrade system" icon and selected "smart upgrade" when prompted for the methodology to upgrade, and that upgraded all of the "kept back" packages.

how do i do a "smart upgrade" from the shell? i looked through the apt-get man and couldn't find anything about it. and i did a quick google search, but nothing jumped out right away.


Last edited by zero79; 06-27-2004 at 10:57 AM.
Old 06-27-2004, 11:00 AM   #4
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
apt-get dist-upgrade
Old 06-27-2004, 08:14 PM   #5
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Or aptitude dist-upgrade
Old 06-27-2004, 08:19 PM   #6
LQ Newbie
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Rep: Reputation: 0
You can try apt-cache depends "held back package name" to check the dependencies on the package as well to see if it might interfere with an already installed package.


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
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
How to use synaptic "smart upgrade or "apt-get dist-upgrade" PenguinMolester Ubuntu 2 04-04-2005 02:11 PM
How can I install just one or two packages from another "favor" with apt-get? davidas Debian 3 04-09-2004 06:58 PM

All times are GMT -5. The time now is 10:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration