Installation of new version of Ubuntu interrupted, many application not running, error message for updates
The ongoing upgrade of Ubuntu from 18 to 20 was interruped. Apparently the new vrsion was installe but many applications are not running. In particular Back in time wich I would use before trying to reinstall the new version to save my data.
The sw update app suggested to try to partially reinstall it but, when trying to do it it got stuck.
The update application is not working and an error message is shown about impossibility to check for existing sw updates.
Various application not working anymore.
How can I go solve the problem not loosing my data?
Thanks in avance for any help
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2021-01-08
- Last reply:
- 2021-01-08
Bashing-om (bashing-om) said : | #1 |
Hello andrea pavesi -
A lot depends on how far the install progressed.
What have we to work with ?
Post back the results of terminal commands:
lsb_release -a
cat /etc/issue
cat -n /etc/apt/
From these we have an indication if the package manager can heal its self and complete the upgrade.
-we can try-
andrea pavesi (andrea-pavesi) said : | #2 |
Hi Bashing-om
thanks for your help. These are the results of your suggested instructions
andrea@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
andrea@
bash: cat/etc/issue: File o directory non esistente
andrea@
cat: opzione non valida -- "/"
Try 'cat --help' for more information.
So what?
Thanks for any help
Bashing-om (bashing-om) said : | #3 |
andrea pavesi;
So far so good; but,
You miss typed the commands:
cat /etc/issue : there is a space between "cat" and "/etc" -
cat -n /etc/apt/
Try again post these outputs. so we know we can target the fix for this install.
-a work in progress-
andrea pavesi (andrea-pavesi) said : | #4 |
Hi Bashing-om,
thanks again for your help. Below the results
andrea@
Traceback (most recent call last):
File "/usr/lib/
from CommandNotFound import CommandNotFound
File "/usr/lib/
from CommandNotFound
File "/usr/lib/
import apt_pkg
ModuleNotFoundE
andrea@
bash: cat/etc/issue: File o directory non esistente
andrea@
bash: cat-n/etc/
andrea@
Manfred Hampl (m-hampl) said : | #5 |
You have to be more careful when typing commands. Apparently you missed to correctly add space characters between the different parts of the commands.
Please try again and copy/paste the output that you receive for the following commands:
uname -a
cat /etc/issue
cat -n /etc/apt/
sudo apt update
sudo dpkg --audit
andrea pavesi (andrea-pavesi) said : | #6 |
Thank you Manfred,
as you can read above I was told to eliminate the spaces and that's what I did. But I did it again like you suggested and the output for the first two command was:
andrea@
Linux andrea-
andrea@
Ubuntu 20.04.1 LTS \n \l
andrea@
1 # deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36
37
38 ## Uncomment the following two lines to add software from Canonical's
39 ## 'partner' repository.
40 ## This software is not part of Ubuntu, but is offered by Canonical and the
41 ## respective vendors as a service to Ubuntu users.
42 deb http://
43 deb-src http://
44
45 deb http://
46 deb http://
47 deb http://
For the third and fourth command, I was requested to enter the password butit was impossibble to type it in, even after closing and reopening the terminal window.
A lot of gratitude for any help
andrea pavesi (andrea-pavesi) said : | #7 |
New results:
sudo apt update
Trovato:1 http://
Scaricamento di:2 http://
Scaricamento di:3 http://
Scaricamento di:4 http://
Scaricamento di:5 http://
Scaricamento di:6 http://
Scaricamento di:7 http://
Scaricamento di:8 http://
Scaricamento di:9 http://
Scaricamento di:10 http://
Scaricamento di:11 http://
Scaricamento di:12 http://
Scaricamento di:13 http://
Scaricamento di:14 http://
Scaricamento di:15 http://
Scaricamento di:16 http://
Scaricamento di:17 http://
Scaricamento di:18 http://
Scaricamento di:19 http://
Scaricamento di:20 http://
Scaricamento di:21 http://
Scaricamento di:22 http://
Scaricamento di:23 http://
Scaricamento di:24 http://
Scaricamento di:25 http://
Scaricamento di:26 http://
Scaricamento di:27 http://
Scaricamento di:28 http://
Scaricamento di:29 http://
Scaricamento di:30 http://
Scaricamento di:31 http://
Scaricamento di:32 http://
Scaricamento di:33 http://
Scaricamento di:34 http://
Scaricamento di:35 http://
Scaricamento di:36 http://
Scaricamento di:37 http://
Scaricamento di:38 http://
Scaricamento di:39 http://
Scaricamento di:40 http://
Scaricamento di:41 http://
Scaricamento di:42 http://
Scaricamento di:43 http://
Scaricamento di:44 http://
Scaricamento di:45 http://
Scaricamento di:46 http://
Scaricamento di:47 http://
Scaricamento di:48 http://
Scaricamento di:49 http://
Scaricamento di:50 http://
Scaricamento di:51 http://
Scaricamento di:52 http://
Scaricamento di:53 http://
Scaricamento di:54 http://
Scaricamento di:55 http://
Scaricamento di:56 http://
Scaricamento di:57 http://
Scaricamento di:58 http://
Scaricamento di:59 http://
Scaricamento di:60 http://
Scaricamento di:61 http://
Scaricamento di:62 http://
Scaricamento di:63 http://
Scaricamento di:64 http://
Scaricamento di:65 http://
Scaricamento di:66 http://
Scaricamento di:67 http://
Recuperati 7.595 kB in 3s (2.354 kB/s)
Traceback (most recent call last):
File "/usr/lib/
from CommandNotFound
File "/usr/lib/
import apt_pkg
ModuleNotFoundE
Lettura elenco dei pacchetti... Fatto
E: Problem executing scripts APT::Update:
E: Sub-process returned an error code
andrea@
andrea@
I seguenti pacchetti sono stati estratti, ma non ancora configurati.
È necessario configurarli usando "dpkg --configure" o l'opzione di
configurazione nel menù di dselect affinché funzionino:
backintime-qt simple backup/snapshot system (graphical interface)
backintime-qt4 Qt 4 front-end for backintime (transitional package)
calibre powerful and easy to use e-book manager
calibre-bin powerful and easy to use e-book manager
debconf-i18n full internationaliz
libkf5auth5:amd64 Abstraction to system policy and authentication features
libkf5authcore
libkf5configwi
libkf5xmlgui5:
libpam-
libpolkit-
onboard Simple On-screen Keyboard
onboard-data Language model files for the word suggestion feature of O
python3-apsw another Python SQLite 3 wrapper (Python 3 version)
python3-chm Python binding for CHMLIB - Python 3
python3-
python3-debconf interact with debconf from Python 3
python3-
python3-msgpack Python 3 implementation of MessagePack format
python3-pyqt5 Python 3 bindings for Qt5
python3-
python3-
python3-
python3-regex alternative regular expression module (Python 3)
python3-
python3-sip Python 3/C++ bindings generator runtime library
snapd Daemon and tooling that enable snap packages
systemd system and service manager
systemd-timesyncd minimalistic service to synchronize local time with NTP s
Thanks a lot for any help
Manfred Hampl (m-hampl) said : | #8 |
I guess this was a misunderstanding. What Bashing-om wanted to tell is that there was already a space character missing, and not that you should leave them out.
Apparently you have found out that for a "sudo ..." command you have to "blind" type the password, because you do not get any feedback on screen (no echo, not even '*' placeholders).
And for your problem with the package management:
Execute the commands
sudo dpkg --configure -a
sudo apt install --reinstall python3-apt -f
and copy/paste the results that you receive, that we can check.
andrea pavesi (andrea-pavesi) said : | #9 |
Output of your suggested commands:
andrea@
[sudo] password di andrea:
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di calibre:
calibre dipende da python3-
Il pacchetto python3-
dpkg: errore nell'elaborare il pacchetto calibre (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di debconf-i18n:
debconf-i18n dipende da debconf (= 1.5.73); tuttavia:
La versione di debconf nel sistema è 1.5.66ubuntu1.
dpkg: errore nell'elaborare il pacchetto debconf-i18n (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-pyqt5:
python3-pyqt5 dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-pyqt5 (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-chm:
python3-chm dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-chm (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-msgpack:
python3-msgpack dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-msgpack (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
Il pacchetto python3-pyqt5 non è ancora configurato.
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
Il pacchetto python3-pyqt5 non è ancora configurato.
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-pyqt5.qtsvg (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-regex:
python3-regex dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-regex (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-apsw:
python3-apsw dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-apsw (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di backintime-qt:
backintime-qt dipende da python3-pyqt5; tuttavia:
Il pacchetto python3-pyqt5 non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto backintime-qt (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-debconf:
python3-debconf dipende da debconf (= 1.5.73); tuttavia:
La versione di debconf nel sistema è 1.5.66ubuntu1.
dpkg: errore nell'elaborare il pacchetto python3-debconf (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di systemd:
systemd dipende da libsystemd0 (= 245.4-4ubuntu3.3); tuttavia:
La versione di libsystemd0:amd64 nel sistema è 237-3ubuntu10.43.
dpkg: errore nell'elaborare il pacchetto systemd (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di backintime-qt4:
backintime-qt4 dipende da backintime-qt; tuttavia:
Il pacchetto backintime-qt non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto backintime-qt4 (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-sip:
python3-sip dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-sip (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di onboard:
onboard dipende da python3 (>= 3.8~); tuttavia:
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto onboard (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di python3-
python3-
La versione di python3 nel sistema è 3.6.7-1~18.04.
dpkg: errore nell'elaborare il pacchetto python3-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di systemd-timesyncd:
systemd-timesyncd dipende da systemd (= 245.4-4ubuntu3.3); tuttavia:
Il pacchetto systemd non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto systemd-timesyncd (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libpam-
libpam-
Il pacchetto systemd non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto libpam-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libpolkit-
libpolkit-
Il pacchetto default-logind non è installato.
Il pacchetto libpam-
Il pacchetto logind non è installato.
Il pacchetto systemd-services che fornisce logind non è installato.
Il pacchetto libpam-
dpkg: errore nell'elaborare il pacchetto libpolkit-
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libkf5authcore5
libkf5authcore
Il pacchetto libpolkit-
dpkg: errore nell'elaborare il pacchetto libkf5authcore5
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libkf5auth5:amd64:
libkf5auth5:amd64 dipende da libkf5authcore5 (= 5.68.0-0ubuntu1); tuttavia:
Il pacchetto libkf5authcore5
dpkg: errore nell'elaborare il pacchetto libkf5auth5:amd64 (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di snapd:
snapd dipende da systemd; tuttavia:
Il pacchetto systemd non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto snapd (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di calibre-bin:
calibre-bin dipende da sip-py3api-12.7; tuttavia:
Il pacchetto sip-py3api-12.7 non è installato.
Il pacchetto python3-sip che fornisce sip-py3api-12.7 non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto calibre-bin (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di onboard-data:
onboard-data dipende da onboard (<< 1.4.1-2ubuntu7.1); tuttavia:
Il pacchetto onboard non è ancora configurato.
onboard-data dipende da onboard (>= 1.4.1-2ubuntu7); tuttavia:
Il pacchetto onboard non è ancora configurato.
dpkg: errore nell'elaborare il pacchetto onboard-data (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libkf5configwid
libkf5configwi
Il pacchetto libkf5authcore5
dpkg: errore nell'elaborare il pacchetto libkf5configwid
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libkf5xmlgui5:
libkf5xmlgui5:
Il pacchetto libkf5configwid
dpkg: errore nell'elaborare il pacchetto libkf5xmlgui5:amd64 (--configure):
problemi con le dipendenze - lasciato non configurato
Si sono verificati degli errori nell'elaborazione:
python3-
calibre
debconf-i18n
python3-pyqt5
python3-
python3-chm
python3-msgpack
python3-
python3-
python3-regex
python3-apsw
backintime-qt
python3-debconf
systemd
backintime-qt4
python3-sip
python3-
onboard
python3-
systemd-timesyncd
libpam-
libpolkit-
libkf5authcore
libkf5auth5:amd64
snapd
calibre-bin
onboard-data
libkf5configwi
libkf5xmlgui5:
andrea@
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
È utile eseguire "apt --fix-broken install" per correggere ciò.
I seguenti pacchetti hanno dipendenze non soddisfatte:
bleachbit : Dipende: python-gtk2 ma non è installabile
debconf-i18n : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 sta per essere installata
ibus-pinyin : Dipende: python:any (>= 2.7.5-5~)
libnss-systemd : Dipende: systemd (= 237-3ubuntu10.43)
libqt4-declarative : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-designer : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-help : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-network : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-script : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-scripttools : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql-sqlite : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-svg : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-test : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xml : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xmlpatterns : Dipende: libqtcore4 (= 4:4.8.7+
libqtassistant
libqtdbus4 : Dipende: libqtcore4 (= 4:4.8.7+
libqtgui4 : Dipende: libqtcore4 (= 4:4.8.7+
mercurial : Dipende: python (< 2.8)
mercurial-common : Dipende: python:any (< 2.8)
onboard : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python-apsw : Dipende: python (< 2.8)
python-asn1crypto : Dipende: python:any (< 2.8)
python-bs4 : Dipende: python:any (< 2.8)
python-cairo : Dipende: python (< 2.8)
python-
python-chardet : Dipende: python:any (< 2.8)
python-cherrypy3 : Dipende: python:any (< 2.8)
python-
python-cssselect : Dipende: python
python-cssutils : Dipende: python:any (< 2.8)
python-dateutil : Dipende: python:any (< 2.8)
python-dnspython : Dipende: python:any (< 2.8)
python-enum34 : Dipende: python:any (< 2.8)
python-feedparser : Dipende: python:any (< 2.8)
python-gi : Dipende: python (< 2.8)
python-gnucash : Dipende: python (< 2.8)
python-gobject-2 : Dipende: python (< 2.8)
python-
python-html5lib : Dipende: python:any (< 2.8)
python-idna : Dipende: python:any (< 2.8)
python-ipaddress : Dipende: python:any (< 2.8)
python-lxml : Dipende: python (< 2.8)
python-markdown : Dipende: python:any (< 2.8)
python-mechanize : Dipende: python (>= 2.7.1-0ubuntu2)
python-msgpack : Dipende: python (< 2.8)
python-netifaces : Dipende: python (< 2.8)
python-olefile : Dipende: python:any (< 2.8)
python-openssl : Dipende: python:any (< 2.8)
python-
python-pyparsing : Dipende: python:any (< 2.8)
python-regex : Dipende: python (< 2.8)
python-repoze.lru : Dipende: python:any (< 2.8)
python-routes : Dipende: python:any (< 2.8)
python-simplejson : Dipende: python (< 2.8)
python-six : Dipende: python:any (< 2.8)
python-utidylib : Dipende: python:any (< 2.8)
python-
python-webob : Dipende: python:any (< 2.8)
python-yaml : Dipende: python (< 2.8)
python-zeitgeist : Dipende: python:any (< 2.8)
python3 : Pre-dipende: python3-minimal (= 3.6.7-1~18.04) ma la versione 3.8.2-0ubuntu2 sta per essere installata
Dipende: libpython3-stdlib (= 3.6.7-1~18.04) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-apsw : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-apt : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-chm : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-
python3-
python3-debconf : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 sta per essere installata
python3-
python3-msgpack : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-pyqt4 : Dipende: libqtcore4 (>= 4:4.8.0-1~) ma non è installabile
python3-pyqt5 : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-
python3-
python3-
python3-regex : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-renderpm : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
python3-sip : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 sta per essere installata
qdbus : Dipende: libqtcore4 (= 4:4.8.7+
qt-at-spi : Dipende: libqtcore4 (>= 4:4.8~) ma non è installabile
sni-qt : Dipende: libqtcore4 (>= 4:4.7.3-1ubuntu3~) ma non è installabile
Dipende: libdbusmenu-qt2 ma non è installabile
systemd : Dipende: libsystemd0 (= 245.4-4ubuntu3.3) ma la versione 237-3ubuntu10.43 sta per essere installata
E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).
andrea@
Manfred Hampl (m-hampl) said : | #10 |
Most of the error messages seem to point towards a problem with the pytgon3 package.
What output do you receive for
sudo apt install python3 -f
andrea pavesi (andrea-pavesi) said : | #11 |
Thanks Manfeed, this is the output:
andrea@
[sudo] password di andrea:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
È utile eseguire "apt --fix-broken install" per correggere ciò.
I seguenti pacchetti hanno dipendenze non soddisfatte:
bleachbit : Dipende: python-gtk2 ma non è installabile
debconf-i18n : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 sta per essere installata
hplip : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
ibus-pinyin : Dipende: python:any (>= 2.7.5-5~)
libnss-systemd : Dipende: systemd (= 237-3ubuntu10.43)
libqt4-declarative : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-designer : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-help : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-network : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-script : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-scripttools : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql-sqlite : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-svg : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-test : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xml : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xmlpatterns : Dipende: libqtcore4 (= 4:4.8.7+
libqtassistant
libqtdbus4 : Dipende: libqtcore4 (= 4:4.8.7+
libqtgui4 : Dipende: libqtcore4 (= 4:4.8.7+
mercurial : Dipende: python (< 2.8)
mercurial-common : Dipende: python:any (< 2.8)
python-apsw : Dipende: python (< 2.8)
python-asn1crypto : Dipende: python:any (< 2.8)
python-bs4 : Dipende: python:any (< 2.8)
python-cairo : Dipende: python (< 2.8)
python-
python-chardet : Dipende: python:any (< 2.8)
python-cherrypy3 : Dipende: python:any (< 2.8)
python-
python-cssselect : Dipende: python
python-cssutils : Dipende: python:any (< 2.8)
python-dateutil : Dipende: python:any (< 2.8)
python-dnspython : Dipende: python:any (< 2.8)
python-enum34 : Dipende: python:any (< 2.8)
python-feedparser : Dipende: python:any (< 2.8)
python-gi : Dipende: python (< 2.8)
python-gnucash : Dipende: python (< 2.8)
python-gobject-2 : Dipende: python (< 2.8)
python-
python-html5lib : Dipende: python:any (< 2.8)
python-idna : Dipende: python:any (< 2.8)
python-ipaddress : Dipende: python:any (< 2.8)
python-lxml : Dipende: python (< 2.8)
python-markdown : Dipende: python:any (< 2.8)
python-mechanize : Dipende: python (>= 2.7.1-0ubuntu2)
python-msgpack : Dipende: python (< 2.8)
python-netifaces : Dipende: python (< 2.8)
python-olefile : Dipende: python:any (< 2.8)
python-openssl : Dipende: python:any (< 2.8)
python-
python-pyparsing : Dipende: python:any (< 2.8)
python-regex : Dipende: python (< 2.8)
python-repoze.lru : Dipende: python:any (< 2.8)
python-routes : Dipende: python:any (< 2.8)
python-simplejson : Dipende: python (< 2.8)
python-six : Dipende: python:any (< 2.8)
python-utidylib : Dipende: python:any (< 2.8)
python-
python-webob : Dipende: python:any (< 2.8)
python-yaml : Dipende: python (< 2.8)
python-zeitgeist : Dipende: python:any (< 2.8)
python3-apt : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-brlapi : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-cairo : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-
python3-crypto : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-cups : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-dbus : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-
python3-debconf : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 sta per essere installata
python3-gi : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-gi-cairo : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-lxml : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-markupsafe : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-nacl : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-netifaces : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-pil : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-protobuf : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-pyqt4 : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-
python3-simplejson : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-systemd : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-uno : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-yaml : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
python3-
qdbus : Dipende: libqtcore4 (= 4:4.8.7+
qt-at-spi : Dipende: libqtcore4 (>= 4:4.8~) ma non è installabile
rhythmbox-plugins : Dipende: python3 (< 3.7) ma la versione 3.8.2-0ubuntu2 sta per essere installata
sni-qt : Dipende: libqtcore4 (>= 4:4.7.3-1ubuntu3~) ma non è installabile
Dipende: libdbusmenu-qt2 ma non è installabile
systemd : Dipende: libsystemd0 (= 245.4-4ubuntu3.3) ma la versione 237-3ubuntu10.43 sta per essere installata
E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).
andrea@
Manfred Hampl (m-hampl) said : | #12 |
Ok. Apparently you have still some package installed in the version for Ubuntu 18.04 which now interfere with some other packages that are already in the version for Ubuntu 20.04.
What output do you receive for the command
sudo apt --fix-broken install
andrea pavesi (andrea-pavesi) said : | #13 |
The output is:
andrea@
[sudo] password di andrea:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Correzione delle dipendenze... non riuscita.
I seguenti pacchetti hanno dipendenze non soddisfatte:
bleachbit : Dipende: python-gtk2 ma non è installabile
debconf-i18n : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 è installata
ibus-pinyin : Dipende: python:any (>= 2.7.5-5~)
libnss-systemd : Dipende: systemd (= 237-3ubuntu10.43)
libqt4-declarative : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-designer : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-help : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-network : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-script : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-scripttools : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-sql-sqlite : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-svg : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-test : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xml : Dipende: libqtcore4 (= 4:4.8.7+
libqt4-xmlpatterns : Dipende: libqtcore4 (= 4:4.8.7+
libqtassistant
libqtdbus4 : Dipende: libqtcore4 (= 4:4.8.7+
libqtgui4 : Dipende: libqtcore4 (= 4:4.8.7+
mercurial : Dipende: python (< 2.8)
mercurial-common : Dipende: python:any (< 2.8)
onboard : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python-apsw : Dipende: python (< 2.8)
python-asn1crypto : Dipende: python:any (< 2.8)
python-bs4 : Dipende: python:any (< 2.8)
python-cairo : Dipende: python (< 2.8)
python-
python-chardet : Dipende: python:any (< 2.8)
python-cherrypy3 : Dipende: python:any (< 2.8)
python-
python-cssselect : Dipende: python
python-cssutils : Dipende: python:any (< 2.8)
python-dateutil : Dipende: python:any (< 2.8)
python-dnspython : Dipende: python:any (< 2.8)
python-enum34 : Dipende: python:any (< 2.8)
python-feedparser : Dipende: python:any (< 2.8)
python-gi : Dipende: python (< 2.8)
python-gnucash : Dipende: python (< 2.8)
python-gobject-2 : Dipende: python (< 2.8)
python-
python-html5lib : Dipende: python:any (< 2.8)
python-idna : Dipende: python:any (< 2.8)
python-ipaddress : Dipende: python:any (< 2.8)
python-lxml : Dipende: python (< 2.8)
python-markdown : Dipende: python:any (< 2.8)
python-mechanize : Dipende: python (>= 2.7.1-0ubuntu2)
python-msgpack : Dipende: python (< 2.8)
python-netifaces : Dipende: python (< 2.8)
python-olefile : Dipende: python:any (< 2.8)
python-openssl : Dipende: python:any (< 2.8)
python-
python-pyparsing : Dipende: python:any (< 2.8)
python-regex : Dipende: python (< 2.8)
python-repoze.lru : Dipende: python:any (< 2.8)
python-routes : Dipende: python:any (< 2.8)
python-simplejson : Dipende: python (< 2.8)
python-six : Dipende: python:any (< 2.8)
python-utidylib : Dipende: python:any (< 2.8)
python-
python-webob : Dipende: python:any (< 2.8)
python-yaml : Dipende: python (< 2.8)
python-zeitgeist : Dipende: python:any (< 2.8)
python3 : Pre-dipende: python3-minimal (= 3.6.7-1~18.04) ma la versione 3.8.2-0ubuntu2 è installata
Dipende: libpython3-stdlib (= 3.6.7-1~18.04) ma la versione 3.8.2-0ubuntu2 è installata
python3-apsw : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-chm : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-
python3-
python3-debconf : Dipende: debconf (= 1.5.73) ma la versione 1.5.66ubuntu1 è installata
python3-
python3-msgpack : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-pyqt4 : Dipende: libqtcore4 (>= 4:4.8.0-1~) ma non è installabile
python3-pyqt5 : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-
python3-
python3-
python3-regex : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-renderpm : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
python3-sip : Dipende: python3 (>= 3.8~) ma la versione 3.6.7-1~18.04 è installata
qdbus : Dipende: libqtcore4 (= 4:4.8.7+
qt-at-spi : Dipende: libqtcore4 (>= 4:4.8~) ma non è installabile
sni-qt : Dipende: libqtcore4 (>= 4:4.7.3-1ubuntu3~) ma non è installabile
Dipende: libdbusmenu-qt2 ma non è installabile
systemd : Dipende: libsystemd0 (= 245.4-4ubuntu3.3) ma la versione 237-3ubuntu10.43 è installata
E: Errore, pkgProblemResol
E: Impossibile correggere le dipendenze
andrea@
Manfred Hampl (m-hampl) said : | #14 |
It seems that this is going to be complicated.
What is the output of the command
apt-cache policy python python3 libqt4-declarative libqtcore4
andrea pavesi (andrea-pavesi) said : | #15 |
andrea@
python:
Installato: (nessuno)
Candidato: (nessuno)
Tabella versione:
2.7.15~rc1-1 -1
100 /var/lib/
python3:
Installato: 3.6.7-1~18.04
Candidato: 3.8.2-0ubuntu2
Tabella versione:
3.8.2-0ubuntu2 500
500 http://
*** 3.6.7-1~18.04 100
100 /var/lib/
libqt4-declarative:
Installato: 4:4.8.7+
Candidato: 4:4.8.7+
Tabella versione:
*** 4:4.8.7+
100 /var/lib/
libqtcore4:
Installato: (nessuno)
Candidato: (nessuno)
Tabella versione:
4:
100 /var/lib/
andrea@
Manfred Hampl (m-hampl) said : | #16 |
An attempt to repair the packages depending on Python 2 as a first step:
Issue the commands
wget https:/
sudo dpkg -i python_
and copy/paste the output that we can check.
andrea pavesi (andrea-pavesi) said : | #17 |
andrea@
--2021-01-07 22:42:48-- https:/
Risoluzione di launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223, 2001:67c:
Connessione a launchpad.net (launchpad.
Richiesta HTTP inviata, in attesa di risposta... 303 See Other
Posizione: https:/
--2021-01-07 22:42:48-- https:/
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 139968 (137K) [application/
Salvataggio in: "python_
python_2.7.15~rc1 100%[============>] 136,69K --.-KB/s in 0,1s
2021-01-07 22:42:48 (1,23 MB/s) - "python_
andrea@
[sudo] password di andrea:
Selezionato il pacchetto python non precedentemente selezionato.
dpkg: problemi con le pre-dipendenze di python_
python pre-dipende da python-minimal (= 2.7.15~rc1-1)
python-minimal non è installato.
dpkg: errore nell'elaborare l'archivio python_
problema con le pre-dipendenze - python non viene installato
Si sono verificati degli errori nell'elaborazione:
python_
andrea@
Manfred Hampl (m-hampl) said : | #18 |
ok, try
wget https:/
sudo dpkg -i python-
wget https:/
sudo dpkg -i python_
and copy/paste the output as done before.
andrea pavesi (andrea-pavesi) said : | #19 |
The output:
andrea@
--2021-01-07 22:49:23-- https:/
Risoluzione di launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222, 2001:67c:
Connessione a launchpad.net (launchpad.
Richiesta HTTP inviata, in attesa di risposta... 303 See Other
Posizione: https:/
--2021-01-07 22:49:23-- https:/
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 28068 (27K) [application/
Salvataggio in: "python-
python-minimal_2.7. 100%[==
2021-01-07 22:49:24 (563 KB/s) - "python-
andrea@
[sudo] password di andrea:
Selezionato il pacchetto python-minimal non precedentemente selezionato.
(Lettura del database... 360170 file e directory attualmente installati.)
Preparativi per estrarre python-
Estrazione di python-minimal (2.7.15~rc1-1)...
Sostituiti dai file nel pacchetto python2-minimal (2.7.17-2ubuntu4) installato...
dpkg: problemi con le dipendenze impediscono la configurazione di python-minimal:
python2-minimal (2.7.17-2ubuntu4) danneggia python-minimal (<< 2.7.15-2) ed è installato.
La versione di python-minimal da configurare è 2.7.15~rc1-1.
dpkg: errore nell'elaborare il pacchetto python-minimal (--install):
problemi con le dipendenze - lasciato non configurato
Elaborazione dei trigger per man-db (2.8.3-
Si sono verificati degli errori nell'elaborazione:
python-minimal
andrea@
--2021-01-07 22:50:38-- https:/
Risoluzione di launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222, 2001:67c:
Connessione a launchpad.net (launchpad.
Richiesta HTTP inviata, in attesa di risposta... 303 See Other
Posizione: https:/
--2021-01-07 22:50:38-- https:/
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 139968 (137K) [application/
Salvataggio in: "python_
python_2.7.15~rc1-1 100%[==
2021-01-07 22:50:39 (1,21 MB/s) - "python_
andrea@
dpkg: problemi con le pre-dipendenze di python_
python pre-dipende da python-minimal (= 2.7.15~rc1-1)
python-minimal è stato estratto, ma non è mai stato configurato.
dpkg: errore nell'elaborare l'archivio python_
problema con le pre-dipendenze - python non viene installato
Si sono verificati degli errori nell'elaborazione:
python_
andrea@
Manfred Hampl (m-hampl) said : | #20 |
ok, try
sudo dpkg --purge python2-minimal --force-depends
sudo dpkg -i python-
sudo dpkg -i python_
andrea pavesi (andrea-pavesi) said : | #21 |
andrea@
[sudo] password di andrea:
dpkg: errore: --purge richiede un nome di pacchetto valido. "--force-depends" non lo è: nome di pacchetto non valido nello specificatore "--force-depends": deve iniziare con un carattere alfanumerico
Usare dpkg --help per un aiuto sull'installazione e la rimozione dei pacchetti [*].
Usare "apt" o "aptitude" per un'interfaccia alla gestione dei pacchetti.
Usare dpkg -Dhelp per l'elenco delle opzioni di debug per dpkg.
Usare dpkg --force-help per l'elenco delle opzioni di forzatura.
Usare dpkg-deb --help per un aiuto sulla manipolazione dei file *.deb.
Le opzioni indicate con [*] producono output prolisso - creare una pipe con "less" o "more".
andrea@
(Lettura del database... 360176 file e directory attualmente installati.)
Preparativi per estrarre python-
Estrazione di python-minimal (2.7.15~rc1-1) su (2.7.15~rc1-1)...
Sostituiti dai file nel pacchetto python2-minimal (2.7.17-2ubuntu4) installato...
dpkg: problemi con le dipendenze impediscono la configurazione di python-minimal:
python2-minimal (2.7.17-2ubuntu4) danneggia python-minimal (<< 2.7.15-2) ed è installato.
La versione di python-minimal da configurare è 2.7.15~rc1-1.
dpkg: errore nell'elaborare il pacchetto python-minimal (--install):
problemi con le dipendenze - lasciato non configurato
Elaborazione dei trigger per man-db (2.8.3-
Si sono verificati degli errori nell'elaborazione:
python-minimal
andrea@
dpkg: problemi con le pre-dipendenze di python_
python pre-dipende da python-minimal (= 2.7.15~rc1-1)
python-minimal è stato estratto, ma non è mai stato configurato.
dpkg: errore nell'elaborare l'archivio python_
problema con le pre-dipendenze - python non viene installato
Si sono verificati degli errori nell'elaborazione:
python_
andrea@
Manfred Hampl (m-hampl) said : | #22 |
Sorry, my fault, wrong sequence, try again with
sudo dpkg --force-depends --purge python2-minimal
sudo dpkg -i python-
sudo dpkg -i python_
andrea pavesi (andrea-pavesi) said : | #23 |
Here's the output:
andrea@
[sudo] password di andrea:
dpkg: python2-minimal: problemi con le dipendenze, ma viene rimosso comunque:
python2 dipende da python2-minimal (= 2.7.17-2ubuntu4).
(Lettura del database... 360175 file e directory attualmente installati.)
Rimozione di python2-minimal (2.7.17-
Elaborazione dei trigger per man-db (2.8.3-
andrea@
(Lettura del database... 360153 file e directory attualmente installati.)
Preparativi per estrarre python-
Estrazione di python-minimal (2.7.15~rc1-1) su (2.7.15~rc1-1)...
Configurazione di python-minimal (2.7.15~rc1-1)...
Elaborazione dei trigger per man-db (2.8.3-
andrea@
(Lettura del database... 360172 file e directory attualmente installati.)
Preparativi per estrarre python_
Estrazione di python (2.7.15~rc1-1)...
Sostituiti dai file nel pacchetto python2 (2.7.17-2ubuntu4) installato...
dpkg: problemi con le dipendenze impediscono la configurazione di python:
python dipende da libpython-stdlib (= 2.7.15~rc1-1); tuttavia:
Il pacchetto libpython-stdlib non è installato.
python2 (2.7.17-2ubuntu4) danneggia python (<< 2.7.15-2) ed è installato.
La versione di python da configurare è 2.7.15~rc1-1.
dpkg: errore nell'elaborare il pacchetto python (--install):
problemi con le dipendenze - lasciato non configurato
Elaborazione dei trigger per doc-base (0.10.8)...
Elaborazione 1 file doc-base aggiunto...
Elaborazione dei trigger per man-db (2.8.3-
Si sono verificati degli errori nell'elaborazione:
python
andrea@
Manfred Hampl (m-hampl) said : | #24 |
ok, a first very small step worked.
Continue with
wget https:/
LANG=C sudo dpkg --force-depends --purge python2
LANG=C sudo dpkg -i libpython-
LANG=C sudo dpkg -i python_
andrea pavesi (andrea-pavesi) said : | #25 |
Glad opr the progress!
Next output:
andrea@
--2021-01-07 23:15:43-- https:/
Risoluzione di launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223, 2001:67c:
Connessione a launchpad.net (launchpad.
Richiesta HTTP inviata, in attesa di risposta... 303 See Other
Posizione: https:/
--2021-01-07 23:15:44-- https:/
Risoluzione di launchpadlibrar
Connessione a launchpadlibrar
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 7620 (7,4K) [application/
Salvataggio in: "libpython-
libpython-stdlib_2. 100%[==
2021-01-07 23:15:44 (5,04 MB/s) - "libpython-
andrea@
[sudo] password for andrea:
Sorry, try again.
[sudo] password for andrea:
dpkg: python2: dependency problems, but removing anyway as you requested:
python-sip depends on python2 (<< 2.8).
python-sip depends on python2 (>= 2.7~).
python-sip depends on python2:any (<< 2.8).
python-sip depends on python2:any (>= 2.7~).
python-sip depends on python2 (<< 2.8).
python-sip depends on python2 (>= 2.7~).
python-sip depends on python2:any (<< 2.8).
python-sip depends on python2:any (>= 2.7~).
python-sip depends on python2 (<< 2.8).
python-sip depends on python2 (>= 2.7~).
python-sip depends on python2:any (<< 2.8).
python-sip depends on python2:any (>= 2.7~).
python-sip depends on python2 (<< 2.8).
python-sip depends on python2 (>= 2.7~).
python-sip depends on python2:any (<< 2.8).
python-sip depends on python2:any (>= 2.7~).
python-xdg depends on python2:any (<< 2.8).
python-xdg depends on python2:any (>= 2.7~).
python-xdg depends on python2:any (<< 2.8).
python-xdg depends on python2:any (>= 2.7~).
python-pil:amd64 depends on python2 (<< 2.8).
python-pil:amd64 depends on python2 (>= 2.7~).
python-pil:amd64 depends on python2:any (<< 2.8).
python-pil:amd64 depends on python2:any (>= 2.7~).
python-pil:amd64 depends on python2 (<< 2.8).
python-pil:amd64 depends on python2 (>= 2.7~).
python-pil:amd64 depends on python2:any (<< 2.8).
python-pil:amd64 depends on python2:any (>= 2.7~).
python-pil:amd64 depends on python2 (<< 2.8).
python-pil:amd64 depends on python2 (>= 2.7~).
python-pil:amd64 depends on python2:any (<< 2.8).
python-pil:amd64 depends on python2:any (>= 2.7~).
python-pil:amd64 depends on python2 (<< 2.8).
python-pil:amd64 depends on python2 (>= 2.7~).
python-pil:amd64 depends on python2:any (<< 2.8).
python-pil:amd64 depends on python2:any (>= 2.7~).
python-dbus depends on python2 (<< 2.8).
python-dbus depends on python2 (>= 2.7~).
python-dbus depends on python2:any (<< 2.8).
python-dbus depends on python2:any (>= 2.7~).
python-dbus depends on python2 (<< 2.8).
python-dbus depends on python2 (>= 2.7~).
python-dbus depends on python2:any (<< 2.8).
python-dbus depends on python2:any (>= 2.7~).
python-dbus depends on python2 (<< 2.8).
python-dbus depends on python2 (>= 2.7~).
python-dbus depends on python2:any (<< 2.8).
python-dbus depends on python2:any (>= 2.7~).
python-dbus depends on python2 (<< 2.8).
python-dbus depends on python2 (>= 2.7~).
python-dbus depends on python2:any (<< 2.8).
python-dbus depends on python2:any (>= 2.7~).
python-libxml2 depends on python2 (<< 2.8).
python-libxml2 depends on python2 (>= 2.7~).
python-libxml2 depends on python2:any (<< 2.8).
python-libxml2 depends on python2:any (>= 2.7~).
python-libxml2 depends on python2 (<< 2.8).
python-libxml2 depends on python2 (>= 2.7~).
python-libxml2 depends on python2:any (<< 2.8).
python-libxml2 depends on python2:any (>= 2.7~).
python-libxml2 depends on python2 (<< 2.8).
python-libxml2 depends on python2 (>= 2.7~).
python-libxml2 depends on python2:any (<< 2.8).
python-libxml2 depends on python2:any (>= 2.7~).
python-libxml2 depends on python2 (<< 2.8).
python-libxml2 depends on python2 (>= 2.7~).
python-libxml2 depends on python2:any (<< 2.8).
python-libxml2 depends on python2:any (>= 2.7~).
python-pygments depends on python2:any (<< 2.8).
python-pygments depends on python2:any (>= 2.7~).
python-pygments depends on python2:any (<< 2.8).
python-pygments depends on python2:any (>= 2.7~).
(Reading database ... 360211 files and directories currently installed.)
Removing python2 (2.7.17-2ubuntu4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
andrea@
Selecting previously unselected package libpython-
(Reading database ... 360187 files and directories currently installed.)
Preparing to unpack libpython-
Unpacking libpython-
dpkg: dependency problems prevent configuration of libpython-
libpython2-
Version of libpython-
dpkg: error processing package libpython-
dependency problems - leaving unconfigured
Errors were encountered while processing:
libpython-
andrea@
(Reading database ... 360191 files and directories currently installed.)
Preparing to unpack python_
Unpacking python (2.7.15~rc1-1) over (2.7.15~rc1-1) ...
dpkg: dependency problems prevent configuration of python:
python depends on libpython-stdlib (= 2.7.15~rc1-1); however:
Package libpython-
dpkg: error processing package python (--install):
dependency problems - leaving unconfigured
Processing triggers for doc-base (0.10.8) ...
Processing 1 changed doc-base file...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
python
andrea@
Manfred Hampl (m-hampl) said : | #26 |
ok, this needs another removal:
LANG=C sudo dpkg --force-depends --purge libpython2-stdlib
LANG=C sudo dpkg -i libpython-
LANG=C sudo dpkg -i python_
andrea pavesi (andrea-pavesi) said : | #27 |
andrea@
[sudo] password for andrea:
(Reading database ... 360201 files and directories currently installed.)
Removing libpython2-
andrea@
(Reading database ... 360198 files and directories currently installed.)
Preparing to unpack libpython-
Unpacking libpython-
Setting up libpython-
andrea@
(Reading database ... 360198 files and directories currently installed.)
Preparing to unpack python_
Unpacking python (2.7.15~rc1-1) over (2.7.15~rc1-1) ...
Setting up python (2.7.15~rc1-1) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 changed doc-base file...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
andrea@
Manfred Hampl (m-hampl) said : | #28 |
ok, let's check whether the situation has improved compared to the beginning, what is now the output of the commands
LANG=C sudo dpkg --configure -a
LANG=C sudo apt --fix-broken install
(I have to stop now and will be back in 10 hours)
andrea pavesi (andrea-pavesi) said : | #29 |
Ok, this is the last output. Thanks a lot and have a good rest.
andrea@
[sudo] password for andrea:
dpkg: dependency problems prevent configuration of python3-
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of calibre:
calibre depends on python3-
Package python3-
dpkg: error processing package calibre (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of debconf-i18n:
debconf-i18n depends on debconf (= 1.5.73); however:
Version of debconf on system is 1.5.66ubuntu1.
dpkg: error processing package debconf-i18n (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyqt5:
python3-pyqt5 depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-pyqt5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-chm:
python3-chm depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-chm (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-msgpack:
python3-msgpack depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-msgpack (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-
python3-
Package python3-pyqt5 is not configured yet.
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-
python3-
Package python3-pyqt5 is not configured yet.
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-pyqt5.qtsvg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-regex:
python3-regex depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-regex (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-apsw:
python3-apsw depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-apsw (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of backintime-qt:
backintime-qt depends on python3-pyqt5; however:
Package python3-pyqt5 is not configured yet.
dpkg: error processing package backintime-qt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on debconf (= 1.5.73); however:
Version of debconf on system is 1.5.66ubuntu1.
dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of systemd:
systemd depends on libsystemd0 (= 245.4-4ubuntu3.3); however:
Version of libsystemd0:amd64 on system is 237-3ubuntu10.43.
dpkg: error processing package systemd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of backintime-qt4:
backintime-qt4 depends on backintime-qt; however:
Package backintime-qt is not configured yet.
dpkg: error processing package backintime-qt4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-sip:
python3-sip depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-sip (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of onboard:
onboard depends on python3 (>= 3.8~); however:
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package onboard (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-
python3-
Version of python3 on system is 3.6.7-1~18.04.
dpkg: error processing package python3-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of systemd-timesyncd:
systemd-timesyncd depends on systemd (= 245.4-4ubuntu3.3); however:
Package systemd is not configured yet.
dpkg: error processing package systemd-timesyncd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-
libpam-
Package systemd is not configured yet.
dpkg: error processing package libpam-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpolkit-
libpolkit-
Package default-logind is not installed.
Package libpam-
Package logind is not installed.
Package systemd-services which provides logind is not installed.
Package libpam-
dpkg: error processing package libpolkit-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkf5authcore5
libkf5authcore
Package libpolkit-
dpkg: error processing package libkf5authcore5
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkf5auth5:amd64:
libkf5auth5:amd64 depends on libkf5authcore5 (= 5.68.0-0ubuntu1); however:
Package libkf5authcore5
dpkg: error processing package libkf5auth5:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of snapd:
snapd depends on systemd; however:
Package systemd is not configured yet.
dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of calibre-bin:
calibre-bin depends on sip-py3api-12.7; however:
Package sip-py3api-12.7 is not installed.
Package python3-sip which provides sip-py3api-12.7 is not configured yet.
dpkg: error processing package calibre-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of onboard-data:
onboard-data depends on onboard (<< 1.4.1-2ubuntu7.1); however:
Package onboard is not configured yet.
onboard-data depends on onboard (>= 1.4.1-2ubuntu7); however:
Package onboard is not configured yet.
dpkg: error processing package onboard-data (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkf5configwid
libkf5configwi
Package libkf5authcore5
dpkg: error processing package libkf5configwid
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkf5xmlgui5:
libkf5xmlgui5:
Package libkf5configwid
dpkg: error processing package libkf5xmlgui5:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-
calibre
debconf-i18n
python3-pyqt5
python3-
python3-chm
python3-msgpack
python3-
python3-
python3-regex
python3-apsw
backintime-qt
python3-debconf
systemd
backintime-qt4
python3-sip
python3-
onboard
python3-
systemd-timesyncd
libpam-
libpolkit-
libkf5authcore
libkf5auth5:amd64
snapd
calibre-bin
onboard-data
libkf5configwi
libkf5xmlgui5:
andrea@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
bleachbit : Depends: python-gtk2 but it is not installable
debconf-i18n : Depends: debconf (= 1.5.73) but 1.5.66ubuntu1 is installed
libnss-systemd : Depends: systemd (= 237-3ubuntu10.43)
libqt4-declarative : Depends: libqtcore4 (= 4:4.8.7+
libqt4-designer : Depends: libqtcore4 (= 4:4.8.7+
libqt4-help : Depends: libqtcore4 (= 4:4.8.7+
libqt4-network : Depends: libqtcore4 (= 4:4.8.7+
libqt4-script : Depends: libqtcore4 (= 4:4.8.7+
libqt4-scripttools : Depends: libqtcore4 (= 4:4.8.7+
libqt4-sql : Depends: libqtcore4 (= 4:4.8.7+
libqt4-sql-sqlite : Depends: libqtcore4 (= 4:4.8.7+
libqt4-svg : Depends: libqtcore4 (= 4:4.8.7+
libqt4-test : Depends: libqtcore4 (= 4:4.8.7+
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+
libqt4-xmlpatterns : Depends: libqtcore4 (= 4:4.8.7+
libqtassistant
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+
libqtgui4 : Depends: libqtcore4 (= 4:4.8.7+
onboard : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python-dbus : Depends: python2 (< 2.8) but it is not installed
python-gnucash : Depends: python-gtk2 but it is not installable
python-libxml2 : Depends: python2 (< 2.8) but it is not installed
python-pil : Depends: python2 (< 2.8) but it is not installed
python-pygments : Depends: python2:any (< 2.8)
python-sip : Depends: python2 (< 2.8) but it is not installed
python-xdg : Depends: python2:any (< 2.8)
python3 : PreDepends: python3-minimal (= 3.6.7-1~18.04) but 3.8.2-0ubuntu2 is installed
Depends: libpython3-stdlib (= 3.6.7-1~18.04) but 3.8.2-0ubuntu2 is installed
python3-apsw : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-chm : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-
python3-
python3-debconf : Depends: debconf (= 1.5.73) but 1.5.66ubuntu1 is installed
python3-
python3-msgpack : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-pyqt4 : Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not installable
python3-pyqt5 : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-
python3-
python3-
python3-regex : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-renderpm : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
python3-sip : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+
qt-at-spi : Depends: libqtcore4 (>= 4:4.8~) but it is not installable
sni-qt : Depends: libqtcore4 (>= 4:4.7.3-1ubuntu3~) but it is not installable
Depends: libdbusmenu-qt2 but it is not installable
systemd : Depends: libsystemd0 (= 245.4-4ubuntu3.3) but 237-3ubuntu10.43 is installed
E: Error, pkgProblemResol
E: Unable to correct dependencies
andrea@
Manfred Hampl (m-hampl) said : | #30 |
What output do you receive for the commands
ubuntu-
ubuntu-
andrea pavesi (andrea-pavesi) said : | #31 |
Welcome back Manfred and one more thank for your support.Her's the last output:
andrea@
Traceback (most recent call last):
File "/usr/lib/
from CommandNotFound import CommandNotFound
File "/usr/lib/
from CommandNotFound
File "/usr/lib/
import apt_pkg
ModuleNotFoundE
andrea@
Traceback (most recent call last):
File "/usr/bin/
import apt
File "/usr/lib/
import apt_pkg
ModuleNotFoundE
andrea@
Manfred Hampl (m-hampl) said : | #32 |
It seems that the release upgrade was interrupted at the worst possible moment. During the upgrade from Ubuntu 18.04 to 20.04 several packages have to be updated to newer versions, and due to significant changes in the python version between these two releases most python-dependent packages from ubuntu 18.04 do not work with the python version of Ubuntu 20.04 and vice versa. Apparently your system now is in a status that half of the python-dependent packages are on the level of Ubuntu 18.04 and half are on 20.04, such that most of them are not working. My assumption is that this can only be repaired by either manually upgrading all packages to the version fitting to Ubuntu 20.04, or by reverting all of them to Ubuntu 18.04 level (and then doing a new upgrade to 20.04). This will probably be a long way to go.
Do you see the chance to do a complete new installation? This might be far easier. The only thing to consider is saving the files that you deem worth being kept. There are some possibilities - installing a backup tool (which seems hardly possible in the moment), or just inserting an external storage medium like an USB stick or a USB hard disk and copying the files there.
What do you think?
andrea pavesi (andrea-pavesi) said : | #33 |
Thank you for your clarity, Manfred. Actually my first idea was to backup it all and then reinstall Ubuntu 20.04. But neither the backup application nor the update one weren't working. So the option would be to manually back up on an external hd and then create a bootable pendrive to reinstall, isn't it? What is the risk of loosing data about? Any kind of file (documents, sw, etc.)? Because actually the application I would need to upgrade are not many: Back in time, Calibre essentially.
Manfred Hampl (m-hampl) said : | #34 |
You have to distinguish data and applications. There should not be any need to make a backup copy of the Calibre program, because it can easily be reinstalled from the standard repositories when the operating system is correctly working. What you have to care for are the books that you are reading with Calibre. They have to be saved elsewhere. When doing a new installation, everything on the hard disk partitions will be deleted, so you have to care for creating backup copies of the document, music files, e-books, etc. - whatever you currently have stored on your computer.
First step is checking your system - where are the files that should be kept? What is the approximate total size (will they fit on a pen drive)?
If you have made lots of modifications to the settings (e.g. desktop background images, screen color, sounds, etc.) then you have also think on these data, if you want to apply similar settings also on the new installation.
Can you help with this problem?
Provide an answer of your own, or ask andrea pavesi for more information if necessary.