Michael and I researched and discussed this in IRC recently.
First of all, the code in the ecryptfs-utils pre-removal script is doing
exactly what it is supposed to do -- it detects that you are in fact
using ecryptfs for your encrypted home or encrypted private and the pre-
removal script
This bug was fixed in the package adduser - 3.112+nmu1ubuntu5
---
adduser (3.112+nmu1ubuntu5) natty; urgency=low
* debian/control: fix an often-duplicated bug, which causes apt to try
and remove ecryptfs-utils, even though it is in use; have adduser
recommend, rather than
I've created bug #710049 for the autoremove issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/653628
Title:
package ecryptfs-utils 83-0ubuntu3 failed to install/upgrade:
ErrorMessage:
This is probably related to #635698 and specifically to the issue I
noticed while trying to verify a fix for that issue, that several
packages including keyutils and ecryptfs-utils were set so autoremove
tries to remove them when it should not do so.
Workaround for now is likely to be to log in
Here is the issue:
Investigating (0) ecryptfs-utils [ i386 ] 83-0ubuntu3 ( misc )
Broken ecryptfs-utils:i386 Depends on keyutils [ i386 ] 1.4-1 ( misc )
Considering keyutils:i386 10001 as a solution to ecryptfs-utils:i386 0
Removing ecryptfs-utils:i386 rather than change keyutils:i386
Ubuntu 10.10 lubuntu on eee 901. Updated from 10.04 lubuntu i got this error,
dpkg sees no error but the eee is in unusable state now. The en- and dycryption
is broken, no write access to old and new created homes. I'm very happy that i
create a root account so i can maintain some things
Further information: When ssh'ing from outside or using a local tty with
user account the ecryptfs unlocks well. But login at gui did not do
this, nothing can be clicked and the menu is empty. The record your
passphrase sign appears but the button is useless.
--
package ecryptfs-utils
** Attachment added: Dependencies.txt
https://bugs.launchpad.net/bugs/653628/+attachment/1666720/+files/Dependencies.txt
** Attachment added: VarLogDistupgradeAptlog.gz
https://bugs.launchpad.net/bugs/653628/+attachment/1666721/+files/VarLogDistupgradeAptlog.gz
** Attachment added: