Udv!
Ezereves Raspberryt update-elnek kicsit, de teljesen belekavarodott az apt es/vagy a python sajat magaba...
$ sudo apt-get install -f
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:
libelfg0 libpython3.4 libpython3.4-dev python3.4-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libglib2.0-0 libglib2.0-bin libglib2.0-dev libpython3-dev libpython3-stdlib libpython3.5 libpython3.5-dev python3 python3.5-dev
Suggested packages:
libglib2.0-doc python3-doc python3-tk python3-venv
The following NEW packages will be installed:
libpython3.5 libpython3.5-dev python3.5-dev
The following packages will be upgraded:
libglib2.0-0 libglib2.0-bin libglib2.0-dev libpython3-dev libpython3-stdlib python3
6 upgraded, 3 newly installed, 0 to remove and 970 not upgraded.
58 not fully installed or removed.
Need to get 0 B/45.5 MB of archives.
After this operation, 54.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3.5-minimal (3.5.3-1+deb9u5) ...
Traceback (most recent call last):
File "/usr/lib/python3.5/py_compile.py", line 6, in <module>
import importlib._bootstrap_external
File "/usr/lib/python3.5/importlib/__init__.py", line 57, in <module>
import types
File "/usr/lib/python3.5/types.py", line 166, in <module>
import functools as _functools
File "/usr/lib/python3.5/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.5/weakref.py", line 12, in <module>
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
dpkg: error processing package python3.5-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python3-minimal:
python3-minimal depends on python3.5-minimal (>= 3.5.3-1~); however:
Package python3.5-minimal is not configured yet.
dpkg: error processing package python3-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3.5-minimal
python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
ha le akarom szedni a python3-t a francba, akkor:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
dconf-gsettings-backend : Depends: libglib2.0-0 (>= 2.44.0) but 2.42.1-1+deb8u3 is to be installed
dconf-service : Depends: libglib2.0-0 (>= 2.44.0) but 2.42.1-1+deb8u3 is to be installed
libdconf1 : Depends: libglib2.0-0 (>= 2.44.0) but 2.42.1-1+deb8u3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
onmagaban a libglib meg nem hajlando upgrade-elodni, mer' hogy python:
$ sudo apt-get install libglib2.0-0 libglib2.0-bin libglib2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python3 : Depends: python3-minimal (= 3.4.2-2) but 3.5.3-1 is to be installed
python3-dev : Depends: python3 (= 3.5.3-1) but 3.4.2-2 is to be installed
Depends: libpython3-dev (= 3.5.3-1) but 3.4.2-2 is to be installed
Depends: python3.5-dev (>= 3.5.3-1~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
hogy tudnam ezt megoldani, hogy vegre tovabbmenjen?
MOD:
A megoldas vegul az lett, hogy KEZZEL felraktam a letoltott .deb file-okat, aztan legyalultam nagynehezen a python3.5-ot, igy mar vegig tudott menni az upgrade \o/