direct dependencies of ubiquity should not be autoremovable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Yuan-Chen Cheng | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Low
|
Unassigned | ||
Disco |
Invalid
|
High
|
Unassigned | ||
Eoan |
Invalid
|
High
|
Unassigned | ||
ubuntu-mate-meta (Ubuntu) |
Fix Released
|
Critical
|
Martin Wimpress | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
Disco |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Critical
|
Martin Wimpress | ||
xubuntu-meta (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned | ||
Disco |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In a clean install of Xubuntu 18.10, if an unsuspecting user runs 'apt autoremove', it will remove 'cryptsetup' and 'lvm2' making the system non-bootable at next restart if an encrypted(LUKS+LVM) root partition was selected during the ubiquity installer wizard:
$ sudo apt update && sudo apt --auto-remove full-upgrade && cat /run/reboo*
<snip...>
The following packages will be REMOVED:
cryptsetup cryptsetup-bin cryptsetup-
<...snip>
This _will_ make the system non-bootable upon restart if LUKS+LVM are active on the root partition. This would, by extension, make any auto-mounted partitions(home, etc.) unavailable after boot as well!
WORKAROUND:
$ sudo apt install cryptsetup lvm2
<snip...>
cryptsetup is already the newest version (2:2.0.4-2ubuntu2).
cryptsetup set to manually installed.
lvm2 is already the newest version (2.02.176-
lvm2 set to manually installed.
<...snip>
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xubuntu-core 2.227
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Nov 4 18:20:38 2018
InstallationDate: Installed on 2018-11-04 (0 days ago)
InstallationMedia: Xubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
SourcePackage: xubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 119 lines (+76/-0)5 files modifieddebian/changelog (+9/-0)
debian/control (+1/-0)
debian/install (+1/-0)
live-build/auto/build (+2/-0)
minimize-manual (+63/-0)
summary: |
xubuntu-core needs to depend on cryptsetup and lvm2 or 'apt autoremove' - will make a LUKS+LVM encrypted system non-bootable + will make a LUKS+LVM encrypted root partition non-bootable |
description: | updated |
Changed in ubuntu-mate-meta (Ubuntu): | |
status: | New → Confirmed |
tags: | added: id-5c37766807dcd14b43d455cd |
Changed in ubiquity (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in ubuntu-mate-meta (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in xubuntu-meta (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in ubiquity (Ubuntu Bionic): | |
milestone: | none → ubuntu-18.04.2 |
Changed in oem-priority: | |
status: | Confirmed → Fix Committed |
Changed in ubiquity (Ubuntu Cosmic): | |
importance: | Undecided → Low |
Changed in ubiquity (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in ubiquity (Ubuntu Cosmic): | |
status: | Triaged → Won't Fix |
Changed in livecd-rootfs (Ubuntu Bionic): | |
status: | Confirmed → Invalid |
summary: |
- xubuntu-core needs to depend on cryptsetup and lvm2 or 'apt autoremove' - will make a LUKS+LVM encrypted root partition non-bootable + direct dependencies of ubiquity should not be autoremovable |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-mate-meta (Ubuntu Eoan): | |
status: | In Progress → Fix Committed |
same for ubuntu mate 18.10