Como resolver “dpkg: error processing package systemd”

0

Quando eu quiser usar este comando:

apt-get -f install

Eu vejo esta saída:

dpkg: error processing package systemd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

e

 dpkg --configure -a

A saída é:

Errors were encountered while processing:
 python3-numpy
 libc-bin
 systemd
 python3-gdbm:amd64
 python3-cairo:amd64
 python3-tk:amd64
 python3-matplotlib
 dh-python
 libglib2.0-bin
 locales
 libpam-systemd:amd64

 python
Python 2.7.12 (default, Dec  4 2017, 14:50:18)

e

python3
Python 3.6.5 (default, Apr  1 2018, 05:46:30)

E instale qualquer pacote, por exemplo: apt instalar systemd A saída é:

 python3-cairo : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
 python3-gdbm : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed
 python3-matplotlib : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
 python3-numpy : Depends: python3 (>= 3.6~) but 3.5.1-3 is to be installed
 python3-tk : Depends: python3 (>= 3.6.4-1~) but 3.5.1-3 is to be installed

Alguma sugestão?

    
por Red Science 20.04.2018 / 20:53

0 respostas