error message of python3-venv does not lead to success with no-install-recommends

Bug #1767551 reported by Muelli
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python3.6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

on my bionic system with apt configured to to no installation of recommends:

$ apt-get install -y python3-venv python3-pip
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  python-pip-whl python3-distutils python3-lib2to3 python3.6-venv
Recommended packages:
  build-essential python3-dev python3-setuptools python3-wheel
The following NEW packages will be installed:
  python-pip-whl python3-distutils python3-lib2to3 python3-pip python3-venv
  python3.6-venv
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1718 kB of archives.
After this operation, 4388 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python-pip-whl all 9.0.1-2 [1379 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-lib2to3 all 3.6.5-3 [76.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-distutils all 3.6.5-3 [141 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pip all 9.0.1-2 [114 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3.6-venv amd64 3.6.5-3 [6036 B]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-venv amd64 3.6.5-3 [1204 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1718 kB in 0s (9531 kB/s)
Selecting previously unselected package python-pip-whl.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 5389 files and directories currently installed.)
Preparing to unpack .../0-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../1-python3-lib2to3_3.6.5-3_all.deb ...
Unpacking python3-lib2to3 (3.6.5-3) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../2-python3-distutils_3.6.5-3_all.deb ...
Unpacking python3-distutils (3.6.5-3) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../3-python3-pip_9.0.1-2_all.deb ...
Unpacking python3-pip (9.0.1-2) ...
Selecting previously unselected package python3.6-venv.
Preparing to unpack .../4-python3.6-venv_3.6.5-3_amd64.deb ...
Unpacking python3.6-venv (3.6.5-3) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../5-python3-venv_3.6.5-3_amd64.deb ...
Unpacking python3-venv (3.6.5-3) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up python3.6-venv (3.6.5-3) ...
Setting up python3-pip (9.0.1-2) ...
Setting up python3-lib2to3 (3.6.5-3) ...
Setting up python3-distutils (3.6.5-3) ...
Setting up python3-venv (3.6.5-3) ...

$ python3 -m venv $CACHE_VENV_DIR
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.

I have just installed that package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python (Ubuntu):
status: New → Confirmed
summary: - python3-venv
+ error message of python3-venv does not lead to success with no-install-
+ recommends
Revision history for this message
Mark Campbell-Smith (markcs) wrote :

Are any more logs required to support the fixing of this?

affects: python (Ubuntu) → python3.6 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.