Le sam 23 septembre 2006 02:50, The Wanderer a écrit :
> Package: apt-listchanges
> Version: 2.63
> Severity: grave
> Justification: renders package unusable
>
>
> For some time now, every time I install a package via apt-get,
> apt-listchanges does not pop up its display of changelogs. Instead, I
> get the following (immediately after "Retrieving bug reports...
> Done"):
>
>
> Traceback (most recent call last):
>    File "/usr/bin/apt-listchanges", line 210, in ?
>      main()
>    File "/usr/bin/apt-listchanges", line 65, in main
>      status.readfile('/var/lib/dpkg/status')
>    File "/usr/share/apt-listchanges/DebianControlParser.py", line 47,
> in readfile
>      self.stanzas += [DebianControlStanza(x) for x in open(file,
> 'r').read().split('\n\n') if x]
>    File "/usr/share/apt-listchanges/DebianControlParser.py", line 19,
> in __init__
>      field, value = line.split(':', 1)
> ValueError: need more than 1 value to unpack

please send me your /var/lib/dpkg/status (not to the bts because of its 
size).

it seems you have some odd thing in there, and I've no clue of what is 
happening.

technically, it can only happen if you have a line that does not starts 
with a space, nor is empty, and has no ':' in it.

so either there is a \t starting line or so, and I need to deal with 
that (but that would be quite suprising) or you have some ill-formatted 
file. well, with that file I could have a clue.

CHeers,
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpA7nSS1oDgb.pgp
Description: PGP signature

Reply via email to