Jump to content

Problem executing scripts APT::Update::Post-Invoke-Success


Recommended Posts

Posted

Hi,

I have Rock64 with fresh armbian installed:

Debian GNU/Linux 10 (buster)

4.4.192-rockchip64

 

It was installed 2 days ago , first thing I did was "apt-get update" and then "upgrade" which upgraded 3 packages at most.

Now whenever I try to run apt-get update I get error with post install :

 

~# apt-get update                                                                                     Hit:1 http://security.debian.org buster/updates InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian buster InRelease             
Hit:2 https://apt.armbian.com buster InRelease                      
Hit:4 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian buster-backports InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 26, in <module>
    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 0xe4 in position 72: invalid continuation byte
Reading package lists... Done
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

Searching in google did not yeld too much results and I'm not linux expert to know what might be culprit

Any help would be awesome 

 

Best Regards

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines