[Solved] Installation problems on pi3

Hi,
tried to install openhab2 today on my PI3 (where I already have openhab1 installed) according to the installation guide.
But I fail when trying to install apt-transport-https, see errors below. Someone has got a hint?

pi@raspberrypi:~ $ sudo apt-get install apt-transport-https
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
libgssapi3-heimdal libheimntlm0-heimdal libxfce4ui-1-0 xfce-keyboard-shortcuts
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden NEUEN Pakete werden installiert:
apt-transport-https
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 46 nicht aktualisiert.
Es müssen 134 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 185 kB Plattenplatz zusätzlich benutzt.
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
apt-transport-https
Diese Pakete ohne Überprüfung installieren? [j/N] j
Fehl http://mirrordirector.raspbian.org/raspbian/ jessie/main apt-transport-https armhf 1.0.9.8.3
404 Not Found [IP: 5.153.225.207 80]
E: Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/pool/main/a/apt/apt-transport-https_1.0.9.8.3_armhf.deb 404 Not Found [IP: 5.153.225.207 80]

E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »–fix-missing« probieren?

thanks
markus

try to run “sudo apt-get update” before the “sudo apt-get install apt-transport-https

The error that you are getting is because the debian package cannot be found on the online repository mirror… :slight_smile:

Your system is trying to download an older version of "apt-transport-https"
The latest version that is on that mirror is: 1.0.9.8.4 (not 1.0.9.8.3 that your system is trying to download)
To fix this problem, run “sudo apt-get update” and then the install command.

Hi Dim,

thanks for the hint. I’m a software developer, but not experienced with Linux :slight_smile:

I tried sudo apt-get update, but I get the following messages:

E: The method driver /usr/lib/apt/methods/http could not be found.
N: Is the package apt-transport-https insatlled?

this feels like an endless loop …

thx markus

Hi,
found it.

I temporarily removed /etc/apt/openhab2.list, as this file listed some https urls.
Then I could do
sudo apt-get update
sudo apt-get install apt-transport-https

thx

1 Like