David McQueen LPS's picture

apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org stretch/updates InRelease [94.3 kB]
Err:3 http://archive.turnkeylinux.org/debian stretch-security InRelease
  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (111: Connection refused)
Err:4 http://archive.turnkeylinux.org/debian stretch InRelease
  Unable to connect to archive.turnkeylinux.org:http:

Hit:5 http://deb.debian.org/debian stretch Release
Hit:6 http://dl.ubnt.com/unifi/debian stable InRelease
Get:8 http://security.debian.org stretch/updates/main amd64 Packages [492 kB]
Fetched 586 kB in 0s (1192 kB/s)
Reading package lists... Done
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch-security/InRelease  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (111: Connection refused)
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch/InRelease  Unable to connect to archive.turnkeylinux.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

 

I have used this ISO a number of times in the last 2 weeks.  I have also tested a couple of these installs and they also get the same error.

Forum: 
Jeremy Davis's picture

UPDATE: Issue has now been resolved!

It seems that our apt archive server has had a failure! :(

The server itself appears to still be running ok, but it's (obviously) not hosting any of the archive files/filesystem.

Unfortunately, I don't have direct access to that machine, so I'm not even sure what has gone wrong and there is nothing I can do immediately.

However, I have contacted my colleague (who does have access) and hopefully he'll resolve it ASAP. Having said that, it's currently early hours of the morning in his timezone - so no clear ETA as of yet. I expect that he will make this a priority (it's a critical issue!).

As an immediate workaround, you could disable the TurnKey repos in the sources.list & security.sources.list files. To do that, edit the 2 above mentioned files (you'll find them in /etc/apt/sources.list.d) and preface each line that mentions "archive.turnkeylinux.org" with a '#'. I.e. these:

root@CT117 ~# cat /etc/apt/sources.list.d/sources.list
deb http://archive.turnkeylinux.org/debian stretch main

deb http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch contrib
#deb http://deb.debian.org/debian stretch non-free
root@CT117 ~# cat /etc/apt/sources.list.d/security.sources.list
deb http://archive.turnkeylinux.org/debian stretch-security main

deb http://security.debian.org/ stretch/updates main
deb http://security.debian.org/ stretch/updates contrib
#deb http://security.debian.org/ stretch/updates non-free

Become like these:

root@CT117 ~# cat /etc/apt/sources.list.d/sources.list
#deb http://archive.turnkeylinux.org/debian stretch main

deb http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch contrib
#deb http://deb.debian.org/debian stretch non-free
root@CT117 ~# cat /etc/apt/sources.list.d/security.sources.list
#deb http://archive.turnkeylinux.org/debian stretch-security main

deb http://security.debian.org/ stretch/updates main
deb http://security.debian.org/ stretch/updates contrib
#deb http://security.debian.org/ stretch/updates non-free

Obviously you won't be able to update any TurnKey custom packages, but it will get you going (and you will be able to install Debian packages ok). Don't forget to re-enable them after the issue is fixed though!

I plan to post back with an update ASAP (i.e. when it's fixed), but I will be busy over the weekend, so it may be a little delayed. If you do comment out the apt repo in your sources.lists, the easiest way to double check (from the commandline) is via curl:

curl http://archive.turnkeylinux.org

If it's still not fixed, you'll get a response like "Failed to connect to archive.turnkeylinux.org port 80: Connection refused".

Alternatively, just try to browsing to http://archive.turnkeylinux.org. If you get an "ERR_CONNECTION_REFUSED" (or similar) it's still broken.

Also, I've opened an issue on our tracker and assigned my colleague Alon, he'll hopefully close that issue once it's been resolved.

Jeremy Davis's picture

The TurnKey apt archive should now be working as expected. Thanks for the patience.

Ralf Holighaus's picture

I am currently having the same symptoms again - please verify your servers... Thanks, Ralf
Jeremy Davis's picture

Thanks for the heads up Ralf. I've pinged Alon but unfortunately, it's 11pm Saturday in Israel ATM, so it'll probably be ~8+/- hours before he'll get to it.

Jeremy Davis's picture

It's back up. Thanks again for reporting..
Catalin Zamfir's picture

Hello, it seems down again. Debian/other repos work so there's no connection problem.
CRON-APT RUN [/etc/cron-apt/config]: Sat Jan 25 08:37:01 UTC 2020
CRON-APT SLEEP: 219, Sat Jan 25 08:40:40 UTC 2020
CRON-APT ACTION: 0-update
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch-security/InRelease  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (110: Connection timed out)
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch/InRelease  Unable to connect to archive.turnkeylinux.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

root@nexus /# apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease                             
Hit:3 http://deb.debian.org/debian stretch Release                                                          
Err:5 http://archive.turnkeylinux.org/debian stretch-security InRelease                                     
 Could not connect to archive.turnkeylinux.org:80 (54.83.15.172), connection timed out
Err:6 http://archive.turnkeylinux.org/debian stretch InRelease
 Unable to connect to archive.turnkeylinux.org:http:
Reading package lists... Done
Building dependency tree        
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch-security/InRelease  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172), connection timed out
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch/InRelease  Unable to connect to archive.turnkeylinux.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@nexus /# date
Sat Jan 25 08:44:46 UTC 2020

 
     
Catalin Zamfir's picture

CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 27 14:44:02 UTC 2020 CRON-APT SLEEP: 3518, Mon Jan 27 15:42:40 UTC 2020 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2 W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch-security/InRelease  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (110: Connection timed out) W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch/InRelease  Unable to connect to archive.turnkeylinux.org:http: W: Some index files failed to download. They have been ignored, or old ones used instead.
Jeremy Davis's picture

Please see my comment on the GitHub issue for further details.

Radoslaw Rettka's picture

Hi. I think i have the same issue. Fresh installation joomla turnkey. I try to update php from version 7.0 to newest one. root@itbm ~# apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Hit:2 http://security.debian.org stretch/updates InRelease Hit:3 http://deb.debian.org/debian stretch Release Err:4 http://archive.turnkeylinux.org/debian stretch-security InRelease   Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (111: Connection refused) Err:5 http://archive.turnkeylinux.org/debian stretch InRelease   Unable to connect to archive.turnkeylinux.org:http: Reading package lists... Done W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch-security/InRelease  Could not connect to archive.turnkeylinux.org:80 (54.83.15.172). - connect (111: Connection refused) W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/stretch/InRelease  Unable to connect to archive.turnkeylinux.org:http: W: Some index files failed to download. They have been ignored, or old ones used instead. root@itbm ~# ping www.google.com PING www.google.com (172.217.22.100) 56(84) bytes of data. 64 bytes from fra15s18-in-f4.1e100.net (172.217.22.100): icmp_seq=1 ttl=49 time=20.0 ms ^C --- www.google.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 20.077/20.077/20.077/0.000 ms root@itbm ~# ping 54.83.15.172 PING 54.83.15.172 (54.83.15.172) 56(84) bytes of data. 64 bytes from 54.83.15.172: icmp_seq=1 ttl=42 time=110 ms ^C --- 54.83.15.172 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 110.156/110.156/110.156/0.000 ms   Could you please review if everything is ok ? Best Regards  
Jeremy Davis's picture

Please see my comment on the GitHub issue for further details.

Add new comment