package cryptsetup 2:1.6.1-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| casper (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Using Live USB
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: cryptsetup 2:1.6.1-1ubuntu6
ProcVersionSign
Uname: Linux 3.19.0-10-generic x86_64
ApportVersion: 2.16.2-0ubuntu5
Architecture: amd64
CasperVersion: 1.357
Date: Fri Mar 27 18:23:36 2015
DuplicateSignature: package:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Ubuntu-MATE 15.04 "Vivid Vervet" - Beta amd64 (20150326)
RelatedPackageV
dpkg 1.17.24ubuntu1
apt 1.0.9.7ubuntu3
SourcePackage: cryptsetup
Title: package cryptsetup 2:1.6.1-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
crypttab: # <target name> <source device> <key file> <options>
fstab:
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
| tags: | removed: need-duplicate-check |
| Changed in casper (Ubuntu): | |
| status: | New → Incomplete |
| tags: | removed: vivid |

The error in the log is:
Setting up cryptsetup (2:1.6.1-1ubuntu6) ...
update-initramfs is disabled since running on read-only media
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service checkroot has to be enabled to start service cryptdisks-early
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
Historically, upgrades of core packages on a live USB install are not well supported, so this problem may be related to this. However, normally this would fail at the 'update-initramfs' stage, which seems to have changed now to cope with livefs installs.
The remaining problem seems like it may be a problematic interaction with either systemd or casper. Reassigning to casper for further investigation.