[Bug 1880100] [NEW] On ARM systems, package error stops any system upgrade
emk2203
1880100 at bugs.launchpad.net
Fri May 22 07:54:13 UTC 2020
Public bug reported:
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
** Affects: command-not-found (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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"]
+ 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
+ 20.04.2 500
+ 500 http://ports.ubuntu.com focal/main armhf Packages
+
+ python --version: command not found
+ python3 --version: Python 3.8.2
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1880100
Title:
On ARM systems, package error stops any system upgrade
Status in command-not-found package in Ubuntu:
New
Bug 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
python --version: command not found
python3 --version: Python 3.8.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1880100/+subscriptions
More information about the foundations-bugs
mailing list