[Linux] Problème avec apt-get «dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem»
Olemis Lang
olemis@::1
Lun 11 Mai 21:07:22 CEST 2009
Bonjour à tous et à toutes :
En utilisant Ubuntu Hardy, je viens d'avoir le problème montré ci-dessus :
{{{
$ sudo apt-get install graphviz
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
$ sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu36) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-ubuntu-modules-2.6.24-19-generic (2.6.24-19.28) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-19-generic
dpkg: error processing linux-ubuntu-modules-2.6.24-19-generic (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-ubuntu-modules-2.6.24-19-generic; however:
Package linux-ubuntu-modules-2.6.24-19-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.24.19.21); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-19-generic
dpkg: subprocess post-installation script returned error exit status 1
$ sudo apt-get remove linux-image-generic
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
$ sudo apt-get remove linux-ubuntu-modules-2.6.24-19-generic
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
$ sudo apt-get remove linux-generic
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
$ sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu36) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-ubuntu-modules-2.6.24-19-generic (2.6.24-19.28) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-19-generic
dpkg: error processing linux-ubuntu-modules-2.6.24-19-generic (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-ubuntu-modules-2.6.24-19-generic; however:
Package linux-ubuntu-modules-2.6.24-19-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.24.19.21); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-19-generic
dpkg: subprocess post-installation script returned error exit status 1
}}}
C'est-à-dire que n'importe quel commande j'utilise (apt-get, dpkg,
...) je ne peux rien installer, et je trouve toujours le message :
{{{
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
}}}
et lorsque j'execute `dpkg --configure -a`, rien ne marche pas encore.
Qu'est-ce q je dois faire ? S'il vous plaît aidez-moi.
Merci d'avance
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Plus d'informations sur la liste de diffusion linux