Hi all

How do I remove or tell Debina that I dont have a package installed?
Last week I installed (sort of) libapache-mod-security
There were probs at the configure stage as the package has install bugs so I 
wish to get rif of it.

I tried to remove it but the post remove script failed so I probably don't have 
the package installed:
$ dpkg -L libapache-mod-security
Package `libapache-mod-security' does not contain any files (!)
$
But when I go to upgrade it thinks the package is still there.

~$ sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libapache-mod-security: Depends: mod-security-common (= 1.8.7-1) but it is not 
installed
E: Unmet dependencies. Try using -f.

Here is where I try to remove it:

$ sudo apt-get --purge remove libapache-mod-security
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
 libapache-mod-security*
0 upgraded, 0 newly installed, 1 to remove and 52 not upgraded.
Need to get 0B of archives.
After unpacking 123kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 91816 files and directories currently installed.)
Removing libapache-mod-security ...
/
/
dpkg: error processing libapache-mod-security (--purge):
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
libapache-mod-security
E: Sub-process /usr/bin/dpkg returned an error code (1)


--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to