2020-04-13 23:39:23 |
jj05 |
bug |
|
|
added bug |
2020-04-13 23:41:29 |
jj05 |
description |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull the latest version of the Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start interactively an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull the latest version of the Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
|
2020-04-13 23:41:57 |
jj05 |
description |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull the latest version of the Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull latest Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
|
2020-04-13 23:42:16 |
jj05 |
description |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull latest Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull latest Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
|
2020-04-13 23:49:31 |
jj05 |
description |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull latest Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash
apt-get update # Update command-not-found database
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'
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 |
"apt-get update" fails to run when command-not-found is installed on Ubuntu 20.04.
To reproduce with Docker:
docker pull ubuntu:20.04 # Pull latest Ubuntu 20.04 docker image
docker run -it ubuntu:20.04 # Start an Ubuntu 20.04 docker container
# Within the container run:
apt-get update
apt-get -yy dist-upgrade
apt-get -yy install command-not-found
exec bash # Reload bash to load command-not-found
apt-get update # Update command-not-found database
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'
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 |
|
2020-04-15 12:04:50 |
jj05 |
bug task added |
|
apt (Ubuntu) |
|
2020-04-15 12:22:12 |
Julian Andres Klode |
bug task deleted |
apt (Ubuntu) |
|
|
2020-05-09 20:58:40 |
luca |
bug |
|
|
added subscriber luca |
2020-05-27 07:21:24 |
Steve Capper |
branch linked |
|
lp:~oheoh/command-not-found/command-not-found |
|
2020-05-28 21:19:22 |
Raphael Kienhöfer |
bug |
|
|
added subscriber Raphael Kienhöfer |
2020-08-28 12:32:45 |
Rüdiger Kuhlmann |
bug |
|
|
added subscriber Rüdiger Kuhlmann |
2020-10-03 22:36:46 |
Mathew Hodson |
marked as duplicate |
|
1876034 |
|
2020-10-03 22:36:56 |
Mathew Hodson |
branch unlinked |
lp:~oheoh/command-not-found/command-not-found |
|
|
2020-10-03 22:37:18 |
Launchpad Janitor |
command-not-found (Ubuntu): status |
New |
Confirmed |
|
2020-10-03 22:37:18 |
Mathew Hodson |
affects |
command-not-found |
command-not-found (Ubuntu) |
|
2020-10-03 23:14:48 |
Raphael Kienhöfer |
removed subscriber Raphael Kienhöfer |
|
|
|
2021-06-05 19:06:22 |
Michael Sparmann |
branch linked |
|
lp:command-not-found |
|
2021-06-05 19:06:58 |
Michael Sparmann |
branch unlinked |
lp:command-not-found |
|
|