linuxmint / mintupgrade-legacy

Tool to upgrade from one LTS to another.
20 stars 10 forks source link

Error during mint upgrade #28

Closed razerrazer closed 4 years ago

razerrazer commented 4 years ago

The following packages have unmet dependencies: aptitude : Depends: libapt-pkg5.0 (>= 1.1) but it is not installable caja-admin : Depends: python-gi but it is not installed hplip : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed libapt-inst2.0 : Depends: libapt-pkg5.0 (>= 1.1~exp9) but it is not installable libapt-pkg-perl : Depends: perlapi-5.26.1 but it is not installable Depends: libapt-pkg5.0 (>= 1.1~exp9) but it is not installable libcairo-perl : Depends: perlapi-5.26.1 but it is not installable libcommon-sense-perl : Depends: perlapi-5.26.1 but it is not installable Depends: perl (< 5.26.2~) but 5.30.0-9build1 is installed libept1.5.0 : Depends: libapt-pkg5.0 (>= 1.1~exp9) but it is not installable libfcgi-perl : Depends: perlapi-5.26.0 but it is not installable libfile-fcntllock-perl : Depends: perlapi-5.26.0 but it is not installable libglib-perl : Depends: perlapi-5.26.0 but it is not installable libgtk2-perl : Depends: perlapi-5.26.0 but it is not installable libharfbuzz-dev : Depends: gir1.2-harfbuzz-0.0 (= 2.6.4-1ubuntu4) but 1.7.2-1ubuntu1 is installed libhtml-parser-perl : Depends: perlapi-5.26.0 but it is not installable libimage-magick-q16-perl : Depends: perlapi-5.26.1 but it is not installable libio-pty-perl : Depends: perlapi-5.26.0 but it is not installable liblist-moreutils-perl : Depends: perlapi-5.26.0 but it is not installable liblocale-gettext-perl : PreDepends: perlapi-5.26.0 but it is not installable libnet-dbus-perl : Depends: perlapi-5.26.0 but it is not installable libnet-libidn-perl : Depends: perlapi-5.26.0 but it is not installable libpango-perl : Depends: perlapi-5.26.0 but it is not installable libperlio-gzip-perl : Depends: perlapi-5.26.0 but it is not installable libsocket6-perl : Depends: perlapi-5.26.0 but it is not installable libsub-name-perl : Depends: perlapi-5.26.0 but it is not installable libtext-charwidth-perl : Depends: perlapi-5.26.0 but it is not installable libtext-iconv-perl : Depends: perlapi-5.26.0 but it is not installable libuuid-perl : Depends: perlapi-5.26.0 but it is not installable libxml-parser-perl : Depends: perlapi-5.26.0 but it is not installable onboard : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python-gi-cairo : Depends: python-gi (= 3.26.1-2ubuntu1) but it is not installed python3-apt : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed Depends: libapt-pkg5.0 (>= 1.6.5~) but it is not installable python3-brlapi : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python3-cairo : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python3-crypto : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python3-cups : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python3-dbus : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed python3-gi-cairo : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed Depends: python3-gi (= 3.26.1-2ubuntu1) but 3.36.0-1 is installed python3-pycurl : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is installed synaptic : Depends: libapt-pkg5.0 (>= 1.1~exp9) but it is not installable E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

All checks and everything went through. But i had to reset the system back via USB and timeshift

clefebvre commented 4 years ago

Which PPAs were you using if any?

razerrazer commented 4 years ago

Hi Clefebvre, I use some PPAs see attached file.

image

razerrazer commented 4 years ago

I tried to remove every PPAs except of these:

image

But the problem remains, i had to take it back from backup again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/lib/python3.8/py_compile.py", line 218, in sys.exit(main()) File "/usr/lib/python3.8/py_compile.py", line 204, in main if quiet < 2: NameError: name 'quiet' is not defined error running python rtupdate hook hplip-data dpkg: error processing package python3 (--configure): installed python3 package post-installation script subprocess returned error exit status 4 dpkg: dependency problems prevent configuration of python3-gi: python3-gi depends on python3 (<< 3.9); however: Package python3 is not configured yet. python3-gi depends on python3 (>= 3.8~); however: Package python3 is not configured yet. python3-gi depends on python3:any; however: Package python3 is not configured yet.

dpkg: error processing package python3-gi (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: python3 python3-gi E: Sub-process /usr/bin/dpkg returned an error code (1)

razerrazer commented 4 years ago

This issue have been solved, i removed everything under PPAs + Removed everything under Additional repository's :

Removed all foreign packages and downgraded foreign packages.