The package system is broken

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

The package system is broken

Messaggio da alvermann »

Buongiorno, sono fresco di passaggio da 18.04 a 20.04. Oggi ho attivato l’app per l’aggiornamento del software e mi e’ uscito questo messaggio:

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

kodi-data: Depends: python-pycryptodome but it is not installed

Come mi consigliate di procedere ? Grazie
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: The package system is broken

Messaggio da caturen »

posta

Codice: Seleziona tutto

sudo apt-get install -f
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

caturen ha scritto:
martedì 1 dicembre 2020, 13:59
posta

Codice: Seleziona tutto

sudo apt-get install -f
Gia' fatto, ma in fase di Software Update, da ancora lo stesso errore
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: The package system is broken

Messaggio da caturen »

non devi mettere le tue impressioni ma quello che ti restituisce il terminale, altrimenti che te lo chiedo a fare?

Codice: Seleziona tutto

sudo apt update &&sudo apt upgrade
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

caturen ha scritto:
martedì 1 dicembre 2020, 14:53
non devi mettere le tue impressioni ma quello che ti restituisce il terminale, altrimenti che te lo chiedo a fare?

Codice: Seleziona tutto

sudo apt update &&sudo apt upgrade
ibm@ibm-ThinkPad-T450:~$ sudo apt update &&sudo apt upgrade
[sudo] password for ibm:
Hit:1 http://it.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Hit:4 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.canonical.com focal InRelease
Hit:6 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:7 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [160 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [383 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [87,3 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,3 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [56,5 kB]
Fetched 820 kB in 2s (384 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons-hidpi (partner/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons-hidpi (partner/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
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:
kodi-data : Depends: python-pycryptodome but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Avatar utente
wilecoyote
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 15723
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu et alii
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: The package system is broken

Messaggio da wilecoyote »

) Salve, apri il file /etc/apt/sources.list con un editor come superutente:

Codice: Seleziona tutto

sudo -H gedit /etc/sources.list
Seleziona con Ctrl+A e cancella con Canc o , dipende dalle tastiere, il contenuto ed incollaci il seguente:
# deb cdrom:[Kubuntu 20.10 LTS _Groovy Gorillaz_ - Release amd64 (20201103)]/ groovy universe restricted multiverse main

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ groovy restricted main multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy restricted main

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ groovy-updates restricted main multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy-updates restricted main

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ groovy universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy universe
deb http://it.archive.ubuntu.com/ubuntu/ groovy-updates universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://it.archive.ubuntu.com/ubuntu/ groovy-backports multiverse universe restricted main

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu/ groovy partner
# deb-src http://archive.canonical.com/ubuntu/ groovy partner

deb http://security.ubuntu.com/ubuntu/ groovy-security restricted main multiverse
# deb-src http://security.ubuntu.com/ubuntu/ groovy-security restricted main
deb http://security.ubuntu.com/ubuntu/ groovy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ groovy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ groovy-security multiverse

Salva con Ctrl+S e chiudi con Ctrl+Q.

Aggiorna il sistema e sistema i problemi con i comandi:

Codice: Seleziona tutto

sudo apt install -f
sudo apt update
sudo apt upgrade


Se ancora non installa il richiesto dai il comando:

Codice: Seleziona tutto

sudo apt install python-pycryptodome
Riavvia il sistema al termine.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

Niente da fare. Reinstallo tutto. Ti volevo chiedere un'ultima cosa: installando subito il 20.04, posso avere all'inizio del boot gia' la schermata iniziale con le icone in verticale sulla sx che a me piace tanto, come succedeva sul 16.04 Grazie di tutto
Avatar utente
wilecoyote
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 15723
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu et alii
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: The package system is broken

Messaggio da wilecoyote »

) Salve, un momento, dal tuo output leggo ora sia Focal che Xenial, letto male prima, ergo se hai corretto il contenuto del file /etc/apt/sources.list non necessiti del reinstallo, poiché t'ho postato il contenuto dell'ultima release Groovy.

Devi eseguire un aggiornamento completo usando il comando:

Codice: Seleziona tutto

sudo apt full-upgrade
Prima puoi postare gli output dei comandi per aggiornare dati precedentemente ?

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: The package system is broken

Messaggio da caturen »

per forza che non funziona: ti hanno suggerito male. Il problema non era in /etc/sources.list , ma in /etc/sources.list.d
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
:sisi:
Per risolvere fai partire il files-manager da root ed elimina TUTTO quello che trovi dentro la cartella /etc/apt/sources.list.d e poi ridari il comando di prima
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

wilecoyote ha scritto:
martedì 1 dicembre 2020, 17:13
) Salve, un momento, dal tuo output leggo ora sia Focal che Xenial, letto male prima, ergo se hai corretto il contenuto del file /etc/apt/sources.list non necessiti del reinstallo, poiché t'ho postato il contenuto dell'ultima release Groovy.

Devi eseguire un aggiornamento completo usando il comando:

Codice: Seleziona tutto

sudo apt full-upgrade
Prima puoi postare gli output dei comandi per aggiornare dati precedentemente ?

:: Ciao
Premetto che quando ho aperto il file /etc/apt/sources.list non avevo proprio niente dentro. L'ho farcito poi con quello che mi hai dato. Siccome sto scaricando il 20.04 e ne avro' ancora per meno di mezz'ora, aspetto a fare il comando di aggiornamento, se poi dovro' fare un reboot. Non hai risposto alla mia richiesta di prima sulla disposizione iniziale delle icone.
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

caturen ha scritto:
martedì 1 dicembre 2020, 17:19
per forza che non funziona: ti hanno suggerito male. Il problema non era in /etc/sources.list , ma in /etc/sources.list.d
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
:sisi:
Per risolvere fai partire il files-manager da root ed elimina TUTTO quello che trovi dentro la cartella /etc/apt/sources.list.d e poi ridari il comando di prima
Come non avevo niente in /etc/sources.list cosi non ho niente neanche in /etc/sources.list.d
Avatar utente
wilecoyote
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 15723
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu et alii
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: The package system is broken

Messaggio da wilecoyote »

) Salve, le icone dovrebbero cambiare, in Xenial s'usava il DE Unity mentre in Focal s'usa Gnome.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
caturen
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 18036
Iscrizione: giovedì 8 aprile 2010, 18:41
Desktop: diversi
Distribuzione: debian

Re: The package system is broken

Messaggio da caturen »

alvermann ha scritto:
martedì 1 dicembre 2020, 17:31
caturen ha scritto:
martedì 1 dicembre 2020, 17:19
per forza che non funziona: ti hanno suggerito male. Il problema non era in /etc/sources.list , ma in /etc/sources.list.d
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
:sisi:
Per risolvere fai partire il files-manager da root ed elimina TUTTO quello che trovi dentro la cartella /etc/apt/sources.list.d e poi ridari il comando di prima
Come non avevo niente in /etc/sources.list cosi non ho niente neanche in /etc/sources.list.d
scusa, per la fretta ho sbagliato a scrivere: la cartella è /etc/apt/sources.list.d
alvermann
Prode Principiante
Messaggi: 38
Iscrizione: domenica 22 novembre 2009, 17:28

Re: The package system is broken

Messaggio da alvermann »

caturen ha scritto:
martedì 1 dicembre 2020, 17:41
alvermann ha scritto:
martedì 1 dicembre 2020, 17:31
caturen ha scritto:
martedì 1 dicembre 2020, 17:19
per forza che non funziona: ti hanno suggerito male. Il problema non era in /etc/sources.list , ma in /etc/sources.list.d
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/xenial-partner.list:4
:sisi:
Per risolvere fai partire il files-manager da root ed elimina TUTTO quello che trovi dentro la cartella /etc/apt/sources.list.d e poi ridari il comando di prima
Come non avevo niente in /etc/sources.list cosi non ho niente neanche in /etc/sources.list.d
scusa, per la fretta ho sbagliato a scrivere: la cartella è /etc/apt/sources.list.d
Grazie di tutto. Parto con la reinstallazione. Bye, bye
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti