Irgendwie muss ich ein halbes Jahr lang keine Upgrades mehr auf meinen Debian-Servern eingespielt haben. Bisher war das kein Problem. Sobald mal wieder etwas Zeit war, konnte man sich einfach anmelden, und die übliche Upgrade-Prozedur ausführen:

$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get autoremove

Heute scheitert aber schon der erste Befehl:

$ sudo apt-get update
Ign http://apt.izzysoft.de generic InRelease
Ign http://ftp.de.debian.org jessie InRelease                                 
E: The method driver /usr/lib/apt/methods/https could not be found.           
N: Is the package apt-transport-https installed?

Okay, denn wollen wir apt-transport-https mal nachinstallieren. Bei einigen Servern hat es geklappt und alles war okay. Bei manchen, bei denen das letzte Upgrade wohl noch länger her ist, allerdings nicht.

$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree      
Reading state information... Done

Err http://ftp.de.debian.org/debian/ jessie/main libldap-2.4-2 amd64 2.4.40+dfsg-1+deb8u2  404  Not Found
Err http://ftp.de.debian.org/debian/ jessie/main librtmp1 amd64 2.4+20150115.gita107cef-1  404  Not Found
Err http://ftp.de.debian.org/debian/ jessie/main libcurl3-gnutls amd64 7.38.0-4+deb8u5  404  Not Found
E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.40+dfsg-1+deb8u2_amd64.deb  404  Not Found
E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/r/rtmpdump/librtmp1_2.4+20150115.gita107cef-1_amd64.deb  404  Not Found
E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.38.0-4+deb8u5_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Fix-Missing? Keine Chance, der Package Index ist wohl einfach zu alt. Mit einem kleinen Trick hingegen klappt es dann doch:

$ cd /usr/lib/apt/methods
$ sudo ln -s http https
$ sudo apt-get update
$ sudo rm https
$ sudo apt-get install apt-transport-https

Und dann nochmal von vorne, mit den üblichen drei Kommandos:

$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get autoremove


attachments

imageappend Append an Image
>