Forum archive
cdn.debian.net is deprecated
I just discovered that Debian's cdn.debian.net has been deprecated (see https://wiki.debian.org/DebianGeoMirror). Because TurnKey appliances use this address to determine the nearest mirror server, this means that apt-get update is broken until you change the source lists. According to the wiki, all references to this address should be replaced by 'http.debian.net'. I used the following sed command to make sure I caught all occurrances.
sed -i 's/cdn.debian.net/http.debian.net/' /etc/apt/sources.list.d/*
Older appliances may need to edit /etc/apt/sources.list
I was scratching my head today over the same error as I tried to install gitannex with my gitlab. I finally tracked the issue down as you did after some varied googling.
I should have looked here first though, it would have saved me some time.
Well spotted and thanks for posting :-)