conflict between initramfs and luks package cryptsetup 2:1.6.6-5ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have had trouble with initramfs not mounting encrypted system in 14.04lts and in 15.10 since kernel updates in both....4.2.0-35 is the kernel I am having trouble with on 15.10...I tried getting help here ( https:/
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
plymouth : Depends: initramfs-tools but it is not going to be installed
ubuntu-minimal : Depends: initramfs-tools but it is not going to be installed
watershed : Depends: initramfs-tools but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I ran it and got this return:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libdmraid1.
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
initramfs-tools initramfs-tools-bin
The following NEW packages will be installed:
initramfs-tools
The following packages will be upgraded:
initramfs-
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 kB/204 kB of archives.
After this operation, 280 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 123 kB in 1s (87.9 kB/s)
(Reading database ... 216801 files and directories currently installed.)
Preparing to unpack .../initramfs-
Unpacking initramfs-tools-bin (0.120ubuntu6.
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../initramfs-
Unpacking initramfs-tools (0.120ubuntu6.
Processing triggers for doc-base (0.10.6) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.4-1) ...
Setting up initramfs-tools-bin (0.120ubuntu6.
Setting up initramfs-tools (0.120ubuntu6.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120ubuntu6.
update-initramfs: Generating /boot/initrd.
WARNING: Option hash missing in crypttab for target luks-0282069e-
If this is wrong, this initramfs image will not boot.
Please read /usr/share/
the correct hash option to your /etc/crypttab.
cryptsetup: WARNING: target luks-0282069e-
WARNING: Option hash missing in crypttab for target luks-0282069e-
If this is wrong, this initramfs image will not boot.
Please read /usr/share/
the correct hash option to your /etc/crypttab.
cryptsetup: WARNING: target luks-0282069e-
I am going to check the docs listed in the return and try to add the hash to solve....any suggestions or help for a newbie would be greatly appreciated
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: cryptsetup 2:1.6.6-5ubuntu2
ProcVersionSign
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Sun Mar 27 13:30:24 2016
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-03-12 (15 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
dpkg 1.18.2ubuntu5.1
apt 1.0.10.2ubuntu1
SourcePackage: cryptsetup
Title: package cryptsetup 2:1.6.6-5ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
crypttab:
sdb5_crypt UUID=d0fa2ba1-
luks-0282069e-