[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remove package by hand ?



On 2009-09-28 16:16 (+0200), Frank Bonnet wrote:

> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Starting
> Starting 2
> Done
> The following packages will be REMOVED:
>   ldap-account-manager
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 13.0MB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 36967 files and directories currently installed.)
> Removing ldap-account-manager ...
> dpkg: error processing ldap-account-manager (--remove):
>  subprocess post-removal script returned error exit status 10
> Errors were encountered while processing:
>  ldap-account-manager
> E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems that script /var/lib/dpkg/info/ldap-account-manager.postrm is
failing and prevents fully removing the package. You could try to edit
the script and see if you can make it handle the error condition better.
One simple solution is to add "exit 0" as the very first command. Then
the script won't fail as it doesn't do anything at all.

-- 
Please Cc me any replies.


Reply to: