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

Re: remove package by hand ?



Justin Piszcz wrote:


On Mon, 28 Sep 2009, Frank Bonnet wrote:

Justin Piszcz wrote:


On Mon, 28 Sep 2009, Frank Bonnet wrote:

Hello

I have installed a package called ldap-account-manager
taht I am unable de uninstall ...

d# dpkg -r ldap-account-manager
dpkg: error processing ldap-account-manager (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
ldap-account-manager


the reinstallation fails too

any way to remove by hand this package ?

Thanks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


What state is it in?
dpkg -l | grep ldap-account-manager


ldap:/usr/local/openldap/var# dpkg -l | grep ldap-account
pH ldap-account-manager 2.7.0-1 webfrontend for managing accounts in an LDAP




man dpkg

read all
none of the forcing options worked


There are a number of --force options.
Can you install it with dpkg -i (the deb) and then remove it afterwards?



it fails too


Justin.




What does the following say:


# apt-get -o Debug::pkgProblemResolver=yes remove ldap-account-manager
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)

apt-get -o Debug::pkgProblemResolver=yes remove ldap-account-manager

Justin.


Reply to: