apt-get upgrade files kept back - debian

Discussion in 'General' started by Toucan, Jun 5, 2010.

  1. Toucan

    Toucan Member

    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.
     
  2. damir

    damir New Member

    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.
     
  3. Toucan

    Toucan Member

    Well, I was almost there ;) thanks
     
  4. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    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?
     
  5. damir

    damir New Member

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

Share This Page