Bug#137351: marked as done (dpkg -l cut versions and make false bug report info)
Your message dated Sat, 9 Mar 2002 22:00:38 +0100
with message-id <20020309210038.GI32152@wiggy.net>
and subject line Bug#137351: dpkg -l cut versions and make false bug report info
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; 8 Mar 2002 13:10:59 +0000
>From allomber@math.u-bordeaux.fr Fri Mar 08 07:10:59 2002
Return-path: <allomber@math.u-bordeaux.fr>
Received: from dhcp2.math.u-bordeaux.fr (yellowpig.yi.org) [147.210.16.56]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 16jK9D-0007vm-00; Fri, 08 Mar 2002 07:10:59 -0600
Received: from yellowpig
([127.0.0.1] helo=yellowpig.yi.org ident=mail)
by yellowpig.yi.org with smtp (Exim 3.12 #1 (Debian))
id 16jKFI-0004T5-00; Fri, 08 Mar 2002 14:17:16 +0100
Received: (nullmailer pid 17177 invoked by uid 1001);
Fri, 08 Mar 2002 13:17:15 -0000
Date: Fri, 8 Mar 2002 14:17:15 +0100
From: Bill Allombert <ballombe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg -l cut versions and make false bug report info
Message-ID: <[🔎] 20020308131715.GA17038@yellowpig.yi.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
X-Reportbug-Version: 1.44
Delivered-To: submit@bugs.debian.org
Package: dpkg
Version: 1.9.19
Severity: normal
Hello dpkg developers,
The way dpkg -l cut columns may generated wrong versions in bug reports:
An example
yellowpig% COLUMNS=80 dpkg -l libopenal0 | grep libopenal0
ii libopenal0 0.2001061600-2 OpenAL is a portable library for 3D spatiali
So I have version 0.2001061600-2 ? Wrong:
yellowpig% COLUMNS=130 dpkg -l libopenal0 | grep libopenal0
ii libopenal0 0.2001061600-2.1 OpenAL is a portable library for 3D spatialized audio.
In fact I have version 0.2001061600-2.1 !
There is a similar problem in potato with proftpd, it loks like version
1.2.0pre10-2.0
yellowpig% COLUMNS=80 dpkg -l proftpd | grep proftpd
ii proftpd 1.2.0pre10-2.0 Versatile, virtual-hosting FTP daemon
But in fact I have
yellowpig% COLUMNS=130 dpkg -l proftpd | grep proftpd
ii proftpd 1.2.0pre10-2.0potato1 Versatile, virtual-hosting FTP daemon
If you really want dpkg -l to cut important fields like package name or
version number, please use a ">" terminator to make it clear it is not
finished, like in
i proftpd 1.2.0pre10-2.0>Versatile, virtual-hosting FTP daemon
Kind regards,
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux yellowpig 2.2.19 #1 Tue Apr 24 20:02:21 CEST 2001 i686
Locale: LANG=french, LC_CTYPE=french
Versions of packages dpkg depends on:
ii libc6 2.2.5-3 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-3 Shared libraries for terminal hand
ii libstdc++2.10-glibc2.2 1:2.95.4-1 The GNU stdc++ library
--
Bill. <ballombe@debian.org>
FHS 5.3: As of the date of this release of the standard, system crash were
not supported under Linux.
---------------------------------------
Received: (at 137351-done) by bugs.debian.org; 9 Mar 2002 21:00:40 +0000
>From wichert@wiggy.net Sat Mar 09 15:00:40 2002
Return-path: <wichert@wiggy.net>
Received: from cabal.xs4all.nl (mx1.wiggy.net) [213.84.101.140] ([PsHz5uWLHcuQl3CwLkBOLaz50EmHH7q3])
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 16jnxH-0004az-00; Sat, 09 Mar 2002 15:00:40 -0600
Received: from wichert by mx1.wiggy.net with local (Exim 3.33 #1 (Debian))
id 16jnxG-0000XO-00; Sat, 09 Mar 2002 22:00:38 +0100
Date: Sat, 9 Mar 2002 22:00:38 +0100
From: Wichert Akkerman <wichert@wiggy.net>
To: Bill Allombert <ballombe@debian.org>, 137351-done@bugs.debian.org
Subject: Re: Bug#137351: dpkg -l cut versions and make false bug report info
Message-ID: <20020309210038.GI32152@wiggy.net>
References: <[🔎] 20020308131715.GA17038@yellowpig.yi.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 20020308131715.GA17038@yellowpig.yi.org>
User-Agent: Mutt/1.3.27i
Delivered-To: 137351-done@bugs.debian.org
Previously Bill Allombert wrote:
> If you really want dpkg -l to cut important fields like package name or
> version number, please use a ">" terminator to make it clear it is not
> finished, like in
Three options:
1. use a wider tty
2. set the COLUMN environment to make dpkg thing your tty is wider
3. wait for dpkg 1.10 to be release which has a dpkg-query command with
customizable output formats
Wichert.
--
_________________________________________________________________
/wichert@wiggy.net This space intentionally left occupied \
| wichert@deephackmode.org http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: