Desinstalé python y ahora no puedo instalar nada.
Code: Select all
root@raspberrypi:~# apt-get install attic
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:
attic : Depends: python3 (>= 3.4~) but it is not going to be installed
Depends: python3 (< 3.5) but it is not going to be installed
Depends: libjs-sphinxdoc (>= 1.0) but it is not going to be installed
Depends: python3-msgpack (>= 0.1.10) but it is not going to be installed
Recommends: python3-llfuse but it is not going to be installed
python-minimal : Depends: python2.7-minimal (>= 2.7.13-1~) but it is not going to be installed
Recommends: python but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
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:
distro-info-data iso-codes libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librsync1
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
python-minimal
0 upgraded, 0 newly installed, 1 to remove and 43 not upgraded.
2 not fully installed or removed.
After this operation, 148 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 38496 files and directories currently installed.)
Removing python-minimal (2.7.13-1) ...
/var/lib/dpkg/info/python-minimal.prerm: 4: /var/lib/dpkg/info/python-minimal.prerm: find: not found
dpkg: error processing package python-minimal (--remove):
subprocess installed pre-removal script returned error exit status 127
Errors were encountered while processing:
python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:~# apt-get autoremove
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:
python-minimal : Depends: python2.7-minimal (>= 2.7.13-1~) but it is not installed
Recommends: python but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
¿Qué puedo hacer para arreglarlo? Ya he probado todo lo que me recomienda o lo que he encontrado por google pero nada.
Saludos