[Bug 916696] Re: package initramfs-tools 0.98.8ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Launchpad Bug Tracker
916696 at bugs.launchpad.net
Tue Feb 18 14:34:41 UTC 2020
*** This bug is a duplicate of bug 881028 ***
https://bugs.launchpad.net/bugs/881028
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 network, and
exit as soon as we get an IP address.
- scripts/functions: for configure_networking:
- split out IPv6 options in its own cmdline parameter: ip6= ; always
use dhclient in this case if the value set is anything other than
'off' or 'none'. Furthermore, parse anything other than 'on', 'dhcp'
or 'any' as the name of an interface.
- rework the stop conditions so that we properly handle the ROUNDTTT
loop, timing out after a short period of time and trying again
after a short sleep.
- add a 'done' parameter for both ip= and ip6= so that we can properly
exit the ROUNDTTT loop once we know that either there is no work to
do, or that we've achieved what we wanted (that is, to bring up IPv4,
IPv6, or possibly both).
- Do not handle ip=rarp specially (ipconfig hasn't supported it for
some time)
- Call dhclient in simple cases for IPv4 (this makes some small
observable changes -- for example ip=bootp will now make a DHCP
request too -- but nothing that seems important).
- Do not let dhclient processes hang around past the pivot and have
them respect the shorter timeouts ipconfig was given.
- hook-functions, mkinitramfs, scripts/functions: support usage of dns
after configure_networking.
- Fix resuming a hibernate session from a swapfile
- scripts/functions: write netplan config files to /run/netplan for
network devices configured with configure_networking.
- Add some autopkgtests for the network configuration processing.
- Work out the kernel modules required to support ZFS filesystems and
add them as necessary.
- debian/initramfs-tools.postinst: remove orphaned old-dkms initrd files
in /boot.
- scripts/functions: include a new option to skip enslaved network
devices.
- Fix PATH to include /usr/local.
- Add modules for nvme path components on multipath nvme.
- Don't recommend pigz, which is in universe.
- Suppress shellcheck SC1010 errors, returning lots of false-positives on
use of 'done' as a word.
- Drop usage of klibc-utils' fstype in favor of always using udev blkid.
- Use set -a/+a around loading conf snippets, to autoexport hook
configuration variables. This thus allows packaged hooks to configure
each other.
- Auto activate qeth devices on s390x hosts, when using ip= ip6= command
lines.
- Switch default initramfs compression to lz4, faster than the current
default gzip.
- Add support for creating VLANs via vlan=eth0.1:eth0 on kernel
commandline, and as VLAN= conf.d snippet.
- Add support for panic=-1 value
- debian/{control,rules}: Don't run shellcheck on i386 to avoid pulling
ghc into our minimal supported set for the pruned architecture.
- Cherrypick upstream patch to include libgcc_s for libpthread.
- Handle both libgcc1 and libgcc-s1 locations.
* Dropped changes, included in Debian:
- Patch unmkinitramfs to cat possible lz4 archives first, as lz4 is
particular about enforcing .lz4 file extensions when operating on
files.
- mkinitramfs: Copy modules.builtin.bin into initramfs
* Dropped changes, no longer needed:
- remove Breaks on pre-bionic isc-dhcp-client.
* src/wait-for-root.c, scripts/local: add explicit support for PARTUUID, a
syntax we may prefer for images that might boot without an initramfs.
* Drop manual modprobe of filesystem modules, deemed redundant upstream
initramfs-tools (0.136) unstable; urgency=medium
[ Mathieu Malaterre ]
* [90bd459] Update to new name for kernel module therm_pm72
[ Alper Nebi Yasak ]
* [ded7214] hook-functions: Handle dw_mmc-rockchip hidden dependency on
rockchip-io-domain
* [da85190] hook-functions: Include modules for Chromebook Plus display
[ Ben Hutchings ]
* [afd2668] debian/tests/control: Mark shellcheck test as superficial
* [9d8b690] mkinitramfs: Remove workaround for old udev versions
* [2b55aca] mkinitramfs: Remove special case for Arm OABI ports
* [a9e5169] mkinitramfs: Remove armhf dynamic linker hack
* [b19b6f3] debian/rules: Suppress execution of dh_installinitramfs
* [8330bcd] mkinitramfs: Use cp -p option for ld.so.conf* instead of -aZ
* [15fd713] initramfs-tools(7): Change example to use copy_exec instead of cp
* [c2d589e] Revert "mkinitramfs: check if initramfs has a shell"
* [835d584] mkinitramfs: Copy modules.builtin.bin into initramfs
(Closes: #948257)
* [0012977] init: Remove special case for kernel parameter resume=UUID=...
* [897ab77] update-initramfs: Make "-c -k all" options useful again
(Closes: #926401)
* [d6c6eec] init: Mount /dev with "exec" option if v86d is present
(Closes: #940171)
* [a9e73b5] hook-functions: Drop ext4dev from filesystem module list
* [41d9ceb] mkinitramfs: Enable multihreaded xz compression (Closes: #942144)
[ Alexander Volkov ]
* [e34affa] Don't require build dependency on shellcheck when nocheck profile
is enabled
[ Johannes 'josch' Schauer ]
* [e2ad678] hook-functions: preloaded libraries should not end up in the
initramfs (Closes: #944929)
[ Debian Janitor ]
* [a1e17fc] Bump debhelper from old 9 to 12.
* [4d86d1a] Set debhelper-compat version in Build-Depends.
[ Romain Perier ]
* [4df27e2] hook-functions: Add f2fs as base in auto_add_modules
[ Christian Göttsche ]
* [0db5752] Do not copy SELinux context in mkinitramfs (Closes: #948365)
[ Topi Miettinen ]
* [55afeec] Tighten permissions for /run/initramfs
initramfs-tools (0.135) unstable; urgency=medium
[ Topi Miettinen ]
* [eb98d2e] init: /dev can be noexec and /run nodev
[ Alper Nebi Yasak ]
* [43488a3] hook-functions: Handle spi-rockchip hidden dependency on pl330
[ Ben Hutchings ]
* [116ce5c] autopkgtest: Only test hook and boot scripts from specific
packages
initramfs-tools (0.134) unstable; urgency=medium
[ Ben Hutchings ]
* [8aeae9f] hooks/resume: Disable resume when there are no suitable swap
devices. Thanks to Trek <trek00 at inbox.ru> (Closes: #916696)
* [40f6647] hook-functions: Include all keyboard driver modules when
MODULES=most. Thanks to Alper Nebi Yasak <alpernebiyasak at gmail.com>
* [797e5fe] hook-functions: Include cros_ec_spi and SPI drivers when
MODULES=most. Thanks to Alper Nebi Yasak <alpernebiyasak at gmail.com>
* [f65627d] resume: Set plymouth status only if there is a suspend image
(Closes: #928736)
* [c31a908] hook-functions: Fix copy_file with target of "/bin"
(Closes: #928689)
* [8a29ef3] scripts/functions: Use "reboot -f" to reboot on panic.
Thanks to Michael Niewöhner <linux at mniewoehner.de> (Closes: #923165)
* [da9f53e] unmkinitramfs: Work around lz4cat filename check.
Thanks to Dimitri John Ledkov <xnox at ubuntu.com> (Closes: #930366)
* [cf7bb4b] initramfs-tools-core: Depend on logsave or older e2fsprogs
(Closes: #932854)
* [8570718] update-initramfs(8): Document -d option as "delete" instead of
"remove"
* [fffe514] update-initramfs(8): Update description of "-k all" option
[ Benjamin Drung ]
* [5e94f22] autopkgtest: Check also
/usr/share/initramfs-tools/{hooks,scripts}
[ Alper Nebi Yasak ]
* [994d698] hook-functions: Include extcon-usbc-cros-ec when MODULES=most
* [4e3496a] hook-functions: Include extcon drivers when MODULES=dep
[ Uwe Kleine-König ]
* [37dcf3d] mkinitramfs: suppress warning when using bzip2 or lzma
(Closes: #930754)
-- Steve Langasek <steve.langasek at ubuntu.com> Mon, 17 Feb 2020
17:19:14 -0800
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/916696
Title:
package initramfs-tools 0.98.8ubuntu3 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in initramfs-tools package in Ubuntu:
Fix Released
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 at 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 at 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 at ubuntu:/usr/bin$ cd ../../
ubuntu at ubuntu:/$ sudo rm /vmlinuz
ubuntu at ubuntu:/$ sudo ln -s /cdrom/casper/vmlinuz vmlinuz
ubuntu at 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 at 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/916696/+subscriptions
More information about the foundations-bugs
mailing list