openHAB 2 SNAPSHOT install via apt-get

I’m finally taking the plunge and migrating to OH 2 so I can more fully document the process for the docs and I’ve already hit my first snag. I’m following the installaiton docs for Linux.

I ran:

echo 'deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /' | sudo tee /etc/apt/sources.list.d/openhab.list
echo 'deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ /' | sudo tee --append /etc/apt/sources.list.d/openhab.list

and confirmed that the lines were added to openhab.list and there is nothing amiss.

I also made sure that apt-transport-https is installed.

When I run apt-get update among the warnings about the Release not being signed I get errors on both repos saying it can’t find ‘Packages’ or file is malformed.

rich@chimera(rw):~/D/c/openhab (master) ☢  sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:7 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Ign:11 https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo  InRelease
Ign:12 https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo  InRelease
Ign:15 https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo  Release.gpg
Ign:16 https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo  Release.gpg
Fetched 94.5 kB in 1s (84.6 kB/s)
Reading package lists... Done
W: The repository 'https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo  Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo  Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/Release  Unable to find expected entry 'Packages' in Release file (Wrong sources.list entry or malformed file)
E: Failed to fetch https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/Release  Unable to find expected entry 'Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.

I looked at the URL and there is a Packages.gz file there and inside there is a Packages file and it looks OK to me, not that I would know what to look for.

Am I a victim of really bad timing and something went wrong with the build, did I do something wrong, or are the Docs pointing to the wrong repo for the snapshots?

Is this the same as https://github.com/openhab/openhab-distro/issues/270?

I must be blind. I searched the issues and completely missed this one. Yes, it is the same error. Thanks for pointing it out. I don’t know anything about apt so I can’t be much help, except to be a tester once the error is discovered and fixed.

Thanks!