Found how to successfully uninstall the ecryptfs - see section "How to Remove an Encrypted Private Directory Setup" at
https://help.ubuntu.com/community/EncryptedPrivateDirectory#How%20to%20Remove%20an%20Encrypted%20Private%20Directory%20Setup -- cannot remove ecryptfs-utils https://bugs.launchpad.net/bugs/491635 You received this bug notification because you are a member of eCryptfs, which is subscribed to ecryptfs-utils in ubuntu. Status in “ecryptfs-utils” package in Ubuntu: Invalid Bug description: I cannot remove ecryptfs, which is in a broken state. Further, its state seems to prevent upgrades! Here is a transcript of the session: # aptitude remove ecryptfs-utils libecryptfs0 Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages will be REMOVED: ecryptfs-utils samba-common{u} 0 packages upgraded, 0 newly installed, 2 to remove and 1 not upgraded. Need to get 0B of archives. After unpacking 12.1MB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 46541 files and directories currently installed.) Removing ecryptfs-utils ... dpkg (subprocess): unable to execute pre-removal script: Exec format error dpkg: error processing ecryptfs-utils (--remove): subprocess pre-removal script returned error exit status 2 dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Removing samba-common ... update-alternatives: error or eof reading /var/lib/dpkg/alternatives/valid.dat for update_mode () dpkg: error processing samba-common (--remove): subprocess pre-removal script returned error exit status 2 <snip> # aptitude full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages are BROKEN: ecryptfs-utils The following packages will be REMOVED: samba-common{u} The following packages will be upgraded: tzdata 1 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B/696kB of archives. After unpacking 11.7MB will be freed. The following packages have unmet dependencies: ecryptfs-utils: Depends: libecryptfs0 (>= 48) but it is not installable Depends: libgpgme11 (>= 1.1.8) but it is not installable Depends: keyutils but it is not installable Depends: libnss3-1d but it is not installable The following actions will resolve these dependencies: Remove the following packages: ecryptfs-utils <snip> _______________________________________________ Mailing list: https://launchpad.net/~ecryptfs Post to : ecryptfs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ecryptfs More help : https://help.launchpad.net/ListHelp