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

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



Your message dated Wed, 12 Aug 2015 16:59:37 +0200
with message-id <20150812145937.GA22530@crossbow>
and subject line Re: apt: prefers to keep old db4.X-util installed instead upgrading it which Breaks+Replaces libdb4.X
has caused the Debian Bug report #699896,
regarding apt: prefers to keep old db4.X-util installed instead upgrading it which Breaks+Replaces libdb4.X
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
699896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699896
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 0.9.16

Hi,

On Wed, Feb 06, 2013 at 01:56:09PM +0100, Andreas Beckmann wrote:
> 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 ...

Scoring was tuned in the meantime, I specifically remember:
* propagate a negative score point along breaks/conflicts

So, while this doesn't "solve" all instances of this problem, it should
at least help in this one and in the end it isn't really the fault of
apt as it is trying to protect users here by disliking removing packages
– package maintainers should just stop being on a cleanup frenzy for
nothing as it just trains users to ignore the REMOVE line in apt output
as most of them will be package renames anyway… expect in the cases
where real packages are removed and bad things happen.

Old versions/transitional packages should be kept around until a later
time in which the user decides to actively hunt for them instead of
trying to force apt to remove them in dist-upgrade already…


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: