Closed adamgreig closed 9 years ago
Ah:
adam@habhub:~$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libevent-2.0-5 libnfsidmap2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libgd2-noxpm libjpeg8 libpng12-0 libxslt1.1 nginx-common nginx-full
Suggested packages:
libgd-tools
The following NEW packages will be installed:
libgd2-noxpm libjpeg8 libpng12-0 libxslt1.1 nginx nginx-common nginx-full
0 upgraded, 7 newly installed, 0 to remove and 17 not upgraded.
Need to get 1,380 kB of archives.
After this operation, 2,921 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://ftp.uk.debian.org/debian/ wheezy/main libjpeg8 amd64 8d-1+deb7u1
Connection failed
Err http://ftp.uk.debian.org/debian/ wheezy/main libpng12-0 amd64 1.2.49-1
Could not connect to support.private:8080 (10.0.1.116). - connect (111: Connection refused)
Err http://ftp.uk.debian.org/debian/ wheezy/main libgd2-noxpm amd64 2.0.36~rc1~dfsg-6.1
Unable to connect to support.private:8080:
Err http://ftp.uk.debian.org/debian/ wheezy/main libxslt1.1 amd64 1.1.26-14.1
Unable to connect to support.private:8080:
Err http://ftp.uk.debian.org/debian/ wheezy/main nginx-common all 1.2.1-2.2+wheezy3
Unable to connect to support.private:8080:
Err http://security.debian.org/ wheezy/updates/main nginx-common all 1.2.1-2.2+wheezy3
Could not connect to support.private:8080 (10.0.1.116). - connect (111: Connection refused)
Err http://security.debian.org/ wheezy/updates/main nginx-full amd64 1.2.1-2.2+wheezy3
Unable to connect to support.private:8080:
Err http://security.debian.org/ wheezy/updates/main nginx all 1.2.1-2.2+wheezy3
Unable to connect to support.private:8080:
Failed to fetch http://ftp.uk.debian.org/debian/pool/main/libj/libjpeg8/libjpeg8_8d-1+deb7u1_amd64.deb Connection failed
Failed to fetch http://ftp.uk.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1_amd64.deb Could not connect to support.private:8080 (10.0.1.116). - connect (111: Connection refused)
Failed to fetch http://ftp.uk.debian.org/debian/pool/main/libg/libgd2/libgd2-noxpm_2.0.36~rc1~dfsg-6.1_amd64.deb Unable to connect to support.private:8080:
Failed to fetch http://ftp.uk.debian.org/debian/pool/main/libx/libxslt/libxslt1.1_1.1.26-14.1_amd64.deb Unable to connect to support.private:8080:
Failed to fetch http://security.debian.org/pool/updates/main/n/nginx/nginx-common_1.2.1-2.2+wheezy3_all.deb Could not connect to support.private:8080 (10.0.1.116). - connect (111: Connection refused)
Failed to fetch http://security.debian.org/pool/updates/main/n/nginx/nginx-full_1.2.1-2.2+wheezy3_amd64.deb Unable to connect to support.private:8080:
Failed to fetch http://security.debian.org/pool/updates/main/n/nginx/nginx_1.2.1-2.2+wheezy3_all.deb Unable to connect to support.private:8080:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Not a networking issue as far as I can tell, though:
adam@habhub:~$ ping support.private
PING support.private.vm.habhub.org (10.0.1.116) 56(84) bytes of data.
64 bytes from support (10.0.1.116): icmp_req=1 ttl=64 time=0.228 ms
And the other packages all install fine...
It looks... like... squid is dying and being restarted every time I try to install nginx?
2015/01/21 01:40:47| Ready to serve requests.
(I run apt-get install nginx)
2015/01/21 01:40:55| WARNING: swapfile header inconsistent with available data
2015/01/21 01:40:58| Starting Squid Cache version 3.1.20 for x86_64-pc-linux-gnu...
Maybe related to http://www.squid-cache.org/mail-archive/squid-users/201308/0193.html
$ sudo service squid3 stop
$ sudo rm -rf /var/spool/squid3/*
$ sudo service squid3 start
Problem fixed.
Just trying again (sometimes a quick sudo apt-get update, but doesn't seem to be required) is enough to make it work. Could be repository or apt-cache weirdness.