After system install on an ARM system (Orange Pi Zero), an attempt to update the system via `apt full-upgrade` results in the following error:
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 26, in <module>
col.create(db)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 93, in create
self._fill_commands(con)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 127, in _fill_commands
self._parse_single_commands_file(con, fp)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 165, in _parse_single_commands_file
suite=tagf.section["suite"]
KeyError: 'suite'
Quick fix for me was to remove the package with `sudo apt purge command-not-found && sudo apt --purge autoremove`. Reinstall of the package leads to the same results.
After system install on an ARM system (Orange Pi Zero), an attempt to update the system via `apt full-upgrade` results in the following error:
Traceback (most recent call last): cnf-update- db", line 26, in <module> python3/ dist-packages/ CommandNotFound /db/creator. py", line 93, in create _fill_commands( con) python3/ dist-packages/ CommandNotFound /db/creator. py", line 127, in _fill_commands _parse_ single_ commands_ file(con, fp) python3/ dist-packages/ CommandNotFound /db/creator. py", line 165, in _parse_ single_ commands_ file tagf.section[ "suite" ]
File "/usr/lib/
col.create(db)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
suite=
KeyError: 'suite'
Quick fix for me was to remove the package with `sudo apt purge command-not-found && sudo apt --purge autoremove`. Reinstall of the package leads to the same results.
command-not-found version: 20.04.2 ports.ubuntu. com focal/main armhf Packages
Version table:
20.04.2 500
500 http://