sudo apt-get install não funciona depois de deletar squid e iptables

1

Estou enfrentando problemas com a execução de apt-get update e apt-get install no meu sistema. Isso é depois de deletar o squid, iptables e dansguardian. Eu estava tentando instalar o DansGuardian e executei os seguintes comandos:

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

Para referência eu segui este link: Filtragem de Conteúdo Dansguardian com Proxy Transparente no Ubuntu 9.10 Karmic

Devido a algumas dificuldades com softwares pré-instalados, eu tentei deletar o squid, o iptables e o dansguardian, e reiniciei o processo. sudo apt autoremove iptables dansguardian squid

Desde então, não consegui reinstalar nenhum dos pacotes mencionados.

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 (91.189.88.152). - connect (111: Connection refused) [IP: 91.189.88.152 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: 91.189.88.152 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 (91.189.88.152). - connect (111: Connection refused) [IP: 91.189.88.152 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: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with -fix-missing?

Além disso, alguns sites não estão abrindo.

Qual poderia ser o problema?

    
por Giridhar Shyamkumar 13.10.2017 / 07:22

1 resposta

1

Execute este comando:

sudo apt-get -f install
    
por Rarda 13.10.2017 / 07:29