#1 Le 11/11/2008, à 16:51
- spoi
Gros problème DPKG
Bonjour, ce matin, j'ai fais une mise à jour de mon système qui a foiré.
J'ai pas fait trop gaffe sur le coup, mais j'ai eu besoin dans la journée de faire une installation avec apt-get install.. Et j'ai depuis toujours le même problème..
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Donc je lance la commande demandée..
Paramétrage de initramfs-tools (0.92bubuntu15) ...
update-initramfs: deferring update (trigger activated)
Traitement des « déclenchements (triggers) » pour « initramfs-tools »...
update-initramfs: Generating /boot/initrd.img-initrd-2.6.27-desktop586-0.rc8.2mnb.img
Cannot find /lib/modules/initrd-2.6.27-desktop586-0.rc8.2mnb.img
update-initramfs: failed for /boot/initrd.img-initrd-2.6.27-desktop586-0.rc8.2mnb.img
dpkg: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
Et donc, je ne sais pas quoi faire..
J'ai essayé les solutions de la documentation (apt-get -install -f, sudo dpkg --force-all --configure -a), et j'ai cherché longtemps sur le net, sans succès...
Quelqu'un peut-il me sauver la vie ?
PS : Dans grub, je n'utilise pas la version par défaut, car elle fait bugger mon serveur graphique et ne se lance pas, j'utilise...heu de mémoire, le 6 ou 8eme choix, je ne sais plus trop.. 2-6.27-7généric, depuis la sortie de la version 8.10, je fais ça, sans problème).
Dernière modification par spoi (Le 11/11/2008, à 17:57)
Hors ligne
#2 Le 11/11/2008, à 22:34
- 5645
Re : Gros problème DPKG
"Quelqu'un peut-il me sauver la vie ?"
faut pas exagérer ton système démarre, c'est pas un système hors d'usage
je te conseilles pour une fois de passer par l'interface graphique :
sudo synaptic
les paquets installés à moitiés apparaîtront comme cassés et on te proposera d'y remédier
#3 Le 11/11/2008, à 22:36
- #hehedotcom\'isback
Re : Gros problème DPKG
{à entrer dans un terminal, une ligne=une commande}.
sudo -s
dpkg --configure -a
aptitude update && aptitude upgrade
aptitude dist-upgrade
aptitude install build-essential linux-restricted-modules-$(uname -r)
aptitude install linux-headers-$(uname -r)
aptitude autoclean && update-pciids && update-usbids
reboot
../
Hors ligne
#4 Le 12/11/2008, à 00:59
- spoi
Re : Gros problème DPKG
A toutes les commandes, j'ai au final :
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Hors ligne
#5 Le 12/11/2008, à 01:03
- #hehedotcom\'isback
Re : Gros problème DPKG
???
tu as lancé comment les commandes?
ce n'est pas normal que tu aies eu
A toutes les commandes, j'ai au final :
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
../
Hors ligne
#6 Le 12/11/2008, à 01:29
- spoi
Re : Gros problème DPKG
root@superman-laptop:~# dpkg --configure -a
Paramétrage de initramfs-tools (0.92bubuntu15) ...
update-initramfs: deferring update (trigger activated)
Traitement des « déclenchements (triggers) » pour « initramfs-tools »...
update-initramfs: Generating /boot/initrd.img-initrd-2.6.27-desktop586-0.rc8.2mnb.img
Cannot find /lib/modules/initrd-2.6.27-desktop586-0.rc8.2mnb.img
update-initramfs: failed for /boot/initrd.img-initrd-2.6.27-desktop586-0.rc8.2mnb.img
dpkg: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
root@superman-laptop:~# aptitude update && aptitude upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Prendre :1 http://fr.archive.ubuntu.com intrepid Release.gpg [189B]
Atteint http://fr.archive.ubuntu.com intrepid/main Translation-fr
Atteint http://fr.archive.ubuntu.com intrepid/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com intrepid/universe Translation-fr
Atteint http://fr.archive.ubuntu.com intrepid/multiverse Translation-fr
Prendre :2 http://fr.archive.ubuntu.com intrepid-updates Release.gpg [189B]
Ign http://fr.archive.ubuntu.com intrepid-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com intrepid-updates/restricted Translation-fr
Atteint http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-fr
Ign http://fr.archive.ubuntu.com intrepid-updates/universe Translation-fr
Ign http://fr.archive.ubuntu.com intrepid-updates/multiverse Translation-fr
Prendre :3 http://fr.archive.ubuntu.com intrepid Release [65,9kB]
Ign http://security.ubuntu.com intrepid-security/restricted Translation-fr
Ign http://security.ubuntu.com intrepid-security/universe Translation-fr
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-fr
Atteint http://security.ubuntu.com intrepid-security Release
Prendre :4 http://fr.archive.ubuntu.com intrepid-updates Release [51,2kB]
Atteint http://security.ubuntu.com intrepid-security/main Packages
Atteint http://security.ubuntu.com intrepid-security/restricted Packages
Atteint http://security.ubuntu.com intrepid-security/main Sources
Atteint http://security.ubuntu.com intrepid-security/restricted Sources
Atteint http://security.ubuntu.com intrepid-security/universe Packages
Atteint http://security.ubuntu.com intrepid-security/universe Sources
Atteint http://security.ubuntu.com intrepid-security/multiverse Packages
Atteint http://security.ubuntu.com intrepid-security/multiverse Sources
Prendre :5 http://fr.archive.ubuntu.com intrepid/main Packages [1256kB]
Prendre :6 http://fr.archive.ubuntu.com intrepid/restricted Packages [8408B]
Prendre :7 http://fr.archive.ubuntu.com intrepid/main Sources [505kB]
Prendre :8 http://fr.archive.ubuntu.com intrepid/restricted Sources [3113B]
Prendre :9 http://fr.archive.ubuntu.com intrepid/universe Packages [4542kB]
Prendre :10 http://fr.archive.ubuntu.com intrepid/universe Sources [1981kB]
Prendre :11 http://fr.archive.ubuntu.com intrepid/multiverse Packages [199kB]
Prendre :12 http://fr.archive.ubuntu.com intrepid/multiverse Sources [95,8kB]
Prendre :13 http://fr.archive.ubuntu.com intrepid-updates/main Packages [35,0kB]
Prendre :14 http://fr.archive.ubuntu.com intrepid-updates/restricted Packages [2447B]
Prendre :15 http://fr.archive.ubuntu.com intrepid-updates/main Sources [15,2kB]
Prendre :16 http://fr.archive.ubuntu.com intrepid-updates/restricted Sources [823B]
Prendre :17 http://fr.archive.ubuntu.com intrepid-updates/universe Packages [7944B]
Prendre :18 http://fr.archive.ubuntu.com intrepid-updates/universe Sources [1472B]
Prendre :19 http://fr.archive.ubuntu.com intrepid-updates/multiverse Packages [14B]
Prendre :20 http://fr.archive.ubuntu.com intrepid-updates/multiverse Sources [14B]
8771ko téléchargés en 13s (647ko/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
E: Impossible de reconstruire le cache des paquets
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
root@superman-laptop:~# aptitude dist-upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Initialisation de l'état des paquets... Fait
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
root@superman-laptop:~# aptitude install build-essential linux-restricted-modules-$(uname -r)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Initialisation de l'état des paquets... Fait
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
root@superman-laptop:~# aptitude install linux-headers-$(uname -r)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Initialisation de l'état des paquets... Fait
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
root@superman-laptop:~# aptitude autoclean && update-pciids && update-usbids
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Initialisation de l'état des paquets... Fait
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
Hors ligne
#7 Le 13/11/2008, à 13:23
- spoi
Re : Gros problème DPKG
Toujours pas de solution ??
Hors ligne