Trying to update my workstation to the lastest version, but I am getting this error and not sure how to resolve it?
Thanks for any assistance in advance.
Traceback (most recent call last):
File “/usr/lib/cnf-update-db”, line 26, in
col.create(db)
File “/usr/share/command-not-found/CommandNotFound/db/creator.py”, line 94, in create
self._fill_commands(con)
File “/usr/share/command-not-found/CommandNotFound/db/creator.py”, line 132, in _fill_commands
self._parse_single_contents_file(con, f, fp.stdout)
File “/usr/share/command-not-found/CommandNotFound/db/creator.py”, line 228, in _parse_single_contents_file
l = l.decode(“utf-8”)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xed in position 15: invalid continuation byte
Fetched 218 kB in 7s (31.2 kB/s)
Reading package lists…
E: Problem executing scripts APT::Update::Post-Invoke-Success ‘if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi’
E: Sub-process returned an error code