Skip to content Skip to sidebar Skip to footer

Fixing “apt-get install -f apt-transport-https” error: 404 Not Found When Installing PHPMyAdmin in Debian 9

This happens when i try to install phpmyadmin in my VPS.

According to Stack Exchanges, here is the solution that works :


Since I don't actually have any https:// sources configured it seems harmless and then when apt-get install apt-transport-https runs it actually overwrites the symlink with the correct files.
Type :


cd /usr/lib/apt/methods
and then make a symlink from https to http by typing :

ln -s http https