web-dev-qa-db-fra.com

apt-get install a été interrompu

Je suis nouveau sur Ubuntu.

J'ai eu les lignes suivantes après un apt-get install interrompu.

Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-29-generic /boot/vmlinuz-3.13.0-29-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-29-generic /boot/vmlinuz-3.13.0-29-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-29-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-29-generic /boot/vmlinuz-3.13.0-29-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-29-generic /boot/vmlinuz-3.13.0-29-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-29-generic /boot/vmlinuz-3.13.0-29-generic
/usr/sbin/grub-mkconfig: 14: /etc/default/grub: nouveau.modeset=0: 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-3.13.0-29-generic.postinst line 1025.
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because MaxReports is reached already
                        No apport report written because MaxReports is reached already
                                                                                      No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
                                                                  No apport report written because MaxReports is reached already
                                                                                                                                No apport report written because MaxReports is reached already
                                              No apport report written because MaxReports is reached already
                                                                                                            dpkg: error processing package linux-image-3.13.0-29-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-29-generic:
 linux-image-extra-3.13.0-29-generic depends on linux-image-3.13.0-29-generic; however:
  Package linux-image-3.13.0-29-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-29-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.13.0-29-generic; however:
  Package linux-image-3.13.0-29-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.13.0-29-generic; however:
  Package linux-image-extra-3.13.0-29-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.13.0.29.35); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-27-generic:
 linux-image-extra-3.13.0-27-generic depends on linux-image-3.13.0-27-generic; however:
  Package linux-image-3.13.0-27-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-27-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-image-3.13.0-29-generic:
 linux-signed-image-3.13.0-29-generic depends on linux-image-3.13.0-29-generic (= 3.13.0-29.53); however:
  Package linux-image-3.13.0-29-generic is not configured yet.
 linux-signed-image-3.13.0-29-generic depends on linux-image-extra-3.13.0-29-generic (= 3.13.0-29.53); however:
  Package linux-image-extra-3.13.0-29-generic is not configured yet.

dpkg: error processing package linux-signed-image-3.13.0-29-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-image-generic:
 linux-signed-image-generic depends on linux-signed-image-3.13.0-29-generic; however:
  Package linux-signed-image-3.13.0-29-generic is not configured yet.

dpkg: error processing package linux-signed-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-generic:
 linux-signed-generic depends on linux-signed-image-generic (= 3.13.0.29.35); however:
  Package linux-signed-image-generic is not configured yet.

dpkg: error processing package linux-signed-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-image-3.13.0-27-generic:
 linux-signed-image-3.13.0-27-generic depends on linux-image-3.13.0-27-generic (= 3.13.0-27.50); however:
  Package linux-image-3.13.0-27-generic is not configured yet.
 linux-signed-image-3.13.0-27-generic depends on linux-image-extra-3.13.0-27-generic (= 3.13.0-27.50); however:
  Package linux-image-extra-3.13.0-27-generic is not configured yet.

dpkg: error processing package linux-signed-image-3.13.0-27-generic (--configure):
 dependency problems - leaving unconfigured
Setting up libxkbcommon-x11-0:AMD64 (0.4.1-0ubuntu1) ...
Setting up libqt5gui5:AMD64 (5.2.1+dfsg-1ubuntu14.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Errors were encountered while processing:
 linux-image-3.13.0-27-generic
 linux-image-3.13.0-29-generic
 linux-image-extra-3.13.0-29-generic
 linux-image-generic
 linux-generic
 linux-image-extra-3.13.0-27-generic
 linux-signed-image-3.13.0-29-generic
 linux-signed-image-generic
 linux-signed-generic
 linux-signed-image-3.13.0-27-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
3
user3475299

Essayez de lancer Sudo dpkg --configure --pending

2
Camicri

J'ai installé pilotes vidéo par défaut pour mon AMD Radeon HD 7610M et les conflits ont été résolus. N'achetez jamais un ordinateur portable avec une carte vidéo AMD, un support de pilote dégoûtant sous Linux.

1
user3287930

Essayez de lancer Sudo apt-get install -f

1
Tim

/ etc/default/grub: nouveau.modeset = 0: non trouvé

Cette ligne indique que vous avez en quelque sorte corrompu /etc/default/grub et qu'il tente maintenant de s'exécuter sous la forme d'une commande nouveau.modeset= au lieu de l'interpréter dans le cadre de la ligne de commande du noyau.

0
bain