[Bug 1005969] Re: kernel update fails due to dependency problems

Aatish aatish at gmail.com
Tue May 29 15:44:45 UTC 2012


Eesh, I was messing up by installing the i386 instead of amd64.
Everything works fine now, upgrade was successful.

** Changed in: dpkg (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1005969

Title:
  kernel update fails due to dependency problems

Status in “dpkg” package in Ubuntu:
  Invalid

Bug description:
  I am trying to update the Ubuntu kernel on my laptop (Lenovo X220) to
  the mainline stable version of kernel 3.4 for Precise 12.04.

  I downloaded the kernel files from http://kernel.ubuntu.com/~kernel-
  ppa/mainline/v3.4-precise/ or from http://kernel.ubuntu.com/~kernel-
  ppa/mainline/daily/2012-05-22-precise/

  Once I had the following three files in a folder, I ran sudo dpkg -i
  *.deb

  linux-headers-3.4.0-030400_3.4.0-030400.201205210521_all.deb
  linux-headers-3.4.0-030400-generic_3.4.0-030400.201205210521_i386.deb
  linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_i386.deb

  However, the update does not work. I get the following output (with
  both kernel 3.4.0-999 as well as 3.4.0-030400) :

  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  aatish at paintitblack:~/Downloads/kernel2$ sudo dpkg -i *.deb
  Selecting previously unselected package linux-headers-3.4.0-999.
  (Reading database ... 206948 files and directories currently installed.)
  Unpacking linux-headers-3.4.0-999 (from linux-headers-3.4.0-999_3.4.0-999.201205220406_all.deb) ...
  Selecting previously unselected package linux-headers-3.4.0-999-generic:i386.
  Unpacking linux-headers-3.4.0-999-generic:i386 (from linux-headers-3.4.0-999-generic_3.4.0-999.201205220406_i386.deb) ...
  Selecting previously unselected package linux-image-3.4.0-999-generic:i386.
  Unpacking linux-image-3.4.0-999-generic:i386 (from linux-image-3.4.0-999-generic_3.4.0-999.201205220406_i386.deb) ...
  Done.
  Setting up linux-headers-3.4.0-999 (3.4.0-999.201205220406) ...
  dpkg: dependency problems prevent configuration of linux-headers-3.4.0-999-generic:i386:
   linux-headers-3.4.0-999-generic:i386 depends on linux-headers-3.4.0-999.
  dpkg: error processing linux-headers-3.4.0-999-generic:i386 (--install):
   dependency problems - leaving unconfigured
  Setting up linux-image-3.4.0-999-generic:i386 (3.4.0-999.201205220406) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 3.4.0-999-generic /boot/vmlinuz-3.4.0-999-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.4.0-999-generic /boot/vmlinuz-3.4.0-999-generic
  update-initramfs: Generating /boot/initrd.img-3.4.0-999-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.4.0-999-generic /boot/vmlinuz-3.4.0-999-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.4.0-999-generic /boot/vmlinuz-3.4.0-999-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.4.0-999-generic /boot/vmlinuz-3.4.0-999-generic
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.4.0-999-generic
  Found initrd image: /boot/initrd.img-3.4.0-999-generic
  Found linux image: /boot/vmlinuz-3.2.0-24-generic
  Found initrd image: /boot/initrd.img-3.2.0-24-generic
  Found linux image: /boot/vmlinuz-3.2.0-20-generic
  Found initrd image: /boot/initrd.img-3.2.0-20-generic
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Errors were encountered while processing:
   linux-headers-3.4.0-999-generic:i386

  Any help would be greatly appreciated.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: dpkg 1.16.1.2ubuntu7
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Tue May 29 11:20:50 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list