[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(deb-cat) Problema de dependencia per dh-python



He creat un contenidor LXC (tot Debian 9) i el primer que faig a dins és:

$ apt-get update
$ apt-get install tasksel
$ tasksel install standard
(...)
tasksel: apt-get failed (100)

Aleshores, intento completar amb:
$ dpkg --configure --pending
Setting up readline-common (7.0-3) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u2) ...
Setting up libgdbm3:i386 (1.8.3-14) ...
Setting up libperl5.24:i386 (5.24.1-3+deb9u2) ...
Setting up libestr0 (0.1.10-2) ...
Setting up mime-support (3.60) ...
Setting up libreadline7:i386 (7.0-3) ...
Setting up bash-completion (1:2.1-4.3) ...
Setting up groff-base (1.22.3-9) ...
Setting up libpipeline1:i386 (1.4.1-2) ...
Setting up perl (5.24.1-3+deb9u2) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename
(rename) in auto mode
Setting up libssh2-1:i386 (1.7.0-1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up udev (232-25+deb9u1) ...
Adding group `input' (GID 108) ...
Done.
Setting up libssl1.1:i386 (1.1.0f-3) ...
Processing triggers for systemd (232-25+deb9u1) ...
Setting up libsqlite3-0:i386 (3.16.2-5) ...
Setting up libnfnetlink0:i386 (1.0.1-3) ...
Setting up libffi6:i386 (3.2.1-6) ...
Setting up bsdmainutils (9.0.12+nmu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write
(write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from
(from) in auto mode
dpkg: dependency problems prevent configuration of dh-python:
 dh-python depends on python3:any (>= 3.3.2-2~).
dpkg: error processing package dh-python (--configure):
 dependency problems - leaving unconfigured
Setting up cron (3.0pl1-128+b1) ...
Adding group `crontab' (GID 109) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/cron.service
→ /lib/systemd/system/cron.service.
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Setting up libpython2.7-stdlib:i386 (2.7.13-2) ...
Setting up libmpdec2:i386 (2.4.2-1) ...
Setting up libpython3.5-minimal:i386 (3.5.3-1) ...
Setting up libpython3.5-stdlib:i386 (3.5.3-1) ...
Setting up python2.7 (2.7.13-2) ...
Setting up python3.5-minimal (3.5.3-1) ...
Setting up libpython-stdlib:i386 (2.7.13-2) ...
Setting up python3-minimal (3.5.3-1) ...
Setting up man-db (2.7.6.1-2) ...
Building database of manual pages ...
Setting up python (2.7.13-2) ...
Setting up python3.5 (3.5.3-1) ...
Setting up libpython3-stdlib:i386 (3.5.3-1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Errors were encountered while processing:
 dh-python

I comprovo que la dependència de la qual es queixa ja es podia complir!
$ apt-cache show python3
Package: python3
Source: python3-defaults
Version: 3.5.3-1
(...)

I si l'instal·lo per separat, aleshores tot acaba bé:
$ apt-get install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libestr0 libnfnetlink0 libssh2-1
Use 'apt autoremove' to remove them.
Suggested packages:
  python3-doc python3-tk python3-venv
The following NEW packages will be installed:
  python3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.6 kB of archives.
After this operation, 68.6 kB of additional disk space will be used.
Selecting previously unselected package python3.
(Reading database ... 13640 files and directories currently installed.)
Preparing to unpack .../python3_3.5.3-1_i386.deb ...
Unpacking python3 (3.5.3-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up python3 (3.5.3-1) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up dh-python (2.20170125) ...

PERQUÈ CAL AQUESTA ALTRA GESTIÓ?
Jo voldria poder-ho automatitzar, però no puc preveure que una versió
concreta de Debian necessiti el paquet python3 per separat.


Reply to: