Unable to uninstall

Asked by Erick Caraballo

After issuing the command 'sudo aptitude purge firehol tinyproxy dansguardian' without success I tried following the instructions described in Bug #318301. However, it's still not doing the job.

This is the output:

[00:49:46][cyberick@pc:~]$ sudo aptitude purge firehol tinyproxy dansguardian
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
  webcontentcontrol
The following packages will be REMOVED:
  dansguardian{p} firehol{p} tinyproxy{p}
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 3,527kB will be freed.
The following packages have unmet dependencies:
  webcontentcontrol: Depends: firehol but it is not installable
                     Depends: tinyproxy but it is not installable
                     Depends: dansguardian but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
webcontentcontrol

Score is 121

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  aggregate{u} clamav{u} clamav-base{u} clamav-freshclam{u} dansguardian{p} firehol{p} gambas2-gb-form{u} gambas2-gb-form-dialog{u} gambas2-gb-gtk{u}
  gambas2-gb-gui{u} gambas2-gb-qt{u} gambas2-gb-qt-kde{u} gambas2-gb-qt-kde-html{u} gambas2-gb-settings{u} gambas2-runtime{u} kdelibs-data{u}
  kdelibs4c2a{u} kdelibs5-data{u} libavahi-qt3-1{u} libclamav6{u} libtommath0{u} tinyproxy{p} webcontentcontrol{a}
0 packages upgraded, 0 newly installed, 23 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 114MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 164221 files and directories currently installed.)
Removing aggregate ...
Removing webcontentcontrol ...
===>prerm:remove
prerm remove|deconfigure called
Unconfiguring dansguardian+firehol+tinyproxy
FireHol is running
TinyProxy is running
DansGuardian is running
 * Stopping Firewall firehol [ OK ]
Stopping tinyproxy: tinyproxy.
 * Stopping DansGuardian dansguardian [ OK ]
FireHol is running
TinyProxy is stopped
DansGuardian is stopped
There was an error
dpkg: error processing webcontentcontrol (--remove):
 subprocess installed pre-removal script returned error exit status 1
===>postinst:abort-remove
Processing triggers for man-db ...
Errors were encountered while processing:
 webcontentcontrol
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Question information

Language:
English Edit question
Status:
Answered
For:
WebContentControl Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
KIAaze (zohn-joidberg) said :
#1

I'll try to improve the install/uninstall system soon.
Thanks for reporting the problem.

Until then, try the following:
===========
sudo rm -rfv /usr/share/webcontentcontrol/
sudo aptitude purge webcontentcontrol firehol tinyproxy dansguardian
===========

Revision history for this message
KIAaze (zohn-joidberg) said :
#2

Here is a tested way for removing webcontentcontrol for those that still have problems removing it:

======================
sudo rm /var/lib/dpkg/info/webcontentcontrol.prerm
sudo rm /var/lib/dpkg/info/webcontentcontrol.postrm
sudo apt-get remove --purge webcontentcontrol
sudo apt-get remove --purge firehol tinyproxy dansguardian
======================

A new version fixing the uninstall problems and other issues is under way.

Can you help with this problem?

Provide an answer of your own, or ask Erick Caraballo for more information if necessary.

To post a message you must log in.