2020-05-22 07:57:26 |
emk2203 |
description |
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.
command-not-found version: 20.04.2
Version table:
20.04.2 500
500 http://ports.ubuntu.com focal/main armhf Packages |
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.
command-not-found version: 20.04.2
Version table:
20.04.2 500
500 http://ports.ubuntu.com focal/main armhf Packages
python --version: command not found
python3 --version: Python 3.8.2 |
|