dh-python dependency removal changing behaviour of installing virtualenv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
root@6de0badbae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificates libexpat1 libmpdec2 libpython3-stdlib libpython3.
python3-
Suggested packages:
python3-doc python3-tk python3-venv python3-setuptools python3.6-venv python3.6-doc binutils binfmt-support
Recommended packages:
bzip2 file xz-utils
The following NEW packages will be installed:
ca-certificates libexpat1 libmpdec2 libpython3-stdlib libpython3.
python3-
0 upgraded, 17 newly installed, 0 to remove and 43 not upgraded.
Need to get 7375 kB of archives.
After this operation, 29.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Fetched 7375 kB in 14s (515 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 4416 files and directories currently installed.)
Preparing to unpack .../0-libssl1.
Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu3) ...
Selecting previously unselected package libpython3.
Preparing to unpack .../1-libpython
Unpacking libpython3.
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../2-libexpat1
Unpacking libexpat1:amd64 (2.2.5-3) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../3-python3.
Unpacking python3.6-minimal (3.6.5-3) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../4-python3-
Unpacking python3-minimal (3.6.5-2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../5-mime-
Unpacking mime-support (3.60ubuntu1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../6-libmpdec2
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package libpython3.
Preparing to unpack .../7-libpython
Unpacking libpython3.
Selecting previously unselected package python3.6.
Preparing to unpack .../8-python3.
Unpacking python3.6 (3.6.5-3) ...
Selecting previously unselected package libpython3-
Preparing to unpack .../9-libpython
Unpacking libpython3-
Setting up libssl1.1:amd64 (1.1.0g-2ubuntu3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
Setting up libpython3.
Setting up libexpat1:amd64 (2.2.5-3) ...
Setting up python3.6-minimal (3.6.5-3) ...
Setting up python3-minimal (3.6.5-2) ...
Selecting previously unselected package python3.
(Reading database ... 5099 files and directories currently installed.)
Preparing to unpack .../0-python3_
Unpacking python3 (3.6.5-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../1-openssl_
Unpacking openssl (1.1.0g-2ubuntu3) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../2-ca-
Unpacking ca-certificates (20170717) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../3-python-
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python3-
Preparing to unpack .../4-python3-
Unpacking python3-
Selecting previously unselected package python3-virtualenv.
Preparing to unpack .../5-python3-
Unpacking python3-virtualenv (15.1.0+ds-1) ...
Selecting previously unselected package virtualenv.
Preparing to unpack .../6-virtualen
Unpacking virtualenv (15.1.0+ds-1) ...
Setting up mime-support (3.60ubuntu1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Setting up openssl (1.1.0g-2ubuntu3) ...
Setting up ca-certificates (20170717) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
148 added, 0 removed; done.
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up libpython3.
Setting up python3.6 (3.6.5-3) ...
Setting up libpython3-
Setting up python3 (3.6.5-2) ...
running python rtupdate hooks for python3.6...
running python post-rtupdate hooks for python3.6...
Setting up python3-
Setting up python3-virtualenv (15.1.0+ds-1) ...
Setting up virtualenv (15.1.0+ds-1) ...
Processing triggers for ca-certificates (20170717) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-
done.
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
root@6de0badbae
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
return self.resolve()
File "/usr/lib/
module = __import_
File "/usr/lib/
import distutils.sysconfig
ModuleNotFoundE
root@6de0badbae
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
return self.resolve()
File "/usr/lib/
module = __import_
File "/usr/lib/
import distutils.sysconfig
ModuleNotFoundE
The change of removing dh-python dependency will require that the package is deployed before deploying virtualenv
root@6de0badbae
python3:
Installed: 3.6.5-2
Candidate: 3.6.5-2
Version table:
*** 3.6.5-2 500
500 http://
100 /var/lib/
root@6de0badbae
python3
PreDepends: python3-minimal
Depends: python3.6
Depends: libpython3-stdlib
Suggests: python3-doc
Suggests: python3-tk
Suggests: python3-venv
Replaces: python3-minimal
tags: | added: bionic |
Why does not python3 depend on dh-python?
I get the following while trying to install python3:
dpkg-query: package 'dh-python' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
What I can tell, every other Ubuntu release has this dependency.