Unable to uninstall after installing from deb package.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WebContentControl |
Fix Released
|
Critical
|
KIAaze |
Bug Description
I decided to try WebContentControl by downloading the latest deb package from this site to my Ubuntu 8.10 PC. I like the software. It was simple to setup and use. But I didn't actually want it for my own computer; I was testing it out before deciding to recommend it to others.
I was instructed to uninstall it with the following command in terminal:
dpkg -r webcontentcontrol
Doing this produced this output:
user@userpc:~$ sudo dpkg -r webcontentcontrol
(Reading database ... 137435 files and directories currently installed.)
Removing webcontentcontrol ...
prerm remove|deconfigure called
Unconfiguring dansguardian+
FireHol is stopped
TinyProxy is stopped
DansGuardian is stopped
* Stopping Firewall firehol [ OK ]
Stopping tinyproxy: tinyproxy.
* Stopping DansGuardian dansguardian [ OK ]
FireHol is stopped
TinyProxy is stopped
DansGuardian is stopped
All OK! Everything was stopped
Running from /home/user
===>importing /usr/share/
tar: /usr/share/
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
dpkg: error processing webcontentcontrol (--remove):
subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
webcontentcontrol
user@userpc:~$
-------------
Since installing this software I've noticed that I can no longer VNC into my PC via port 5500. I have confirmed that this is not a network related issue by substituting my laptop in place of the PC and port forwarding from my router to the laptop instead of the PC and it works perfectly fine (my first thought was that my work had decided to start blocking port 5500, but that's not the case here).
Thanks for the bug report. /launchpad. net/~zohn- joidberg/ +archive
Did you use v1.2.0 or v1.1.9 from the PPA?: https:/
Anyway, I think I already located the error. I removed the config file backup from the install process here: http:// bazaar. launchpad. net/~zohn- joidberg/ webcontentcontr ol/main/ annotate/ head%3A/ scripts/ install. sh
This is because I started working on fixing the upgrade process when using the PPA.
The networking issue is most likely caused by FireHol.
To be able to remove the package, just run the following command: webcontentcontr ol/scripts/ export_ all.sh "/usr/share/ webcontentcontr ol/backup"
/usr/share/
This will create /usr/share/ webcontentcontr ol/backup. dgs.full and then the package removal should work.
However, since the initial configuration files haven't been backed up, you will still experience networking problems and filtering.
To fix this remove firehol, tinyproxy and dansguardian:
sudo apt-get remove --purge firehol tinyproxy dansguardian
or
sudo apt-get remove firehol tinyproxy dansguardian
if you want to keep the configuration files.
I will release a fix as soon as possible.