apt-get update failed:
Code: Alles auswählen
[13:22:42] root@Server $ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3 : Depends: python3-minimal (= 3.4.2-2) but 3.6.5-3 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
fix broken klappt nicht
Code: Alles auswählen
[13:22:48] root@Server $ apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
g++-4.9 libevent-2.0-5 libmpdec2 libnfsidmap2 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib libpython3.6-minimal libpython3.6-stdlib libreadline7 libstdc++-4.9-dev libtirpc1 libuuid-perl libxapian22 python3-minimal python3.4 python3.4-minimal python3.6-minimal
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
dh-python python3
0 upgraded, 0 newly installed, 2 to remove and 612 not upgraded.
3 not fully installed or removed.
After this operation, 321 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 59735 files and directories currently installed.)
Removing dh-python (1.20141111-2) ...
/var/lib/dpkg/info/dh-python.prerm: 6: /var/lib/dpkg/info/dh-python.prerm: py3clean: not found
dpkg: error processing package dh-python (--remove):
subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/dh-python.postinst: 6: /var/lib/dpkg/info/dh-python.postinst: py3compile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
dpkg: python3: dependency problems, but removing anyway as you requested:
dh-python depends on python3:any (>= 3.3.2-2~).
Removing python3 (3.4.2-2) ...
/var/lib/dpkg/info/python3.prerm: 5: /var/lib/dpkg/info/python3.prerm: py3clean: not found
dpkg: error processing package python3 (--remove):
subprocess installed pre-removal script returned error exit status 127
Errors were encountered while processing:
dh-python
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Alles auswählen
[13:34:33] root@Server $ dpkg --list | grep Python
ii python2.7-dev 2.7.9-2+deb8u1 amd64 Header files and a static library for Python (v2.7)
ii python2.7-minimal 2.7.9-2+deb8u1 amd64 Minimal subset of the Python language (version 2.7)
iF python3-minimal 3.6.5-3 amd64 minimal subset of the Python language (default python3 version)
ii python3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)
ii python3.6-minimal 3.6.6-1 amd64 Minimal subset of the Python language (version 3.6)