Here's the error message from the logs for easy reading:
Setting up apt-xapian-index (0.45ubuntu4) ...
dpkg-query: error: parsing file '/var/lib/dpkg/updates/0014' near line 0:
newline in field name `#padding'
Traceback (most recent call last):
File "/usr/bin/pycompile", line 289, in <module>
main()
File "/usr/bin/pycompile", line 262, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/pycompile", line 154, in compile
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/pycompile", line 109, in filter_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 77, in filter_out_ext
for fn in files:
File "/usr/share/python/debpython/namespace.py", line 77, in add_namespace_files
for fn in files:
File "/usr/share/python/debpython/files.py", line 69, in filter_public
for fn in files:
File "/usr/share/python/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of apt-xapian-index
Here's the error message from the logs for easy reading:
Setting up apt-xapian-index (0.45ubuntu4) ... dpkg/updates/ 0014' near line 0: pycompile" , line 289, in <module> pycompile" , line 262, in main pycompile" , line 154, in compile pycompile" , line 109, in filter_files python/ debpython/ files.py" , line 77, in filter_out_ext python/ debpython/ namespace. py", line 77, in add_namespace_files python/ debpython/ files.py" , line 69, in filter_public python/ debpython/ files.py" , line 53, in from_package
dpkg-query: error: parsing file '/var/lib/
newline in field name `#padding'
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
options.force, options.optimize, e_patterns)
File "/usr/bin/
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/
for fn in files:
File "/usr/share/
for fn in files:
File "/usr/share/
for fn in files:
File "/usr/share/
for fn in files:
File "/usr/share/
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of apt-xapian-index