Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/10/2007, à 21:10

dudumomo

[Résolu] Erreur dpkg

Bonjour
Je viens d'essayer d'installer un splash screen :
http://www.gnome-look.org/content/show. … tent=50468

J'ai suivi le tuto du readme...mais à la derniere étape :

Now update your system booting process by digiting in terminal
		
		sudo update-initramfs -u

J'ai eu l'erreur suivante :

dudumomo@dudumomo-laptop:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
/usr/sbin/mkinitramfs: 13: getopt: not found
Terminating...
update-initramfs: failed for /boot/initrd.img-2.6.22-14-generic

Et maintenant mon apt-get est bloqué.....

J'ai donc fait un sudo dpkg --configure -a

et voici la réponse:

dudumomo@dudumomo-laptop:~$ sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
/usr/sbin/mkinitramfs: 13: getopt: not found
Terminating...
update-initramfs: failed for /boot/initrd.img-2.6.22-14-generic
dpkg: subprocess post-installation script returned error exit status 1

Que puis je faire ?



EDIT :
J'ai effectué
sudo dpkg -P --force-all initramfs-tools
ça a débloqué apt mais ça me dit que des fichiers sont cassés et de faire
sudo apt-get install -f
Mais ça donne ça:

update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
/usr/sbin/mkinitramfs: 13: getopt: not found
Terminating...
update-initramfs: failed for /boot/initrd.img-2.6.22-14-generic
dpkg: subprocess post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (2)

Et la ça rebloque apt-get

Bon c'est résolu ^..j'ai reformaté pour changer de config

Dernière modification par dudumomo (Le 20/10/2007, à 20:14)


Idipops, le réseau social des prestataires de services !
Tutorial and news on how to host your own server: http://freedif.org
Aidez la recherche avec BOINC et rejoignez la Mini-Team Libristes: http://www.boinc-af.org | http://libristes.boinc-af.net

Hors ligne

#2 Le 22/11/2007, à 10:45

kelin

Re : [Résolu] Erreur dpkg

Bonjour!
J'ai même problem,comment vous reformaté pour changer de config?


Amd 64 X2 4600+
Ati R1200 intéger
2G mémoire
Ubuntu 7.10 Ver.64bit(2.6.22-14-Server)

Hors ligne

#3 Le 22/11/2007, à 12:35

dudumomo

Re : [Résolu] Erreur dpkg

Il s'agit bien de "initramfs-tools"quoi bloque ?
Si c'est ça, j'ai pas trouvé comment faire. J'ai du reinstallé ubuntu sur la meme partition (booter sur le live cd, et l'installé a partir de la, en formatant via l'interface d'installation)


Idipops, le réseau social des prestataires de services !
Tutorial and news on how to host your own server: http://freedif.org
Aidez la recherche avec BOINC et rejoignez la Mini-Team Libristes: http://www.boinc-af.org | http://libristes.boinc-af.net

Hors ligne

#4 Le 24/11/2007, à 12:06

kelin

Re : [Résolu] Erreur dpkg

j'ai lancer "sudo dpkg --configure -a" ça me donne:
configure.... initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-14-server
/usr/sbin/mkinitramfs: 13: getopt: not found
Terminating...
update-initramfs: failed for /boot/initrd.img-2.6.22-14-server
dpkg: subprocess post-installation script returned error exit status 1

#sudo apt-get install -f
..
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-14-server
/usr/sbin/mkinitramfs: 13: E: Sub-process /usr/bin/dpkg returned an error code (2)





reinstallé ubuntu est un peut complique....


Amd 64 X2 4600+
Ati R1200 intéger
2G mémoire
Ubuntu 7.10 Ver.64bit(2.6.22-14-Server)

Hors ligne

#5 Le 24/11/2007, à 13:03

dudumomo

Re : [Résolu] Erreur dpkg

aie aie aie....ça tourne en boucle comme moi en gros....
Je ne sais pas ce qu'il faut faire...j'ai préféré réinstaller Ubuntu.
Pourquoi dis tu que c'est compliqué de réinstaller ubuntu ? Tu as du matériel spécial ?


Idipops, le réseau social des prestataires de services !
Tutorial and news on how to host your own server: http://freedif.org
Aidez la recherche avec BOINC et rejoignez la Mini-Team Libristes: http://www.boinc-af.org | http://libristes.boinc-af.net

Hors ligne

#6 Le 25/11/2007, à 20:37

kelin

Re : [Résolu] Erreur dpkg

non,j'ai pas du matériel spécial. C'est parce qu'il y a un risque de la perte des donneés: login,émail,bookmarks,configuration de flash,son,vidéo... j'ai mis 2 jours pour ma config après installé ubuntu:(


Amd 64 X2 4600+
Ati R1200 intéger
2G mémoire
Ubuntu 7.10 Ver.64bit(2.6.22-14-Server)

Hors ligne