LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to install the "packages that have been held back" when doing "apt-get upgrade&qu (https://www.linuxquestions.org/questions/debian-26/how-to-install-the-packages-that-have-been-held-back-when-doing-apt-get-upgrade-and-qu-198188/)

zero79 06-27-2004 12:20 AM

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.

reddazz 06-27-2004 04:27 AM

apt
 
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.

zero79 06-27-2004 10:44 AM

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.

thanks

zuralin 06-27-2004 11:00 AM

apt-get dist-upgrade

mysterio 06-27-2004 08:14 PM

Or aptitude dist-upgrade:cool:

blindgren 06-27-2004 08:19 PM

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.


All times are GMT -5. The time now is 09:38 PM.