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.

Add new comment