I followed the installationguide on Installation on a Raspberry Pi
I did the following steps and run into an failed message.
Last login: Mon Jul 25 15:57:39 2016
pi@raspberrypi:~ $ wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
OK
pi@raspberrypi:~ $ echo 'deb http://dl.bintray.com/openhab/apt-repo2 stable main' | sudo tee /etc/apt/sources.list.d/openhab.list
deb http://dl.bintray.com/openhab/apt-repo2 stable main
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Ign http://dl.bintray.com stable InRelease
Ign http://dl.bintray.com stable Release.gpg
Ign http://dl.bintray.com stable Release
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Get:2 http://mirrordirector.raspbian.org jessie/main armhf Packages [8,981 kB]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Err http://dl.bintray.com stable/main armhf Packages
404 Not Found [IP: 5.153.35.248 80]
Ign http://dl.bintray.com stable/main Translation-en_GB
Ign http://dl.bintray.com stable/main Translation-en
Get:3 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [37.5 kB]
Get:4 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [70.3 kB]
Get:5 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 9,105 kB in 1min 10s (129 kB/s)
W: Failed to fetch http://dl.bintray.com/openhab/apt-repo2/dists/stable/main/binary-armhf/Packages 404 Not Found [IP: 5.153.35.248 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi:~ $
Can I go on with that “failed” message?
In my history file you can see what I did overall since I installed the raspian
pi@raspberrypi:~ $ history
1 sudo raspi-config
2 sudo apt-get update
3 sudo apt-get upgrade
4 sudo apt-get clean
5 java -version
6 sudo reboot
7 logout
8 cd /etc/default
9 ls
10 sudo nano tmpfs
11 sudo reboot
12 wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
13 echo 'deb http://dl.bintray.com/openhab/apt-repo2 stable main' | sudo tee /etc/apt/sources.list.d/openhab.list
14 sudo apt-get update
15 history
pi@raspberrypi:~ $
In addition to the tut I installed the german locale (Utf8) and I set the timezone to Berlin.
Last I set the tmpfs
# mount /tmp as a tmpfs. Defaults to no; set to yes to enable (/tmp
# will be part of the root filesystem if disabled). /tmp may also be
# configured to be a separate mount in /etc/fstab.
RAMTMP=yes