HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   apt-get upgrade files kept back - debian (http://www.howtoforge.com/forums/showthread.php?t=46369)

Toucan 5th June 2010 21:09

apt-get upgrade files kept back - debian
 
Yesterday I encountered a problem of files being kept back and not upgraded during an apt-get upgrade on debian lenny. The files were bind related.

The following command solved the problem enforcing dependencies to be upgraded also:

apt-get -o Debug::pkgProblemResolver=yes dist-upgrade


Probably bread and butter advice for most debian users, but will hopefully help someone else like me.

damir 5th June 2010 22:49

Just type following command:

apt-get dist-upgrade

That will install kept-back updates. The reason is that updates need dependencies that are not installed on system and therefore apt-get upgrade doesn't work. apt-get upgrade only works for installed software.

Toucan 5th June 2010 23:52

Well, I was almost there ;) thanks

DaRKNeSS666NL 15th June 2010 18:19

Quote:

Originally Posted by damir (Post 230344)
Just type following command:

apt-get dist-upgrade

That will install kept-back updates. The reason is that updates need dependencies that are not installed on system and therefore apt-get upgrade doesn't work. apt-get upgrade only works for installed software.

Probably a stupid question from my side, but can I do this with the perfect setup Debian lenny witout any problem?

I mean I think the software is installed not on purpose I guess. So won't I mess things up even ISPC3 is reporting the updates?

damir 15th June 2010 19:49

Quote:

Originally Posted by DaRKNeSS666NL (Post 231228)
Probably a stupid question from my side, but can I do this with the perfect setup Debian lenny witout any problem?

I mean I think the software is installed not on purpose I guess. So won't I mess things up even ISPC3 is reporting the updates?

I have done update on all my ISPC3 Debian Lenny servers and all went smooth as always with Debians apt-get :)


All times are GMT +2. The time now is 15:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.