Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th June 2010, 21:09
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default 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:kgProblemResolver=yes dist-upgrade


Probably bread and butter advice for most debian users, but will hopefully help someone else like me.
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2010, 22:49
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

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.
Reply With Quote
The Following User Says Thank You to damir For This Useful Post:
Toucan (5th June 2010)
  #3  
Old 5th June 2010, 23:52
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Wink

Well, I was almost there thanks
Reply With Quote
  #4  
Old 15th June 2010, 18:19
DaRKNeSS666NL DaRKNeSS666NL is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by damir View Post
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?
__________________
Updating my server to Debian Squeeze, so here I go again...
Reply With Quote
  #5  
Old 15th June 2010, 19:49
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
 
Default

Quote:
Originally Posted by DaRKNeSS666NL View Post
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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Bind9 Install (Squeeze, Apt) IP242 Server Operation 0 21st August 2009 16:47
One site contaminated by r57shell aceyzeriat Installation/Configuration 21 13th May 2009 12:19
How would I upgrade php, mysql, and apache for debian phantomk Installation/Configuration 10 4th June 2007 18:01
[OS Debian Sarge] APT Get Problem pontifex Installation/Configuration 2 9th March 2006 10:38
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 22:28.


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