ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01615
[Bug 491635] Re: cannot remove ecryptfs-utils
Try these:
sudo aptitude update
sudo aptitude -f install
sudo dpkg --force all --remove
I suspect those command will produce the same errors but it is worth a
try before we do something that could damage your system. If none of
those work then you can try these steps at your own risk:
http://www.khattam.info/2009/08/04/solved-subprocess-pre-removal-script-
returned-error-exit-status-2-error/
Let me know if that helps or not.
I am hesitant to mark this bug as complete because I have no way of
reproducing it. It could be a hardware failure that corrupted the
package or a non-standard entry in sources.list that put you in
dependency hell.
** Changed in: ecryptfs-utils (Ubuntu)
Status: New => Incomplete
--
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: Incomplete
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>