[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get upgrade error- SOLVED



On Sat, 19 Feb 2011 12:29:39 -0500 (EST), Paul Cartwright wrote:
> that did it!! no more error!!!
> the only other question I have is, why are all these packages being held 
> back??
> # apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages have been kept back:
>    acpi-support apache2 apache2-mpm-prefork apache2.2-common apt-cacher
>    apt-file ark autopsy avahi-daemon banshee bless bluetooth bluez-audio boo
> ...

That's because you're doing an "upgrade" instead of a "dist-upgrade".
With an upgrade, apt is allowed to upgrade packages, but it is not
allowed to delete packages or install new ones.  Those packages are
being held back because installing them would require apt to either
install a package which is not currently installed that is a dependency
of the package being held back or else remove a package that conflicts
with the updated version of the package being held back.  When doing
massive updates, it is generally good practice to do an "upgrade"
first, then later do a "dist-upgrade".  The release notes for upgrading
Lenny to Squeeze, for example, specifically instruct one to do this.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: