HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

Problems removing HAVP from Ubuntu Edgy...
http://havp.hege.li/forum/viewtopic.php?f=3&t=186
Page 1 of 1

Author:  Ub1 [ 21 Nov 2006 21:04 ]
Post subject:  Problems removing HAVP from Ubuntu Edgy...

The package would not set up properly in Edgy, so I have tried to remove and reinstall it as it has requested. It does not work. Could you please let me know how to remove it from my system. I had tried to use a newer release of HAVP from Debian to try and fix it but it did not work either. Here is my terminal output:

clint@themoffatts:~$ sudo dpkg -P havp
dpkg: error processing havp (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
havp
clint@themoffatts:~$ sudo apt-get install havp
Reading package lists... Done
Building dependency tree
Reading state information... Done
havp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 128kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com edgy/universe havp 0.79-1 [128kB]
Fetched 128kB in 4s (29.9kB/s)
Selecting previously deselected package havp.
(Reading database ... 99247 files and directories currently installed.)
Preparing to replace havp 0.79-1 (using .../archives/havp_0.79-1_i386.deb) ...
Stopping havp: invoke-rc.d: initscript havp, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping havp: invoke-rc.d: initscript havp, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/havp_0.79-1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Starting havp: Starting HAVP Version: 0.79
Could not open lock testfile /var/run/havp/havp-kYPBmD: No such file or directory
Maybe you need to: chown havp /var/run/havp
Exiting..
Exiting..
invoke-rc.d: initscript havp, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/havp_0.79-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
clint@themoffatts:~$ sudo chown havp /var/run/havp
chown: cannot access `/var/run/havp': No such file or directory
clint@themoffatts:~$ sudo dpkg -P havp
dpkg: error processing havp (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
havp
clint@themoffatts:~$

Author:  hege [ 21 Nov 2006 22:09 ]
Post subject:  Re: Problems removing HAVP from Ubuntu Edgy...

Ub1 wrote:
clint@themoffatts:~$ sudo chown havp /var/run/havp
chown: cannot access `/var/run/havp': No such file or directory


Well, "sudo mkdir /var/run/havp" before that might help. 8)

I would do this too before trying to install the new package..

(sudo) echo "exit 0" > /etc/init.d/havp

Cheers,
Henrik

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/