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

Bug#699896: apt: prefers to keep old db4.X-util installed instead upgrading it which Breaks+Replaces libdb4.X



Package: apt
Version: 0.9.7.7
Severity: important

Hi,

apt-get does not properly dist-upgrade a minimal squeeze system (with
recommends disabled) and db4.X-util installed to wheezy - apt prefers to
keep back db4.X-util and let libdb4.X installed, although there should
not be anything still depending on libdb4.X. The scores do not look
correct ...

Parts of the problemresolver debug output:

...
  2 file-rc [ amd64 ] < none -> 0.8.14 > ( admin )
  2 liblzma2 [ amd64 ] < 5.0.0-2 > ( libs )
  1 uuid-runtime [ amd64 ] < none -> 2.20.1-5.3 > ( libs )
  1 libldap-2.4-2 [ amd64 ] < none -> 2.4.31-1 > ( libs )
  1 bsdmainutils [ amd64 ] < none -> 9.0.3 > ( utils )
  1 psmisc [ amd64 ] < none -> 22.19-1 > ( admin )
  1 apt-utils [ amd64 ] < none -> 0.9.7.7 > ( admin )
  1 awk [ amd64 ] < none > ( none )
  1 libgpm2 [ amd64 ] < none -> 1.20.4-6 > ( libs )
  1 libpng12-0 [ amd64 ] < none -> 1.2.49-1 > ( libs )
  1 bash-completion [ amd64 ] < none -> 1:2.0-1 > ( shells )
  1 libdb4.7 [ amd64 ] < 4.7.25-9 > ( libs )
  1 libdb4.8 [ amd64 ] < 4.8.30-2 > ( libs )
  1 gnupg-curl [ amd64 ] < none -> 1.4.12-7 > ( utils )
  -1 db4.7-util [ amd64 ] < 4.7.25-9 -> 4.7.25-21 > ( database )
  Starting 2
  Investigating (0) db4.7-util [ amd64 ] < 4.7.25-9 -> 4.7.25-21 > ( database )
  Broken db4.7-util:amd64 Conflicts on libdb4.7 [ amd64 ] < 4.7.25-9 > ( libs )
    Considering libdb4.7:amd64 1 as a solution to db4.7-util:amd64 -1
    Holding Back db4.7-util:amd64 rather than change libdb4.7:amd64
   Try to Re-Instate (1) db4.7-util:amd64
  Done
  The following NEW packages will be installed:
    gcc-4.7-base libapt-pkg4.12 libdb5.1 liblzma5 libmount1 libpam-modules-bin
    libsemanage-common libsemanage1 libtinfo5 libustr-1.0-1 multiarch-support
  The following packages have been kept back:
    db4.7-util
  The following packages will be upgraded:
...

...
  2 file-rc [ amd64 ] < none -> 0.8.14 > ( admin )
  2 liblzma2 [ amd64 ] < 5.0.0-2 > ( libs )
  1 uuid-runtime [ amd64 ] < none -> 2.20.1-5.3 > ( libs )
  1 libldap-2.4-2 [ amd64 ] < none -> 2.4.31-1 > ( libs )
  1 bsdmainutils [ amd64 ] < none -> 9.0.3 > ( utils )
  1 psmisc [ amd64 ] < none -> 22.19-1 > ( admin )
  1 apt-utils [ amd64 ] < none -> 0.9.7.7 > ( admin )
  1 awk [ amd64 ] < none > ( none )
  1 libgpm2 [ amd64 ] < none -> 1.20.4-6 > ( libs )
  1 libpng12-0 [ amd64 ] < none -> 1.2.49-1 > ( libs )
  1 bash-completion [ amd64 ] < none -> 1:2.0-1 > ( shells )
  1 libdb4.8 [ amd64 ] < 4.8.30-2 > ( libs )
  1 gnupg-curl [ amd64 ] < none -> 1.4.12-7 > ( utils )
  -1 db4.8-util [ amd64 ] < 4.8.30-2 -> 4.8.30-12 > ( database )
  Starting 2
  Investigating (0) db4.8-util [ amd64 ] < 4.8.30-2 -> 4.8.30-12 > ( database )
  Broken db4.8-util:amd64 Breaks on libdb4.8 [ amd64 ] < 4.8.30-2 > ( libs ) (< 4.8.30-12~)
    Considering libdb4.8:amd64 1 as a solution to db4.8-util:amd64 -1
    Holding Back db4.8-util:amd64 rather than change libdb4.8:amd64
   Try to Re-Instate (1) db4.8-util:amd64
  Done
  The following NEW packages will be installed:
    gcc-4.7-base libapt-pkg4.12 libdb5.1 liblzma5 libmount1 libpam-modules-bin
    libsemanage-common libsemanage1 libtinfo5 libustr-1.0-1 multiarch-support
  The following packages have been kept back:
    db4.8-util
  The following packages will be upgraded:
...

So far I failed to manually recompute the score "1" for libdb4.X.


Andreas


Reply to: