Bug#369177: dpkg: error message about version string is insufficient

2006-05-28 Thread t takahashi

On 5/28/06, Guillem Jover [EMAIL PROTECTED] wrote:

The output just before that error may be important to know which
package is at fault, please could you send it?


it didn't give any hints which packages it was looking at.  i can't
search for it now, having had a long run of upgrades and not using
screen(1).


I'll add the version string to the output, so next time it may be a
bit easier to track down.


thanks.  imho this goes for just about all error messages everywhere.


This, we cannot fix as the string is coming from something like:

$ dpkg --compare-versions 1 2 gt 1.4


it would be great if the caller that had the package name printed the
package name before making that call.

thanks.

--
Webmaster: do you believe that people will (a) switch browsers to view
your best viewed with page or (b) go to your competitor?



Bug#369177: dpkg: error message about version string is insufficient

2006-05-28 Thread Guillem Jover
Hi,

On Sat, 2006-05-27 at 17:06:17 -0700, [EMAIL PROTECTED] wrote:
 Package: dpkg
 Version: 1.10.28
 Severity: normal

 i am upgrading from sarge to etch using aptitude.  perhaps aptitude
 calls dpkg or something that dpkg calls.  the output is huge, so
 i will only output the relevant part, which i think is probably 
 sufficient to make the point:

The output just before that error may be important to know which
package is at fault, please could you send it?

 ==
 Reading package fields... Done
 Reading package status... Done
 version a has bad syntax: version string has embedded spaces
 Retrieving bug reports... Done
 ==

 my humble suggestion is that whatever package generates this error
 should say what version string caused the error.

I'll add the version string to the output, so next time it may be a
bit easier to track down.

 if it is a version string from a package, please have it print
 the package name.

This, we cannot fix as the string is coming from something like:

$ dpkg --compare-versions 1 2 gt 1.4

And there there's no package specified.

regards,
guillem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#369177: dpkg: error message about version string is insufficient

2006-05-27 Thread gambarimasu+reportbug
Package: dpkg
Version: 1.10.28
Severity: normal


i do not know whether the following is a bug in dpkg.  however, the
identical string appears in google searches suggesting that it at
least potentially originates from dpkg source code.

please feel free to reassign.

i am upgrading from sarge to etch using aptitude.  perhaps aptitude
calls dpkg or something that dpkg calls.  the output is huge, so
i will only output the relevant part, which i think is probably 
sufficient to make the point:

==
Reading package fields... Done
Reading package status... Done
version a has bad syntax: version string has embedded spaces
Retrieving bug reports... Done
==

my humble suggestion is that whatever package generates this error
should say what version string caused the error.

if it is a version string from a package, please have it print
the package name.

the user might like to know that in order to judge how important
the error is and what to do about it.

thanks.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16myver
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dpkg depends on:
ii  dselect   1.10.28a user tool to manage Debian packa
ii  libc6 2.3.6-7GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#369177: dpkg: error message about version string is insufficient

2006-05-27 Thread t takahashi

also, i really like error messages that say what program is delivering
the error message.

so if it's dpkg, it could say:

dpkg: version string ... in package ... is bad.  it should not have spaces.

or whatever.

then i will know what package to file the bug against.  something
tells me it's not aptitude, although it could be.

thanks.


--
Webmaster: do you believe that people will (a) switch browsers to view
your best viewed with page or (b) go to your competitor?