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

Dimitri John Ledkov launchpad at surgut.co.uk
Mon Apr 28 02:02:57 UTC 2014


The error is with /usr/share/initramfs-tools/hooks/kmod, thus package
kmod.

Which i believe is fixed in

kmod (16-2ubuntu2) utopic; urgency=high

  * Resurrect dropped post-merge change:
    - Don't copy /lib/modprobe.d/* in our version of the kmod
      initramfs hook; we currently don't ship anything there.
 -- Dimitri John Ledkov <xnox at ubuntu.com>   Sun, 27 Apr 2014 00:48:29 +0100

What version of kmod are you running?

** Package changed: btrfs-tools (Ubuntu) => kmod (Ubuntu)

-- 
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:
  New

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