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 26/02/2008, à 00:41

Tornado

dpkg --configure -a

Bonjour à tous,

Je suis sous Gutsy 64bit, et hier j'ai voulu tester playonlinux,

j'ai suivis ce tuto[/url]http://doc.ubuntu-fr.org/playonlinux?s=jeux[/url]
j'ai voulu ajouter le dépôt avec la commande

wget http://playonlinux.botux.net/playonlinux.list -O /etc/apt/sources.list.d/playonlinux.list

comment indiqué dans le tuto

seulement, quand je fais un apt-get update, j'obtient :

Failed to fetch http://playonlinux.botux.net/dists/gutsy/main/binary-amd64/Packages.gz  404 Not Found
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

quand je lance le  'dpkg --configure -a', j'obtient :

Setting up initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-image-2.6.22-14-generic (2.6.22-14.52) ...
Running depmod.
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
Failed to create initrd image.
dpkg: error processing linux-image-2.6.22-14-generic (--configure):
 subprocess post-installation script returned error exit status 2
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

et depuis, plus moyen d'installer quoi que ce soit avec apt sad

D'où vient le problème ?

merci par avance pour toute aide,

Hors ligne

#2 Le 26/02/2008, à 00:44

tuxce

Re : dpkg --configure -a

playonlinux n'a pas de dépot spécifique au 64bits, ce qui est peut etre normal vu qu'il utilise wine pour émuler des jeux fait pour win32

Hors ligne

#3 Le 26/02/2008, à 00:44

slasher_fun

Re : dpkg --configure -a

Y'a rien avant "Setting up initramfs-tools (0.85eubuntu20) ..." ?

Hors ligne

#4 Le 26/02/2008, à 00:47

Tornado

Re : dpkg --configure -a

non rien avant "Setting up initramfs-tools (0.85eubuntu20) ..."

Hors ligne

#5 Le 26/02/2008, à 00:54

slasher_fun

Re : dpkg --configure -a

Essaye ça :

wget http://fr.archive.ubuntu.com/ubuntu/pool/main/u/udev/udev_113-0ubuntu16_amd64.deb
sudo dpkg -i --force-all udev_113-0ubuntu16_amd64.deb
rm udev_113-0ubuntu16_amd64.deb
sudo apt-get install util-linux initramfs-tools

Hors ligne

#6 Le 26/02/2008, à 00:55

tuxce

Re : dpkg --configure -a

c'est pas une question de dpkg... http://playonlinux.botux.net/dists/gutsy/main/
pour retrouver un fonctionnement normal, il te suffit d'enlever la ligne concernant le dépot playonlinux de /etc/apt/sources.list

Hors ligne

#7 Le 26/02/2008, à 00:56

slasher_fun

Re : dpkg --configure -a

@tuxce : je ne pense pas que l'ajout du dépot et l'erreur soient liés, il ne s'agit que d'une coincidence.

Hors ligne

#8 Le 26/02/2008, à 01:48

Tornado

Re : dpkg --configure -a

 apt-get install util-linux initramfs-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
initramfs-tools is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  udev: Depends: volumeid (= 113-0ubuntu16) but 113-0ubuntu17 is to be installed
  util-linux: Conflicts: linux32
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@xxxxxx:/home/xxxxxx# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  udev
The following packages will be upgraded:
  udev
1 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
2 not fully installed or removed.
Need to get 0B/304kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 109251 files and directories currently installed.)
Preparing to replace udev 113-0ubuntu16 (using .../udev_113-0ubuntu17_amd64.deb) ...
Unpacking replacement udev ...
Setting up initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)

Setting up udev (113-0ubuntu17) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-image-2.6.22-14-generic (2.6.22-14.52) ...
Running depmod.
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
Failed to create initrd image.
dpkg: error processing linux-image-2.6.22-14-generic (--configure):
 subprocess post-installation script returned error exit status 2
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)

voilà ce que j'obtiens,... mais j'avoue ne pas avoir compris ce que j'ai fais

Hors ligne

#9 Le 26/02/2008, à 01:57

slasher_fun

Re : dpkg --configure -a

En gros il y avait une possibilité pour que udev soit responsable du blocage, mais il semble que cela n'était pas le cas...

Hors ligne

#10 Le 28/02/2008, à 12:30

taiebot65

Re : dpkg --configure -a

Juste une question bete As tu bien le paquet generic??

sudo apt-get install linux-image-2.6.22-14-generic

Hors ligne

#11 Le 29/02/2008, à 22:27

Tornado

Re : dpkg --configure -a

comment le savoir ? hmm

Hors ligne

#12 Le 01/03/2008, à 02:05

compte supprimé

Re : dpkg --configure -a

salut
en tapant

uname -r

#13 Le 09/03/2008, à 22:52

ogrellet

Re : dpkg --configure -a

J'ai le meme prob
impossible a resoudre:
olivier@olivier-desktop:~$ sudo dpkg --configure -a
Paramétrage de initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-initrd-2.6.22.9-desktop-1mdv.img
Cannot find /lib/modules/initrd-2.6.22.9-desktop-1mdv.img
update-initramfs: failed for /boot/initrd.img-initrd-2.6.22.9-desktop-1mdv.img
dpkg: le sous-processus post-installation script a retourné une erreur de sortie d'état 1


et maintenant que faire???

merci