What causes packages not to be updated?

Scott Abbey scott at wangfu.org
Sun Sep 16 14:59:00 UTC 2007


On Sun, 2007-09-16 at 16:08 +0200, Dotan Cohen wrote:
> Why would apt-get not update a package that I explicitly ask it to?
> How can I check what is wrong?

It would appear that there is a dependency of digikam that is
unsatisfied. If there are new dependencies or unresolvable dependencies
involved in an upgrade, the package will be held back. One way to find
out is to do a

  $ sudo apt-get install digikam

and see what it says. It will either ask you to install the missing
(new) dependencies, or inform you of what new dependencies are
unresolvable.

FYI, 'apt-get upgrade' does not take an argument. It's an all or nothing
proposition. If you want to upgrade a particular package, use 'apt-get
install <package-name>'

Also, 'apt-get dist-upgrade' will automatically resolve all changed
dependencies, if possible. That said, use with caution. It will also
remove conflicting packages with just an easily overlooked warning, and
that may not be what you want.

-- 
Scott Abbey <scott at wangfu.org>





More information about the ubuntu-users mailing list