package initramfs-tools 0.98.8ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #916696 reported by Nickolas Holloway
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running Ubuntu 11.04 from a LiveUSB created in Universal USB Installer. I attempted to activate the Broadcom driver and was presented with this error message.

This is the version of initramfs-tools I'm running:

initramfs-tools:
  Installed: 0.98.8ubuntu3
  Candidate: 0.98.8ubuntu3.1
  Version table:
     0.98.8ubuntu3.1 0
        500 http://archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
 *** 0.98.8ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

 I then tried to configure the package using dpkg in Terminal, and was given this output:

ubuntu@ubuntu:/usr/bin$ sudo dpkg -C
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 initramfs-tools tools for generating an initramfs

ubuntu@ubuntu:/usr/bin$ sudo dpkg --configure initramfs-tools
Setting up initramfs-tools (0.98.8ubuntu3) ...
update-initramfs: deferring update (trigger activated)
lzma: Encoder error: -2147467259
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
ubuntu@ubuntu:/usr/bin$ cd ../../
ubuntu@ubuntu:/$ sudo rm /vmlinuz
ubuntu@ubuntu:/$ sudo ln -s /cdrom/casper/vmlinuz vmlinuz
ubuntu@ubuntu:/$ sudo dpkg --configure initramfs-tools
Setting up initramfs-tools (0.98.8ubuntu3) ...
update-initramfs: deferring update (trigger activated)
lzma: Encoder error: -2147467259
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools

I then tried to update casper, since I found that that may have been the problem, and was given this output:

ubuntu@ubuntu:/$ sudo apt-get update; sudo apt-get install casper
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:2 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:3 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:4 http://security.ubuntu.com natty-security Release [39.8 kB]
Get:5 http://archive.ubuntu.com natty Release [39.8 kB]
Get:6 http://security.ubuntu.com natty-security/main Sources [85.3 kB]
Get:7 http://archive.ubuntu.com natty-updates Release [39.8 kB]
Get:8 http://archive.ubuntu.com natty/main Sources [862 kB]
Get:9 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:10 http://security.ubuntu.com natty-security/main i386 Packages [262 kB]
Get:11 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Get:12 http://archive.ubuntu.com natty/restricted Sources [4,104 B]
Get:13 http://archive.ubuntu.com natty/main i386 Packages [1,550 kB]
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Get:14 http://archive.ubuntu.com natty/restricted i386 Packages [8,986 B]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Get:15 http://archive.ubuntu.com natty-updates/main Sources [146 kB]
Get:16 http://archive.ubuntu.com natty-updates/restricted Sources [753 B]
Get:17 http://archive.ubuntu.com natty-updates/main i386 Packages [422 kB]
Get:18 http://archive.ubuntu.com natty-updates/restricted i386 Packages [839 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Fetched 3,462 kB in 13s (257 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
casper is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 290 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up initramfs-tools (0.98.8ubuntu3) ...
update-initramfs: deferring update (trigger activated)
lzma: Encoder error: -2147467259
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help would be greatly appreciated. Thanks!

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: initramfs-tools 0.98.8ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: wl
AptOrdering: initramfs-tools: Configure
Architecture: i386
Date: Sun Jan 15 06:51:46 2012
DpkgTerminalLog:
 Setting up initramfs-tools (0.98.8ubuntu3) ...
 update-initramfs: deferring update (trigger activated)
 lzma: Encoder error: -2147467259
 dpkg: error processing initramfs-tools (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.98.8ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nickolas Holloway (nholloway2007) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 881028, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.6 KiB)

This bug was fixed in the package initramfs-tools - 0.136ubuntu1

---------------
initramfs-tools (0.136ubuntu1) focal; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - Make busybox-initramfs a real runtime dependency, fixing
      kernel install failures with cryptsetup
    - support mounting of loopback devices via loop*= parameters
    - Drop hooks/keymap, scripts/init-top/keymap, and associated code;
      console-setup takes care of this in Ubuntu.
    - Add a new 'fixrtc' script that tries to set the system clock forward
      based on the last mount time of the root disk; without this kludge,
      systems without a working RTC will end up in a perpetual reboot loop.
    - Set hostname at boot, for the benefit of mdadm autoassembly.
    - Allow scripts and hooks to specify OPTION=VAR, and unless VAR is set
      to something other than "n", the script will not be included.
    - Restore the framebuffer hook and script, copying KMS and other
      framebuffer drivers into the initramfs, but make them optional; you
      need to set FRAMEBUFFER=y for these to be included.
    - Add hwaddr= alias for BOOTIF= for compatibility.
    - Automatically blacklist vga16fb when vga= or video= specified on
      kernel command-line.
    - add squashfs to list of 'most' modules
    - Add vfat and nls modules to the initramfs.
    - Add Hyper-V paravirtualised device drivers to the initramfs to allow
      booting of stock images in a Hyper-V guest.
    - ppc64el: enable PowerPC NX Crypto Coprocessor
    - Add mountroot failure support, to allow meaningful messages when no
      root device can be found.
    - resume: only resume when the partition contains a resume image
    - Add new initramfs-tools-bin package containing a binary that uses
      libudev to wait for udev to create the udev device, or wait for udev
      to finish processing if we catch it in the act, and returns the
      filesystem type as already probed by udev.
    - local_device_setup: use wait-for-root if it supports the device alias
      type
    - Incorporate rzscontrol from compcache so that we can control current
      ramzswap devices.
    - Support loading compcache from the initramfs.
    - debian/control: update Vcs-* links for Ubuntu.
    - Set executable bit on resume script in local-premount, which MoM seems
      to consistently drop
    - Add support for uppercase and lowercase uuids.
    - init: Don't interpret "rootdelay" as a static sleep.
    - scripts/local: Let rootdelay determine the wait-for-root timeout.
    - Increase rootdelay to 180s on powerpc/ppc64/ppc64el
    - Support roottimeout= as the authoritative name for rootdelay= since
      the Ubuntu interpretation of rootdelay is *not* a delay and this
      causes inconsistent behavior depending on whether the kernel or an
      initramfs is interpreting it.
    - scripts/functions: by default, when setting up networking, use dhclient
      if we're asked to do DHCP explicitly, or if we otherwise are expected
      to do things automatically.
    - scripts/functions: make sure we can try to start all available and
      suitable interfaces if ip= isn't set when setting up the netw...

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.