سلام و درود ...
در حال Upgrade لینوکس مینت (Linux Mint ) از ورژن 18.3 ( Sylvia ) به نسخه 19 (Tara ) با استفاده از MintUpgrade بودم که با اجرای دستور :
mintupgrade download
بعد از حدود 60-70 درصد دانلود به این ارور برخوردم :
Traceback (most recent call last):
File "/usr/bin/mintupgrade", line 3, in <module>
import sys, os, apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/mintupgrade", line 3, in <module>
import sys, os, apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
sam@sam-Lenovo-IdeaPad-Z510 ~ $ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python3-apt:
python3-apt depends on python3 (>= 3.6~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-apt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python3-apt (>= 0.7.93.2); however:
Package python3-apt is not configured yet.
dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-xapian:
python3-xapian depends on python3 (>= 3.6~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-xapian (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cinnamon:
cinnamon depends on cinnamon-control-center (>= 3.8.0); however:
Version of cinnamon-control-center on system is 3.6.5+sylvia.
cinnamon depends on cinnamon-desktop-data (>= 3.8.0); however:
Version of cinnamon-desktop-data on system is 3.6.2+sylvia.
cinnamon depends on cinnamon-screensaver (>= 3.8.0); however:
Version of cinnamon-screensaver on system is 3.6.1+sylvia.
cinnamon depends on cinnamon-session (>= 3.8.0); however:
Version of cinnamon-session on system is 3.6.0+sylvia.
cinnamon depends on cinnamon-settings-daemon (>= 3.8.0); however:
Version of cinnamon-settings-daemon on system is 3.6.2+sylvia.
cinnamon depends on cjs (>= 3.8); however:
Version of cjs on system is 3.6.1+sylvia.
cinnamon depends on gir1.2-cmenu-3.0 (>= 3.8.0); however:
Version of gir1.2-cmenu-3.0 on system is 3.6.0+sylvia.
cinnamon depends on libcinnamon-desktop4 (>= 3.8.0); however:
Version of libcinnamon-desktop4:amd64 on system is 3.6.2+sylvia.
cinna
dpkg: error processing package cinnamon (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-gdbm:amd64:
python3-gdbm:amd64 depends on python3 (>= 3.6.4-1~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-gdbm:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-reportlab-accel:amd64:
python3-reportlab-accel:amd64 depends on python3 (>= 3.6~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-reportlab-accel:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-cairo:amd64:
python3-cairo:amd64 depends on python3 (>= 3.6~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-cairo:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-tk:amd64:
python3-tk:amd64 depends on python3 (>= 3.6.4-1~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package python3-tk:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglib2.0-bin:
libglib2.0-bin depends on libglib2.0-0 (= 2.56.2-0ubuntu0.18.04.2); however:
Version of libglib2.0-0:amd64 on system is 2.48.2-0ubuntu4.1.
dpkg: error processing package libglib2.0-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of onboard:
onboard depends on python3-cairo; however:
Package python3-cairo:amd64 is not configured yet.
onboard depends on python3 (>= 3.6~); however:
Version of python3 on system is 3.5.1-3.
dpkg: error processing package onboard (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-apt
apt-xapian-index
python3-xapian
cinnamon
python3-gdbm:amd64
python3-reportlab-accel:amd64
python3-cairo:amd64
python3-tk:amd64
libglib2.0-bin
onboard
به نظرتون مشکل از کجاست ؟