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

Bug#133517: marked as done (dpkg --compare-versions returns always true)



Your message dated 06 Jul 2003 17:51:37 +0200
with message-id <1057506697.2688.1153.camel@thanatos>
and subject line Apparently fixed
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Feb 2002 04:44:42 +0000
>From brefan@gmx.de Mon Feb 11 22:44:42 2002
Return-path: <brefan@gmx.de>
Received: from mail.gmx.net [213.165.64.20] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16aUo5-0008O2-00; Mon, 11 Feb 2002 22:44:41 -0600
Received: (qmail 28677 invoked by uid 0); 12 Feb 2002 04:44:10 -0000
Received: from pd9e50f5e.dip.t-dialin.net (HELO earth) (217.229.15.94)
  by mail.gmx.net (mp014-rz3) with SMTP; 12 Feb 2002 04:44:10 -0000
Date: Tue, 12 Feb 2002 05:44:05 +0100
From: Stefan Brink <brefan@gmx.de>
To: submit@bugs.debian.org
Subject: dpkg --compare-versions returns always true
Message-Id: <20020212054405.5c8254b0.brefan@gmx.de>
X-Mailer: Sylpheed version 0.6.6 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: dpkg
Version: 1.9.18
Severity: normal

It seems that dpkg --compare-versions returns always true. This breaks for example the modutils.preinst script (version 2.4.13-3 in my case) which checks against the kernel-version with the following command:
dpkg --compare-versions "`uname -r`" lt 2.2.0

Another example of this errornous behaviour:
# dpkg --compare-versions 2.2.14 lt 2.2.0; echo $?
0
# dpkg --compare-versions 2.2.14 gt 2.2.0; echo $?
0

System Information:
# uname -srm
Linux 2.4.14 i686
# dpkg -s libc6 | grep ^Version
Version: 2.2.5-3

Feel free to email me if there are any further questions.

-- 
 Best regards,
  Stefan Brink                               mailto:brefan@gmx.de

---------------------------------------
Received: (at 133517-done) by bugs.debian.org; 6 Jul 2003 15:51:46 +0000
>From jdthood@yahoo.co.uk Sun Jul 06 10:51:40 2003
Return-path: <jdthood@yahoo.co.uk>
Received: from mars.mj.nl [81.91.1.49] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 19ZBnf-00061u-00; Sun, 06 Jul 2003 10:51:39 -0500
Received: (qmail 28730 invoked from network); 6 Jul 2003 15:51:38 -0000
Received: from 81-91-5-95-customer.mjdsl.nl (HELO thanatos.localdomain) (81.91.5.95)
  by www.mj.nl with SMTP; 6 Jul 2003 15:51:38 -0000
Received: from localhost (localhost [127.0.0.1])
	by thanatos.localdomain (Postfix) with ESMTP id 1032610D62E
	for <133517-done@bugs.debian.org>; Sun,  6 Jul 2003 17:51:38 +0200 (CEST)
Subject: Apparently fixed
From: Thomas Hood <jdthood@yahoo.co.uk>
To: 133517-done@bugs.debian.org
Content-Type: text/plain
Message-Id: <1057506697.2688.1153.camel@thanatos>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 06 Jul 2003 17:51:37 +0200
Content-Transfer-Encoding: 7bit
Delivered-To: 133517-done@bugs.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0
	tests=BAYES_20,USER_AGENT_XIMIAN
	version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)

If this was a bug then it appears to have been fixed.

jdthood@thanatos:~$ dpkg --compare-versions 2.2.14 lt 2.2.0; echo $?
1




Reply to: