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

Bug#811569: More forgiving parser on bad input fields



Package: dose-distcheck
Version: 4.0.2-2
Severity: normal

Ubuntu wily and trusty's "universe" Packages files have a weird python
header for python-tempest:

Package: python-tempest
[...]
Description: Openstack integration test suite
Python_version: 2.7
[...]

dose-debcheck doesn't like it:

$ dose-debcheck -v -f -e /home/chroot/wily-amd64/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_universe_binary-amd64_Packages
(I)StdLoaders: Parsing and normalizing...
(I)Packages: Parsing Packages file /home/chroot/wily-amd64/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_wily_universe_binary-amd64_Packages...
Fatal error in module common/format822.ml: 
 Parse error lines 700601:0--700601:1:
unexpected RFC 822 token : 'P'

As the header is irrelevant to the installability problem, it would be
nice if the tools would just ignore the field. At the moment I'm
working around the problem using sed -e 's/^Python_/Python-/'.

(Not sure if this is a bug or just wishlist, filing as normal as apt
and friends seem to work just fine with this Packages file.)

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: PGP signature


Reply to: