missing dependency allows encryptfs-utils to be autoremoved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxdm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lxdm
After installing Lubuntu 10.10 from CD, several packages are listed as being no longer needed and ready for removal by apt-get autoremove. This list of packages includes ecryptfs-utils and its dependencies keyutils and libecryptfs0 .
These packages are used by lxdm to handle automounting of encrypted home directories, and removing them *breaks* this.
If such a directory is mounted at the time of the autoremove, this results in an inconsistent package database (ecryptfs-utils is not removed because it is in use, but the others are, and it depends on them!).
Proposed solution: Adding a Depends: ecryptfs-utils to lxdm should prevent this issue. I hope to provide a debdiff against the lxdm currently in maverick-proposed to do this, as proof of concept at least.
The other packages which are set for autoremove after installing Lubuntu should also be checked and any that are not really OK to remove need to be depended on by an appropriate package. Should *any* packages be set for autoremoval immediately after an Lubuntu installation?
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lxdm 0.2.0-0ubuntu3.2
ProcVersionSign
Uname: Linux 2.6.35-25-generic i686
Architecture: i386
Date: Sun Jan 30 00:12:51 2011
InstallationMedia: Lubuntu 10.10 "Maverick Meerkat" - i386 (20101010)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lxdm
There is information in bug #635698 and bug #653628 which is relevant to this issue.
#635698 is fixed and independent of this autoremove problem, and #635628 is filed against ecryptfs-utils which cannot "force itself" to stay installed. Therefore, I opened a new bug report to deal with this issue, agains lxdm, which appears to be a suitable candidate package for the necessary Depends: line.