I am facing issues with running
apt-get update and
apt-get install on my system. This is after deleting squid, iptables and dansguardian. I was trying to install DansGuardian, and ran the following commands:
sudo apt-get install iptables dansguardian squid sudo gedit /etc/squid/squid.conf sudo /etc/init.d/squid restart sudo gedit /etc/dansguardian/dansguardian.conf sudo apt autoremove dansguardian sudo apt-get install iptables dansguardian squid sudo gedit /etc/dansguardian/dansguardian.conf sudo /etc/init.d/dansguardian start sudo gedit /etc/init.d/tproxy sudo update-rc.d tproxy sudo apt-get install iptables
For reference I followed this link: Dansguardian Content Filtering With Transparent Proxy On Ubuntu 9.10 Karmic
Due to some difficulties with preinstalled software, I tried deleting squid, iptables and dansguardian, and restarting the process.
sudo apt autoremove iptables dansguardian squid
Since then, I have not been able to reinstall any of the mentioned packages.
dell@dell-Inspiron-5558:~$ sudo apt-get install squid Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libdbi-perl libecap3 libnetfilter-conntrack3 libnfnetlink0 squid-common squid-langpack Suggested packages: libmldbm-perl libnet-daemon-perl libsql-statement-perl squidclient squid-cgi squid-purge smbclient ufw winbindd The following NEW packages will be installed: libdbi-perl libecap3 libnetfilter-conntrack3 libnfnetlink0 squid squid-common squid-langpack 0 upgraded, 7 newly installed, 0 to remove and 142 not upgraded. Need to get 51.1 kB/3,322 kB of archives. After this operation, 12.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 libnfnetlink0 amd64 1.0.1-3 Could not connect to in.archive.ubuntu.com:80 (220.127.116.11). - connect (111: Connection refused) [IP: 18.104.22.168 80] Err:2 http://in.archive.ubuntu.com/ubuntu zesty/main amd64 libnetfilter-conntrack3 amd64 1.0.6-2 Unable to connect to in.archive.ubuntu.com:http: [IP: 22.214.171.124 80] E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libn/libnfnetlink/libnfnetlink0_1.0.1-3_amd64.deb Could not connect to in.archive.ubuntu.com:80 (126.96.36.199). - connect (111: Connection refused) [IP: 188.8.131.52 80] E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libn/libnetfilter-conntrack/libnetfilter-conntrack3_1.0.6-2_amd64.deb Unable to connect to in.archive.ubuntu.com:http: [IP: 184.108.40.206 80] E: Unable to fetch some archives, maybe run apt-get update or try with -fix-missing?
Also, some websites are not opening.
What could be the issue?