← Back to team overview

kernel-packages team mailing list archive

[Bug 879802] Re: EVERYTHING FAILS TO INSTALL after installing linux-headers-2.6.32-34-generic

 

This version has expired long times ago, and so will never get support

** Changed in: linux (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/879802

Title:
  EVERYTHING FAILS TO INSTALL after installing linux-
  headers-2.6.32-34-generic

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Everything fails to install now.  Here is an example:

  installArchives() failed: Selecting previously deselected package fail2ban.
  (Reading database ... 
  (Reading database ... 5%
  (Reading database ... 10%
  (Reading database ... 15%
  (Reading database ... 20%
  (Reading database ... 25%
  (Reading database ... 30%
  (Reading database ... 35%
  (Reading database ... 40%
  (Reading database ... 45%
  (Reading database ... 50%
  (Reading database ... 55%
  (Reading database ... 60%
  (Reading database ... 65%
  (Reading database ... 70%
  (Reading database ... 75%
  (Reading database ... 80%
  (Reading database ... 85%
  (Reading database ... 90%
  (Reading database ... 95%
  (Reading database ... 100%
  (Reading database ... 198658 files and directories currently installed.)
  Unpacking fail2ban (from .../fail2ban_0.8.4-1ubuntu1_all.deb) ...
  Processing triggers for man-db ...
  Processing triggers for ureadahead ...
  ureadahead will be reprofiled on next reboot
  Setting up linux-image-2.6.32-33-generic (2.6.32-33.72) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.32-33-generic
  Not updating initrd symbolic links since we are being updated/reinstalled 
  (2.6.32-33.70 was configured last, according to dpkg)
  Not updating image symbolic links since we are being updated/reinstalled 
  (2.6.32-33.70 was configured last, according to dpkg)
  Running postinst hook script /usr/sbin/update-grub.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-34-generic
  Found initrd image: /boot/initrd.img-2.6.32-34-generic
  Found linux image: /boot/vmlinuz-2.6.32-33-generic
  Found initrd image: /boot/initrd.img-2.6.32-33-generic
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-33-generic.postinst line 1003.
  dpkg: error processing linux-image-2.6.32-33-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up linux-image-2.6.32-34-generic (2.6.32-34.77) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.32-34-generic
  Running postinst hook script /usr/sbin/update-grub.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-34-generic
  Found initrd image: /boot/initrd.img-2.6.32-34-generic
  Found linux image: /boot/vmlinuz-2.6.32-33-generic
  Found initrd image: /boot/initrd.img-2.6.32-33-generic
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-34-generic.postinst line 1003.
  dpkg: error processing linux-image-2.6.32-34-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-2.6.32-34-generic; however:
    Package linux-image-2.6.32-34-generic is not configured yet.
  dpkg: error processing linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-generic:
   linux-generic depends on linux-image-generic (= 2.6.32.34.40); however:
    Package linux-image-generic is not configured yet.
  dpkg: error processing linux-generic (--configure):
   dependency problems - leaving unconfigured
  Setting up linux-headers-2.6.32-33-generic (2.6.32-33.72) ...
  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
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.32-33-generic.postinst line 110.
  dpkg: error processing linux-headers-2.6.32-33-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  No apport report written because MaxReports is reached already
  Setting up linux-headers-2.6.32-34-generic (2.6.32-34.77) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.32-34-generic.postinst line 110.
  dpkg: error processing linux-headers-2.6.32-34-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  No apport report written because MaxReports is reached already
  dpkg: dependency problems prevent configuration of linux-headers-generic:
   linux-headers-generic depends on linux-headers-2.6.32-34-generic; however:
    Package linux-headers-2.6.32-34-generic is not configured yet.
  dpkg: error processing linux-headers-generic (--configure):
   dependency problems - leaving unconfigured
  Setting up fail2ban (0.8.4-1ubuntu1) ...
  No apport report written because MaxReports is reached already

  Processing triggers for python-central ...
  Setting up linux-image-2.6.32-34-generic (2.6.32-34.77) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.32-34-generic
  Running postinst hook script /usr/sbin/update-grub.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-34-generic
  Found initrd image: /boot/initrd.img-2.6.32-34-generic
  Found linux image: /boot/vmlinuz-2.6.32-33-generic
  Found initrd image: /boot/initrd.img-2.6.32-33-generic
  Found memtest86+ image: /boot/memtest86+.bin
  File descriptor 4 (/dev/null) leaked on lvs invocation. Parent PID 15982: /bin/sh
  File descriptor 5 (socket:[10822]) leaked on lvs invocation. Parent PID 15982: /bin/sh
  File descriptor 10 (pipe:[10821]) leaked on lvs invocation. Parent PID 15982: /bin/sh
  File descriptor 11 (pipe:[10821]) leaked on lvs invocation. Parent PID 15982: /bin/sh
  File descriptor 40 (pipe:[12855]) leaked on lvs invocation. Parent PID 15982: /bin/sh
  File descriptor 41 (pipe:[12855]) leaked on lvs invocation. Parent PID 15982: /bin/sh
  done
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-34-generic.postinst line 1003.
  dpkg: error processing linux-image-2.6.32-34-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up linux-headers-2.6.32-33-generic (2.6.32-33.72) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.32-33-generic.postinst line 110.
  dpkg: error processing linux-headers-2.6.32-33-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-2.6.32-34-generic; however:
    Package linux-image-2.6.32-34-generic is not configured yet.
  dpkg: error processing linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  Setting up linux-image-2.6.32-33-generic (2.6.32-33.72) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.32-33-generic
  Not updating initrd symbolic links since we are being updated/reinstalled 
  (2.6.32-33.70 was configured last, according to dpkg)
  Not updating image symbolic links since we are being updated/reinstalled 
  (2.6.32-33.70 was configured last, according to dpkg)
  Running postinst hook script /usr/sbin/update-grub.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-2.6.32-34-generic
  Found initrd image: /boot/initrd.img-2.6.32-34-generic
  Found linux image: /boot/vmlinuz-2.6.32-33-generic
  Found initrd image: /boot/initrd.img-2.6.32-33-generic
  Found memtest86+ image: /boot/memtest86+.bin
  File descriptor 4 (/dev/null) leaked on lvs invocation. Parent PID 20692: /bin/sh
  File descriptor 5 (socket:[10822]) leaked on lvs invocation. Parent PID 20692: /bin/sh
  File descriptor 10 (pipe:[10821]) leaked on lvs invocation. Parent PID 20692: /bin/sh
  File descriptor 11 (pipe:[10821]) leaked on lvs invocation. Parent PID 20692: /bin/sh
  File descriptor 40 (pipe:[12855]) leaked on lvs invocation. Parent PID 20692: /bin/sh
  File descriptor 41 (pipe:[12855]) leaked on lvs invocation. Parent PID 20692: /bin/sh
  done
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-33-generic /boot/vmlinuz-2.6.32-33-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-33-generic.postinst line 1003.
  dpkg: error processing linux-image-2.6.32-33-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up linux-headers-2.6.32-34-generic (2.6.32-34.77) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32-34-generic /boot/vmlinuz-2.6.32-34-generic
  Traceback (most recent call last):
    File "/usr/bin/nvidia-detector", line 8, in <module>
      a = NvidiaDetection(printonly=True)
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 85, in __init__
      self.printSelection()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 408, in printSelection
      driver = self.selectDriver()
    File "/usr/lib/python2.6/dist-packages/NvidiaDetector/nvidiadetector.py", line 328, in selectDriver
      choice = self.driversForCards[self.driversForCards.keys()[0]][0]
  IndexError: list index out of range
  run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
  Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.32-34-generic.postinst line 110.
  dpkg: error processing linux-headers-2.6.32-34-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-generic:
   linux-generic depends on linux-image-generic (= 2.6.32.34.40); however:
    Package linux-image-generic is not configured yet.
  dpkg: error processing linux-generic (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-headers-generic:
   linux-headers-generic depends on linux-headers-2.6.32-34-generic; however:
    Package linux-headers-2.6.32-34-generic is not configured yet.
  dpkg: error processing linux-headers-generic (--configure):
   dependency problems - leaving unconfigured

  
  There are 2 nvidia 460 graphic cards connected in an load balanced graphic array [if that's handy to know]

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-33-generic 2.6.32-33.72
  ProcVersionSignature: Ubuntu 2.6.32-34.77-generic 2.6.32.44+drm33.19
  Uname: Linux 2.6.32-34-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sat Oct 22 08:58:02 2011
  ErrorMessage: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
  InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
  SourcePackage: nvidia-common
  Title: package linux-image-2.6.32-33-generic 2.6.32-33.72 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/879802/+subscriptions