lzma compression attempts fail with low memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
i was trying to update a live system, booted from usb, and it reported many errors, including this one!
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: initramfs-tools
ProcVersionSign
Uname: Linux 3.2.0-23-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
CasperVersion: 1.315
Date: Thu Jun 28 18:01:10 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
PackageArchitec
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.99ubuntu13 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
I'm not sure there's much we can do about a live system without swap running out of RAM. You could, however, change the COMPRESS setting in /etc/initramfs- tools/initramfs .conf to "gzip" instead of "lzma".
Come to think of it, the default *is* gzip, so I'm somewhat curious why you're getting lzma there at all.