non riesco ad aggiornare pacchetti
Buongiorno sul mio dispositivo, Dell vostro 15 3000 series, ho istallato Ubuntu 21.10 con versione gnome 40.4.0. Ho aggiornamenti da istallare ma come risposta il pc mi dà elaborazione richiesta non riuscita maggiori dettagli Error while installing package: il sottoprocesso installato pacchetto edubuntu-artwork script post-removal ha restituito lo stato di errore 127. Probabilmente ho istallato un pacchetto per sbaglio?
Question information
- Language:
- Italian Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please copy/paste the full output that you receive for the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
sudo apt update
sudo apt install -f
Revision history for this message
|
#2 |
Linux ubuntu-machine 5.13.0-22-generic #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
[sudo] password di user:
Trovato:1 http://
Trovato:2 http://
Trovato:3 http://
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze... Fatto
Lettura informazioni sullo stato... Fatto
12 pacchetti possono essere aggiornati: eseguire "apt list --upgradable" per vederli.
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze... Fatto
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno RIMOSSI:
edubuntu-artwork
0 aggiornati, 0 installati, 1 da rimuovere e 12 non aggiornati.
1 non completamente installati o rimossi.
Dopo quest'operazione, verranno liberati 1.489 kB di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 428628 file e directory attualmente in
stallati.)
Rimozione di edubuntu-artwork (15.12.1)...
/var/lib/
faults: not found
dpkg: errore nell'elaborare il pacchetto edubuntu-artwork (--re
move):
il sottoprocesso installato pacchetto edubuntu-artwork script
post-removal ha restituito lo stato di errore 127
dpkg: troppi errori, chiusura in corso
Si sono verificati degli errori nell'elaborazione:
edubuntu-artwork
L'operazione è stata bloccata perché si sono verificati troppi
errori.
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@ubuntu-
--
Inviato con Tutanota, la mailbox sicura e senza pubblicità.
14 dic 2021, 19:01 da <email address hidden>:
> Your question #699861 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please copy/paste the full output that you receive for the following
> commands (to be executed in a terminal window):
>
> uname -a
> lsb_release -crid
> sudo apt update
> sudo apt install -f
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
Try the command
LANG=C sudo apt install gconf2 -f
and copy/paste the output
Revision history for this message
|
#4 |
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
gconf-service gconf-service-
Suggested packages:
gconf-
The following packages will be REMOVED:
edubuntu-artwork
The following NEW packages will be installed:
gconf-service gconf-service-
0 upgraded, 5 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
Need to get 945 kB of archives.
After this operation, 7.234 kB of additional disk space will be used.
Do you want to continue? [Y/n]
--
Inviato con Tutanota, la mailbox sicura e senza pubblicità.
15 dic 2021, 11:05 da <email address hidden>:
> Your question #699861 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Try the command
>
> LANG=C sudo apt install gconf2 -f
>
> and copy/paste the output
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
You have to confirm the execution, either by entering y or just pressing the "enter" key.
Revision history for this message
|
#6 |
--
Inviato con Tutanota, la mailbox sicura e senza pubblicità.
15 dic 2021, 11:31 da <email address hidden>:
> Your question #699861 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You have to confirm the execution, either by entering y or just pressing
> the "enter" key.
>
> -- Get:1 > http://
> Get:2 > http://
> Get:3 > http://
> Get:4 > http://
> Get:5 > http://
> Fetched 945 kB in 3s (321 kB/s)
> (Reading database ... 428628 files and directories currently installed.)
> Removing edubuntu-artwork (15.12.1) ...
> /var/lib/
> dpkg: error processing package edubuntu-artwork (--remove):
> installed edubuntu-artwork package post-removal script subprocess returned erro
> r exit status 127
> dpkg: too many errors, stopping
> Errors were encountered while processing:
> edubuntu-artwork
> Processing was halted because there were too many errors.
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> user@ubuntu-
>
>
>
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#7 |
Try
LANG=C sudo dpkg -i /var/cache/
LANG=C sudo apt install -f
and report the results.
Revision history for this message
|
#8 |
Selecting previously unselected package gconf2.
(Reading database ... 428629 files and directories currently installed.)
Preparing to unpack .../gconf2_
Unpacking gconf2 (3.2.6-7ubuntu2) ...
Selecting previously unselected package gconf2-common.
Preparing to unpack .../gconf2-
Unpacking gconf2-common (3.2.6-7ubuntu2) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-
Unpacking gconf-service (3.2.6-7ubuntu2) ...
Selecting previously unselected package gconf-service-
Preparing to unpack .../gconf-
Unpacking gconf-service-
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../libgconf-
Unpacking libgconf-2-4:amd64 (3.2.6-7ubuntu2) ...
Setting up gconf2-common (3.2.6-7ubuntu2) ...
Installing new version of config file /etc/X11/
Processing triggers for sgml-base (1.30) ...
Setting up libgconf-2-4:amd64 (3.2.6-7ubuntu2) ...
Setting up gconf-service-
Setting up gconf-service (3.2.6-7ubuntu2) ...
Setting up gconf2 (3.2.6-7ubuntu2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.34-0ubuntu3) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
edubuntu-artwork
0 upgraded, 0 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 1.489 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 428806 files and directories currently installed.)
Removing edubuntu-artwork (15.12.1) ...
Processing triggers for libglib2.0-0:amd64 (2.68.4-1ubuntu1) ...
--
Inviato con Tutanota, la mailbox sicura e senza pubblicità.
15 dic 2021, 11:55 da <email address hidden>:
> Your question #699861 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Try
>
> LANG=C sudo dpkg -i /var/cache/
> LANG=C sudo apt install -f
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#9 |
I think the problem is solved.
If you want, you can uninstall the packages again, which have been installed for repairing the problem:
sudo apt purge gconf2-common libgconf-2-4:amd64 gconf-service-
Revision history for this message
|
#10 |
OK, thank you, Manfred.
--
Inviato con Tutanota, la mailbox sicura e senza pubblicità.
15 dic 2021, 12:11 da <email address hidden>:
> Your question #699861 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I think the problem is solved.
>
> If you want, you can uninstall the packages again, which have been
> installed for repairing the problem:
>
> sudo apt purge gconf2-common libgconf-2-4:amd64 gconf-service-
> gconf-service gconf2
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#11 |
There is Bug #1732562 which covers this problem.
If package installation works again, then you should set the status of this question document to "solved".
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.