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

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.8955D-100000@wakko.deltatee.com>
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Feb 2001 18:14:07 +0000
>From sam@uchicago.edu Mon Feb 26 12:14:07 2001
Return-path: <sam@uchicago.edu>
Received: from bur-jud-175-135.rh.uchicago.edu (bur-jud-175-135) [::ffff:128.135.175.135] 
	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 <sam@samth.dyndns.org>
Subject: apt: fails to compare versions correctly
To: submit@bugs.debian.org
X-Mailer: bug 3.3.9
Message-Id: <20010226181800.9E8713815@bur-jud-175-135>
Date: Mon, 26 Feb 2001 12:18:00 -0600 (CST)
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.0
Severity: grave

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    
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 jgg@debian.org Mon Feb 26 22:23:23 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [::ffff:206.75.216.34] 
	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) ([24.108.173.63]) (envelope-sender <jgg@debian.org>)
          by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <sam@uchicago.edu>; 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 <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: Sam TH <sam@uchicago.edu>
cc: 87747-done@bugs.debian.org, APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#87747: apt: fails to compare versions correctly
In-Reply-To: <20010226200609.B15248@uchicago.edu>
Message-ID: <Pine.LNX.3.96.1010226212147.8955D-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 87747-done@bugs.debian.org


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
here.

Jason



Reply to: