unable to remove a package
Sir
I am unable to remove or purge a package which is in a very bad inconsistent state. First I tried dpkg --purge then issued the command dpkg --remove --force remove-reinstreq which also failed. When I try to do install a new package or upgrade my system, the message " E: The package ldap-account-manager needs to be reinstalled " is appearing. Even I reinstalled the above package still the error persists. Please help me.
root@rupesh:~# dpkg --remove --force remove-reinstreq ldap-account-manager
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 2982915 files and directories currently installed.)
Removing ldap-account-manager ...
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/apache2/modules/mod_dav_svn.so: undefined symbol: svn_repos__post_commit_error_str
Action 'configtest' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing ldap-account-manager (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
ldap-account-manager
root@rupesh:~#
|