Here is the traceback generated on Maverick:
Traceback (most recent call last):
File "/usr/bin/software-center", line 90, in <module>
app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
File "/usr/share/software-center/softwarecenter/app.py", line 149, in __init__
self.history = get_apt_history()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 178,
in get_apt_history
apt_history = AptHistory()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 83,
in __init__
self.rescan()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 98,
in rescan
self._scan(history_gz_file)
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 110,
in _scan
for stanza in deb822.Deb822.iter_paragraphs(f):
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 287, in
iter_paragraphs
x = cls(iterable, fields, encoding=encoding)
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 255, in __init__
self._internal_parser(sequence, fields)
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 308, in
_internal_parser
for line in self.gpg_stripped_paragraph(sequence):
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 551, in
gpg_stripped_paragraph
return cls.split_gpg_and_payload(sequence)[1]
File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 503, in
split_gpg_and_payload
for line in sequence:
File "/usr/lib/python2.6/gzip.py", line 438, in next
line = self.readline()
File "/usr/lib/python2.6/gzip.py", line 393, in readline
c = self.read(readsize)
File "/usr/lib/python2.6/gzip.py", line 219, in read
self._read(readsize)
File "/usr/lib/python2.6/gzip.py", line 271, in _read
uncompress = self.decompress.decompress(buf)
zlib.error: Error -3 while decompressing: invalid distance too far back
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/725186
Title:
Software-Center crash at launch if apt-history gzip archives are
corrupted
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs