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

Bug#401694: dpkg from apt-get do not report which package have broken syntax



On Wed, 06 Dec 2006, Nicolas François wrote:
> On Tue, Dec 05, 2006 at 01:13:08PM +0100, Rafal Maj wrote:
> > Package: dpkg
> > Version: 1.13.21
> > Severity: normal
> > 
> > While doing apt-get update today (debian testing) I got:
> > 
> > dpkg: version '>= 2.3' has bad syntax: version string has embedded spaces
> > 
> > I suppose one of the packages have a bug in it's debian rules file, but
> > which one? IMHO dpkg should print this in the error string.
> 
> This string is displayed when versions are compared with dpkg
> --compare-versions.
> 
> dpkg cannot know which package may use wrong version numbers.
> Thus reassigning to apt.

Hey, apt probably doesn't use dpkg --compare-versions directly, it's
most probably a (post|pre)(inst|rm) script which did it.

The bug submitter should give some lines of context because the error
certainly didn't happen "alone" just after having typed "apt-get upgrade".

Rafal, please give us the log of the upgrade. Check out /var/log/dpkg.log
if you don't have the log available to know which packages got upgraded
the day where you reported the bug. If we don't know which packages is
causing the problem your bug report will be useless and most probably closed.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: