Problème pour installer virtualbox 4.0

Bonjour à tous,
j’ai essayé d’installer virtualbox 4.0 mais j’ai eu des messages d’erreur lors de l’installation, j’ai ajouté ce dépôt ce dépôt : deb://httpdownload.virtualbpx.org/virtualbox/debian squeeze contrib

Puis récupéré la clé d’authentification du dépôt :
wget -q download.virtualbox.org/virtualb … e_vbox.asc -O- | sudo apt-key add -

Puis aptitude update
aptitude install virtualbox-4.0

Cela m’a donné ce message : [code]aptitude install virtualbox-4.0
Les NOUVEAUX paquets suivants vont être installés :
libqt4-opengl{a} libsdl-ttf2.0-0{a} virtualbox-4.0
Les paquets partiellement installés suivants seront configurés :
linux-image-2.6.32-5-amd64
0 paquets mis à jour, 3 nouvellement installés, 0 à enlever et 3 non mis à jour.
Il est nécessaire de télécharger 64,8 Mo d’archives. Après dépaquetage, 130 Mo seront utilisés.
Voulez-vous continuer ? [Y/n/?] y
Prendre : 1 http://ftp.fr.debian.org/debian/ squeeze/main libqt4-opengl amd64 4:4.6.3-4+squeeze1 [329 kB]
Prendre : 2 http://ftp.fr.debian.org/debian/ squeeze/main libsdl-ttf2.0-0 amd64 2.0.9-1 [16,1 kB]
Prendre : 3 http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib virtualbox-4.0 amd64 4.0.18-82821~Debian~squeeze [64,5 MB]
64,8 Mo téléchargés en 3min 27s (313 ko/s)
Préconfiguration des paquets…
Sélection du paquet libqt4-opengl précédemment désélectionné.
(Lecture de la base de données… 135536 fichiers et répertoires déjà installés.)
Dépaquetage de libqt4-opengl (à partir de …/libqt4-opengl_4%3a4.6.3-4+squeeze1_amd64.deb) …
Sélection du paquet virtualbox-4.0 précédemment désélectionné.
Dépaquetage de virtualbox-4.0 (à partir de …/virtualbox-4.0_4.0.18-82821~Debian~squeeze_amd64.deb) …
Sélection du paquet libsdl-ttf2.0-0 précédemment désélectionné.
Dépaquetage de libsdl-ttf2.0-0 (à partir de …/libsdl-ttf2.0-0_2.0.9-1_amd64.deb) …
Traitement des actions différées (« triggers ») pour « shared-mime-info »…
Traitement des actions différées (« triggers ») pour « desktop-file-utils »…
Traitement des actions différées (« triggers ») pour « gnome-menus »…
Traitement des actions différées (« triggers ») pour « hicolor-icon-theme »…
Paramétrage de linux-image-2.6.32-5-amd64 (2.6.32-48squeeze1) …
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
dkms: running auto installation service for kernel 2.6.32-5-amd64:
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
/etc/default/grub: 3: nomodeset: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799.
dpkg : erreur de traitement de linux-image-2.6.32-5-amd64 (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
configured to not write apport reports
Paramétrage de libqt4-opengl (4:4.6.3-4+squeeze1) …
Paramétrage de virtualbox-4.0 (4.0.18-82821~Debian~squeeze) …
Ajout du groupe « vboxusers » (GID 121)…
Fait.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist.conf.save, it will be ignored in a future release.
Starting VirtualBox kernel modules:.
Paramétrage de libsdl-ttf2.0-0 (2.0.9-1) …
Traitement des actions différées (« triggers ») pour « python-central »…
Des erreurs ont été rencontrées pendant l’exécution :
linux-image-2.6.32-5-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Échec de l’installation d’un paquet. Tentative de réparation :
Paramétrage de linux-image-2.6.32-5-amd64 (2.6.32-48squeeze1) …
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
dkms: running auto installation service for kernel 2.6.32-5-amd64:
vboxhost (4.0.18)…done.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
/etc/default/grub: 3: nomodeset: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799.
dpkg : erreur de traitement de linux-image-2.6.32-5-amd64 (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
Des erreurs ont été rencontrées pendant l’exécution :
linux-image-2.6.32-5-amd64

root@debian:/home/jerome# dpkg --configure
dpkg: --configure a besoin d’au moins un nom de paquet comme paramètre

Utiliser « dpkg --help » pour une obtenir une aide sur l’installation et la désinstallation des paquets [*] ;
Utiliser « dselect » ou « aptitude » pour gérer les paquets de manière
plus conviviale ;
Utiliser « dpkg -Dhelp » pour obtenir une liste des valeurs drapeaux de débogage ;
Utiliser « dpkg --force-help » pour consulter la liste des options de forçage ;
Utiliser « dpkg-deb --help » pour obtenir une aide sur la manipulation des fichiers *.deb ;

Les options marquées d’un [*] affichent beaucoup d’informations - tubez-les à travers « less » ou « more ».
root@debian:/home/jerome# virtualbox
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.
Qt WARNING: Qt: Session management error: None of the authentication protocols specified are supported
Erreur GConf : Échec lors de la connexion au serveur de configuration. Cela est généralement dû à un défaut (absence ou mauvaise configuration) du démon de bus de session D-Bus. Veuillez consulter http://projects.gnome.org/gconf/ pour plus d’informations. (Détails : 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Erreur GConf : Échec lors de la connexion au serveur de configuration. Cela est généralement dû à un défaut (absence ou mauvaise configuration) du démon de bus de session D-Bus. Veuillez consulter http://projects.gnome.org/gconf/ pour plus d’informations. (Détails : 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Erreur à l’affichage de l’URL : Opération non prise en charge
Erreur GConf : Échec lors de la connexion au serveur de configuration. Cela est généralement dû à un défaut (absence ou mauvaise configuration) du démon de bus de session D-Bus. Veuillez consulter http://projects.gnome.org/gconf/ pour plus d’informations. (Détails : 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Erreur GConf : Échec lors de la connexion au serveur de configuration. Cela est généralement dû à un défaut (absence ou mauvaise configuration) du démon de bus de session D-Bus. Veuillez consulter http://projects.gnome.org/gconf/ pour plus d’informations. (Détails : 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
Erreur à l’affichage de l’URL : Opération non prise en charge
[/code]

Merci pour l’aide

Salut,
Tu devrais déjà régler le problème de kernel, c’est certainement ça qui coince:

[quote]Les paquets partiellement installés suivants seront configurés :
linux-image-2.6.32-5-amd64[/quote]

Essaye ça:
dans /etc/default/grub ajoute:

Redémarre et dpkg --configure linux-image-2.6.32-5-amd64

Tu as un noyau de secours au cas ou ?

Salut,
lorsque je fait “update-grub” il met : /etc/default/grub: 3: nomodeset: not found

J’ai essayé "dpkg --configure linux-image-2.6.32-5-amd64 "

il met : Paramétrage de linux-image-2.6.32-5-amd64 (2.6.32-48squeeze1) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 dkms: running auto installation service for kernel 2.6.32-5-amd64: run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 /etc/default/grub: 3: nomodeset: not found run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799. dpkg : erreur de traitement de linux-image-2.6.32-5-amd64 (--configure) : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 Des erreurs ont été rencontrées pendant l'exécution : linux-image-2.6.32-5-amd64

:013 :013

re,

[code]# If you change this file, run ‘update-grub’ afterwards to update

/boot/grub/grub.cfg.

nomodeset
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“quiet"
GRUB_CMDLINE_LINUX=”"

Uncomment to enable BadRAM filtering, modify to suit your needs

This works with Linux (no patch required) and with any kernel that obtains

the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)

#GRUB_BADRAM=“0x01234567,0xfefefefe,0x89abcdef,0xefefefef”

Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console

The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo’

#GRUB_GFXMODE=640x480

Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true

Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_LINUX_RECOVERY=“true”

Uncomment to get a beep at grub start

#GRUB_INIT_TUNE=“480 440 1”
[/code]

il semble que tu essayes d’installer virtualbox de oracle,as tu bien lu la page:

https://www.virtualbox.org/wiki/Linux_Downloads

Salut,
Ligne3… pas bon!
Remplace pas ça:

[quote=“Unit”][code]# If you change this file, run ‘update-grub’ afterwards to update

/boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=“nomodeset”

Uncomment to enable BadRAM filtering, modify to suit your needs

This works with Linux (no patch required) and with any kernel that obtains

the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)

#GRUB_BADRAM=“0x01234567,0xfefefefe,0x89abcdef,0xefefefef”

Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console

The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo’

#GRUB_GFXMODE=640x480

Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true

Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_LINUX_RECOVERY=“true”

Uncomment to get a beep at grub start

#GRUB_INIT_TUNE=“480 440 1”
[/code][/quote]

Merci à toi ça marche nickel.
:023 :041
Un grand merci pour ton aide.