[Bug 1841672] Re: CryptSetup packages should not be removed by `apt-get autoremove` on system installed with encryption and LVM
Launchpad Bug Tracker
1841672 at bugs.launchpad.net
Tue Oct 8 21:31:30 UTC 2019
This bug was fixed in the package ubiquity - 19.10.16
---------------
ubiquity (19.10.16) eoan; urgency=medium
[ Iain Lane ]
* Drop zfs-0.8-support.patch. We're goind to do this via the main
grub-installer package in the archive instead.
* ubi-partman.py: Handle ZFS option not being implemented on KDE frontend
(LP: #1847228)
* Automatic update of included source packages: grub-installer
1.128ubuntu14. (LP: #1847211)
[ Michael Hudson-Doyle ]
* ubiquity/install_misc.py:do_install: mark any already-installed packages
as manually installed. (LP: #1841672)
-- Iain Lane <iain.lane at canonical.com> Tue, 08 Oct 2019 17:16:13 +0100
** Changed in: ubiquity (Ubuntu Eoan)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1841672
Title:
CryptSetup packages should not be removed by `apt-get autoremove` on
system installed with encryption and LVM
Status in cryptsetup package in Ubuntu:
Invalid
Status in livecd-rootfs package in Ubuntu:
Invalid
Status in ubiquity package in Ubuntu:
Fix Released
Status in ubuntu-mate-meta package in Ubuntu:
Fix Released
Status in cryptsetup source package in Eoan:
Invalid
Status in livecd-rootfs source package in Eoan:
Invalid
Status in ubiquity source package in Eoan:
Fix Released
Status in ubuntu-mate-meta source package in Eoan:
Fix Released
Bug description:
Steps to reproduce:
1. Install Ubuntu 19.10 MATE with Encryption and LVM
2. Ensure that it boots after install
3. Run `sudo apt autoremove`
Expected results:
* there are no packages to remove
Actual results:
* it tries to remove cryptsetup:
$ sudo apt autoremove
[sudo] password for mate:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cryptsetup cryptsetup-bin cryptsetup-initramfs cryptsetup-run
0 upgraded, 0 newly installed, 4 to remove and 23 not upgraded.
After this operation, 1 178 kB disk space will be freed.
Do you want to continue? [Y/n]
and this will lead on un-bootable encrypted system.
This is very unexpected and dangerous.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: cryptsetup 2:2.2.0-2ubuntu1
ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4
Uname: Linux 5.2.0-10-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Aug 27 23:55:09 2019
InstallationDate: Installed on 2019-08-27 (0 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Alpha amd64 (20190827)
SourcePackage: cryptsetup
UpgradeStatus: No upgrade log present (probably fresh install)
cmdline: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/vgubuntu--mate-root ro quiet splash
crypttab: sda5_crypt UUID=784fac4b-d7a4-4e62-b57e-7ce01e8b0160 none luks,discard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1841672/+subscriptions
More information about the foundations-bugs
mailing list