E:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Asked by Francesco D'Anisi

Segnalare questo come un bug (se non è già stato fatto) e includere i file «/var/log/dist-upgrade/main.log» e «/var/log/dist-upgrade/apt.log» nella segnalazione. Terminazione immediata dell'avanzamento di versione. Il file sources.list originale è stato salvato in «/etc/apt/sources.list.distUpgrade».

Traceback (most recent call last):

  File "/tmp/tmpDzNXCK/intrepid", line 76, in <module>
    app.run()

  File "/tmp/tmpDzNXCK/DistUpgradeController.py", line 1458, in run
    self.fullUpgrade()

  File "/tmp/tmpDzNXCK/DistUpgradeController.py", line 1332, in fullUpgrade
    if not self.prepare():

  File "/tmp/tmpDzNXCK/DistUpgradeController.py", line 307, in prepare
    self.openCache()

  File "/tmp/tmpDzNXCK/DistUpgradeController.py", line 169, in openCache
    self._view.getOpCacheProgress())

  File "/tmp/tmpDzNXCK/DistUpgradeCache.py", line 74, in __init__
    raise CacheExceptionDpkgInterrupted, e

CacheExceptionDpkgInterrupted: E:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Revision history for this message
Francesco D'Anisi (ciccios) said :
#1
Revision history for this message
Francesco D'Anisi (ciccios) said :
#2
Revision history for this message
Marlon Cisternas Milla (mcisternas-deactivatedaccount) said :
#3

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subscribe this bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Italian message: se hai ancora problemi e preferisci la lingua italiana apri una domanda in lingua italiana per questo tuo problema che comunque non è un bug...

Ciao

Revision history for this message
Francesco D'Anisi (ciccios) said :
#6

Ciao a tutti.

Ho segnalato questo come bug perchè me lo consigliava nella finestra di errore (Segnalare questo come un bug (se non è già stato fatto) e includere ...) che ho anche inserito all'inizio del testo.
comunque ho provato con:

ciccios@ciccios:~$ sudo dpkg --configure -a
dpkg: errore di analisi, nel file "/var/lib/dpkg/updates/0002" vicino alla riga 1:
 newline nel nome del campo `ignored'

e questa è la risposta.
cosa posso fare?

Revision history for this message
LinuxUbuntugeek (clarke121) said :
#7

Open the Terminal and submit the following command

sudo dpkg --configure -a

LUg.

Revision history for this message
Francesco D'Anisi (ciccios) said :
#8

ciccios@ciccios:~$ sudo dpkg --configure -a
[sudo] password for ciccios:
dpkg: errore di analisi, nel file "/var/lib/dpkg/updates/0002" vicino alla riga 1:
 newline nel nome del campo `ignored'

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subscribe this bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Francesco D'Anisi for more information if necessary.

To post a message you must log in.