Unable to install python3.8-minimal via apt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned |
Bug Description
Using the latest Ubuntu docker image, apt-get fails to install python:
root@2344d13f1b
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.8-minimal is already the newest version (3.8.5-1~20.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3.8-minimal (3.8.5-1~20.04.2) ...
Traceback (most recent call last):
File "/usr/lib/
sys.
File "/usr/lib/
compile(
File "/usr/lib/
importlib.
File "<frozen importlib.
PermissionError: [Errno 13] Permission denied: '/usr/lib/
dpkg: error processing package python3.8-minimal (--configure):
installed python3.8-minimal package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3.8-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@2344d13f1b
i just tried this on fresh bionic and focal containers, and can install python3.8-minimal just fine
which container are you using exactly?
is it untouched or this is your container image after building on top of ubuntu?