Bug#87747: marked as done (apt: fails to compare versions correctly)
Your message dated Mon, 26 Feb 2001 21:23:17 -0700 (MST)
with message-id <Pine.LNX.3.96.1010226212147.8955Dfirstname.lastname@example.org>
and subject line Bug#87747: apt: fails to compare versions correctly
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 26 Feb 2001 18:14:07 +0000
>From email@example.com Mon Feb 26 12:14:07 2001
Received: from bur-jud-175-135.rh.uchicago.edu (bur-jud-175-135) [::ffff:126.96.36.199]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 14XS9v-00068Y-00; Mon, 26 Feb 2001 12:14:07 -0600
Received: by bur-jud-175-135 (Postfix, from userid 1000)
id 9E8713815; Mon, 26 Feb 2001 12:18:00 -0600 (CST)
From: Sam TH <firstname.lastname@example.org>
Subject: apt: fails to compare versions correctly
X-Mailer: bug 3.3.9
Date: Mon, 26 Feb 2001 12:18:00 -0600 (CST)
The upgrade to APT 0.5 totally broke dependency calculation. apt-get
upgrade gives the following (totally erroneous) error:
Sorry, but the following packages have unmet dependencies:
apache-common: Depends: libc6 (>= 2.2.1) but 2.2.2-1 is to be installed
binstats: Depends: debianutils (>= 1.13.1) but 1.15 is to be installed
wvdial: Depends: libc6 (>= 2.1.94) but 2.2.2-1 is to be installed
Note that the package versions required are all less than those
installed. dpkg --compare-versions correctly compares these versions
correctly, as in this output:
[sam@samth ~]$ dpkg --compare-versions 2.2.1 "<=" 2.2.2-1 && echo 1
Installation of debs manually with dpkg also works properly, with none
of these complaints. It is merely apt that has difficulty.
It seems, although I'm very much not sure about this, that the bug
relates to comparing versions where the lesser one has more components
than the greater (2.2.1-1 vs 2.2.2, etc).
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux samth.dyndns.org 2.4.1-pre9 #3 Sat Jan 20 17:59:11 CST 2001 i686 unknown
Versions of the packages apt depends on:
ii libc6 2.2.2-1 GNU C Library: Shared libraries and Timezone
ii libstdc++2.10 2.95.2-14 The GNU stdc++ library
Received: (at 87747-done) by bugs.debian.org; 27 Feb 2001 04:23:23 +0000
>From email@example.com Mon Feb 26 22:23:23 2001
Received: from cast-ext.ab.videon.ca [::ffff:188.8.131.52]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 14XbfX-0003Re-00; Mon, 26 Feb 2001 22:23:23 -0600
Received: (qmail 11225 invoked from network); 27 Feb 2001 04:23:21 -0000
Received: from unknown (HELO wakko.deltatee.com) ([184.108.40.206]) (envelope-sender <firstname.lastname@example.org>)
by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
for <email@example.com>; 27 Feb 2001 04:23:21 -0000
Received: from localhost
([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
id 14XbfV-0002Oe-00; Mon, 26 Feb 2001 21:23:21 -0700
Date: Mon, 26 Feb 2001 21:23:17 -0700 (MST)
From: Jason Gunthorpe <firstname.lastname@example.org>
To: Sam TH <email@example.com>
cc: firstname.lastname@example.org, APT Development Team <email@example.com>
Subject: Re: Bug#87747: apt: fails to compare versions correctly
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 26 Feb 2001, Sam TH wrote:
> However, removing /var/cache/apt/* and /var/state/apt/* was not
> enought to fix it. So either the config files were breaking this (I
> just had apt.conf and sources.list) or the apt installation was bad.
> I'm not sure.
I would have liked to have seen your configuration file..
But in any event, it appears to be an odd side effect of mis
configuration, however that is possible.
I'm sure someone else will discover it if there is indeed a real issue