[Bug 667578] Re: Kernel Upgrade on 10.10 Live USB runs update-grub

Matifou 667578 at bugs.launchpad.net
Tue Sep 20 18:02:32 UTC 2011


Same problem here: installed Ubuntu 10.10 on USB with startup creator,
got this message almost immediately!

Tried the workaround, so was able to do a clean apt-get upgrade, but still have:
ubuntu at ubuntu:~$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  cups linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Are there any solutions to this? Had to install 10.10 instead of 11.4
due to bugs in casper and 11.4...

thanks

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

Title:
  Kernel Upgrade on 10.10 Live USB runs update-grub

Status in “casper” package in Ubuntu:
  Triaged
Status in “casper” source package in Maverick:
  Triaged

Bug description:
  I'm having an issue upgrading the kernel on a Maverick installation,
  installed in a Live USB setup.


  
  Setting up linux-image-2.6.35-22-generic (2.6.35-22.35) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
  Not updating initrd symbolic links since we are being updated/reinstalled 
  (2.6.35-22.33 was configured last, according to dpkg)
  Not updating image symbolic links since we are being updated/reinstalled 
  (2.6.35-22.33 was configured last, according to dpkg)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
   * dkms: running auto installation service for kernel 2.6.35-22-generic         
   *       tp-smapi (0.40)...                                              [ OK ] 
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.35-22-generic.postinst line 1010.
  dpkg: error processing linux-image-2.6.35-22-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  No apport report written because MaxReports is reached already
                                                                Errors were encountered while processing:
   linux-image-2.6.35-22-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up linux-image-2.6.35-22-generic (2.6.35-22.35) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
  update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
  Not updating initrd symbolic links since we are being updated/reinstalled 
  (2.6.35-22.33 was configured last, according to dpkg)
  Not updating image symbolic links since we are being updated/reinstalled 
  (2.6.35-22.33 was configured last, according to dpkg)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/dkms 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
   * dkms: running auto installation service for kernel 2.6.35-22-generic         
   *       tp-smapi (0.40)...                                              [ OK ] 
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.35-22-generic.postinst line 1010.
  dpkg: error processing linux-image-2.6.35-22-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   linux-image-2.6.35-22-generic

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: linux-image-2.6.35-22-generic 2.6.35-22.35
  Regression: No
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
     Subdevices: 2/2
     Subdevice #0: subdevice #0
     Subdevice #1: subdevice #1
  AudioDevicesInUse:
   Cannot stat file /proc/27289/fd/21: Stale NFS file handle
   Cannot stat file /proc/27376/fd/21: Stale NFS file handle
                        USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jacob      8794 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe020000 irq 48'
     Mixer name	: 'Analog Devices AD1984'
     Components	: 'HDA:11d41984,17aa20bb,00100400'
     Controls      : 31
     Simple ctrls  : 19
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7KHT24WW-1.08'
     Mixer name	: 'ThinkPad EC 7KHT24WW-1.08'
     Components	: ''
     Controls      : 1
     Simple ctrls  : 1
  Card29.Amixer.values:
   Simple mixer control 'Console',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Date: Wed Oct 27 22:02:16 2010
  LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  MachineType: LENOVO 6465CTO
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/xhostname.seed boot=casper persistent initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RelatedPackageVersions: linux-firmware 1.38
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  dmi.bios.date: 05/11/2009
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7LETC6WW (2.26 )
  dmi.board.name: 6465CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7LETC6WW(2.26):bd05/11/2009:svnLENOVO:pn6465CTO:pvrThinkPadT61:rvnLENOVO:rn6465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 6465CTO
  dmi.product.version: ThinkPad T61
  dmi.sys.vendor: LENOVO

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




More information about the foundations-bugs mailing list