Weblog entry #5 for Grimnar
And I think I was trying to remove clamav-freshclam when the process just stopped. And now I cant install or remove anything because of that process and I have no idea on how to fix this. Sure, I have tried the apt-get -f install and such, but no luck.
So, has anyone any good tips on how to fix this?
gwdebian:/etc/squid# apt-get remove squid
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.
clamav-freshclam: Depends: clamav-base (= 0.88.1-1) but 0.88.2-1 is to be installed
sqcwa: Depends: squid but it is not going to be installed
squid-prefetch: Depends: squid but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
gwdebian:/etc/squid# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
clamav-freshclam
Suggested packages:
clamav-docs
The following packages will be upgraded:
clamav-freshclam
1 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
111 not fully installed or removed.
Need to get 0B/4297kB of archives.
After unpacking 664kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
clamav-freshclam
Authentication warning overridden.
Preconfiguring packages ...
(Reading database ... 36895 files and directories currently installed.)
Preparing to replace clamav-freshclam 0.88.1-1 (using .../clamav-freshclam_0.88.2-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/clamav-freshclam_0.88.2-1_i386.deb (--unpack):
dpkg: warning - old pre-removal script killed by signal (Interrupt)
Errors were encountered while processing:
/var/cache/apt/archives/clamav-freshclam_0.88.2-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
gwdebian:/etc/squid#
Comments on this Entry
On the extremely rare occasion when apt(itude) has given me grief, dropping down to dpkg will generally get me past the problem. Good luck. HTH.
[ Parent | Reply to this comment ]
dpkg -i --force-overwrite /var/cache/apt/archives/clamav-freshclam_0.88.2-1_i386.deb
[ Parent | Reply to this comment ]
BUT, there is always this but.
On my setup right now I use squid on my gateway. So all my local users somehow has to connect via squid to do stuff on the net. Squid has been working fine when my isp was kinda screwed up for a while and squid saved the day many times.
But now my since my ISP is 100% again i really dont need squid and I tried to uninstall it, that worked great to. But now my NAT do not work at all?
Tried to reboot and such, but no luck. The only computer to have access to the internet is my gateway and that is not good enough. So I had to reinstall squid again to write this.
How do I remove squid and make my NAT work as normal again? (It's quite a normal NAT solution).
-Andreas.
[ Parent | Reply to this comment ]
[ Send Message | View Steve's Scratchpad | View Weblogs ]
NAT and Squid are unrelated.
What I'd suggest is that you've probably implemented some firewall rules somewhere to get transparent proxying - so of course once you remove the Squid package your outgoing HTTP requests fail.
Check your firewall settings by running:
root@desktop:~# iptables --list
If you have anything in there referring to HTTP then you've found the problem and you just need to remove the rules from wherever they were added.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
But if if you any tips in "new" problem I would be very grateful.
[ Parent | Reply to this comment ]