Package: dh-python
Version: 4.20200925
Severity: normal
It appears to be impossible to install dh-python and python-is-python2
on the same system due to the dh-python `Breaks: python` field:
# apt install dh-python python-is-python2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dh-python : Breaks: python
E: Unable to correct problems, you have held broken packages.
# apt-get install dh-python python-is-python2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dh-python : Breaks: python
E: Unable to correct problems, you have held broken packages.
# aptitude install dh-python python-is-python2
The following NEW packages will be installed:
dh-python{b} libexpat1{a} libpython2-stdlib{a} libpython2.7-minimal{a}
libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.8-minimal{a}
libpython3.8-stdlib{a} libreadline8{a} mime-support{a} python-is-python2
python2{a} python2-minimal{a} python2.7{a} python2.7-minimal{a} python3{a}
python3-distutils{a} python3-lib2to3{a} python3-minimal{a}
python3.8{a} python3.8-minimal{a} readline-common{a}
The following packages are RECOMMENDED but will NOT be installed:
file
0 packages upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 226 kB/9599 kB of archives. After unpacking 38.6 MB will be used.
The following packages have unmet dependencies:
dh-python : Breaks: python but it is not going to be installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) python-is-python2 [Not Installed]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) dh-python [Not Installed]
Accept this solution? [Y/n/q/?] n
*** No more solutions available ***
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) dh-python [Not Installed]
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages dh-python depends on:
ii python3 3.8.6-1
dh-python recommends no packages.
Versions of packages dh-python suggests:
ii dpkg-dev 1.20.5
ii libdpkg-perl 1.20.5
--
bye,
pabs
https://wiki.debian.org/PaulWise