Como reinstalar o squid no ubuntu

-2

Então, eu instalei o squid e ao remover o squid eu deletei a pasta / etc / squid /. Agora não consigo instalar o squid novamente. Como posso instalar o squid agora? saída de apt-get install squid

Selecting previously unselected package libecap3:amd64.
(Reading database ... 235907 files and directories currently installed.)
Preparing to unpack .../libecap3_1.0.1-3ubuntu3_amd64.deb ...
Unpacking libecap3:amd64 (1.0.1-3ubuntu3) ...
Selecting previously unselected package squid.
Preparing to unpack .../squid_3.5.12-1ubuntu7.3_amd64.deb ...
Unpacking squid (3.5.12-1ubuntu7.3) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Setting up libecap3:amd64 (1.0.1-3ubuntu3) ...
Setting up squid (3.5.12-1ubuntu7.3) ...
Skipping profile in /etc/apparmor.d/disable: usr.sbin.squid
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

Então, se eu executar squid

FATAL: Unable to open configuration file: /etc/squid/squid.conf: (2) No such file or directory
Squid Cache (Version 3.5.12): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.004 user + 0.008 sys
Maximum Resident Size: 45136 KB
Page faults with physical i/o: 0
    
por koushik naskar 09.05.2017 / 19:19

1 resposta

1

tente remover o squid com confs:

sudo apt purge squid

e depois disso, instale novamente:

sudo apt install squid
    
por tso 09.05.2017 / 20:24