[Bug 1313481] Re: upgrade fails while in update-initramfs

Sanjeev Gupta 1313481 at bugs.launchpad.net
Mon Apr 28 04:34:17 UTC 2014


Thank you, Dmitri.  An update of kmod fixed this.


root at X201:~# kmod -V
kmod version 16
root at X201:~# apt-get install kmod
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  kmod
1 upgraded, 0 newly installed, 0 to remove and 173 not upgraded.
1 not fully installed or removed.
Need to get 0 B/84.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Supported
Create a snapshot of '/tmp/apt-btrfs-snapshot-mp-_mys2su3/@' in '/tmp/apt-btrfs-snapshot-mp-_mys2su3/@apt-snapshot-2014-04-28_12:32:40'
Reading changelogs... Done
(Reading database ... 186519 files and directories currently installed.)
Preparing to unpack .../kmod_16-2ubuntu2_amd64.deb ...
Unpacking kmod (16-2ubuntu2) over (16-2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up initramfs-tools (0.103ubuntu4) ...
update-initramfs: deferring update (trigger activated)
Setting up kmod (16-2ubuntu2) ...
Processing triggers for initramfs-tools (0.103ubuntu4) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
root at X201:~# kmod -V
kmod version 16


** Changed in: kmod (Ubuntu)
       Status: New => Fix Released

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

Title:
  upgrade fails while in update-initramfs

Status in “kmod” package in Ubuntu:
  Fix Released

Bug description:
  root at X201:~# apt-get install btrfs-tools
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be upgraded:
    btrfs-tools
  1 upgraded, 0 newly installed, 0 to remove and 176 not upgraded.
  Need to get 0 B/351 kB of archives.
  After this operation, 64.5 kB of additional disk space will be used.
  Supported
  Create a snapshot of '/tmp/apt-btrfs-snapshot-mp-nzr_wm7r/@' in '/tmp/apt-btrfs-snapshot-mp-nzr_wm7r/@apt-snapshot-2014-04-28_09:46:31'
  Reading changelogs... Done
  (Reading database ... 186828 files and directories currently installed.)
  Preparing to unpack .../btrfs-tools_3.14.1-1_amd64.deb ...
  Unpacking btrfs-tools (3.14.1-1) over (3.12-1) ...
  Processing triggers for man-db (2.6.7.1-1) ...
  Setting up btrfs-tools (3.14.1-1) ...
  update-initramfs: deferring update (trigger activated)
  Processing triggers for initramfs-tools (0.103ubuntu4) ...
  update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
  cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
  E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
  update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
  dpkg: error processing package initramfs-tools (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin (2.19-0ubuntu6) ...
  Errors were encountered while processing:
   initramfs-tools
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root at X201:~# ls /lib/modprobe.d/
  root at X201:~#

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: btrfs-tools 3.14.1-1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 28 09:48:27 2014
  InstallationDate: Installed on 2014-02-13 (73 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140115)
  SourcePackage: btrfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list