Similar issue here:
I have a system which was upgraded from 14.04 LTS to 16.04 LTS recently.
Since then I get the weekly errors from /etc/cron.weekly/apt-xapian-index as
shown below.
I have already purged python and xapian and re-installed them but no change.
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 111, in <module>
indexer.rebuild(opts.pkgfile)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 758, in rebuild
self.buildIndex(dbdir, generator)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 733, in buildIndex
for doc in documents:
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 580, in
gen_documents_apt
yield self.get_document_from_apt(pkg)
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 543, in
get_document_from_apt
addon.obj.index(document, pkg)
File "/usr/share/apt-xapian-index/plugins/descriptions.py", line 108, in index
self.indexer.index_text_without_positions(version.raw_description)
File "/usr/lib/python3/dist-packages/apt/package.py", line 499, in
raw_description
return self._records.long_desc
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 48:
invalid continuation byte
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591626
Title:
Running update-apt-xapian-index -vf ends with error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1591626/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs