Public bug reported: 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://bugs.launchpad.net/ubuntu/+source/linux/+bug/1109029 ) and here ( https://launchpad.net/~apw ) but, I must have done something wrong, nothing helped...I tried installing dracut as a suggestion from a Ask Ubuntu! post and it didn't help either...I logged back on and reran the install command for dracut, it gave me this instruction : 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.0.0.rc16 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-tools-bin 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://ppa.launchpad.net/apw/initramfs-tools/ubuntu/ wily/main initramfs-tools all 0.120ubuntu6.1~rc1 [123 kB] Fetched 123 kB in 1s (87.9 kB/s) (Reading database ... 216801 files and directories currently installed.) Preparing to unpack .../initramfs-tools-bin_0.120ubuntu6.1~rc1_amd64.deb ... Unpacking initramfs-tools-bin (0.120ubuntu6.1~rc1) over (0.120ubuntu6) ... Selecting previously unselected package initramfs-tools. Preparing to unpack .../initramfs-tools_0.120ubuntu6.1~rc1_all.deb ... Unpacking initramfs-tools (0.120ubuntu6.1~rc1) ... 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.1~rc1) ... Setting up initramfs-tools (0.120ubuntu6.1~rc1) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.120ubuntu6.1~rc1) ... update-initramfs: Generating /boot/initrd.img-4.2.0-35-generic WARNING: Option hash missing in crypttab for target luks-0282069e-d292-469b-8e04-2e9a93a18ca7, assuming ripemd160. If this is wrong, this initramfs image will not boot. Please read /usr/share/doc/cryptsetup/README.initramfs.gz and add the correct hash option to your /etc/crypttab. cryptsetup: WARNING: target luks-0282069e-d292-469b-8e04-2e9a93a18ca7 uses a key file, skipped WARNING: Option hash missing in crypttab for target luks-0282069e-d292-469b-8e04-2e9a93a18ca7, assuming ripemd160. If this is wrong, this initramfs image will not boot. Please read /usr/share/doc/cryptsetup/README.initramfs.gz and add the correct hash option to your /etc/crypttab. cryptsetup: WARNING: target luks-0282069e-d292-469b-8e04-2e9a93a18ca7 uses a key file, skipped 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 ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4 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) RelatedPackageVersions: 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-f7e4-4451-bd18-8118520a4be9 none luks,discard luks-0282069e-d292-469b-8e04-2e9a93a18ca7 UUID=0282069e-d292-469b-8e04-2e9a93a18ca7 /etc/luks-keys/luks-0282069e-d292-469b-8e04-2e9a93a18ca7 nofail ** Affects: cryptsetup (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package third-party-packages wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562568 Title: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1562568/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
