Problem with apt update from https://openhab.ci.cloudbees.com

Hello,

i wont to install openhab2 but i can’t make complite update
because i have a this messages after command apt-get update:

Get:1 https://openhab.ci.cloudbees.com  Release.gpg [821 B]

  Get:2 https://openhab.ci.cloudbees.com  Release.gpg [821 B]

  Hit https://openhab.ci.cloudbees.com  Release

  Hit https://openhab.ci.cloudbees.com  Release

  Ign https://openhab.ci.cloudbees.com  Release

  Ign https://openhab.ci.cloudbees.com  Release

  Hit https://openhab.ci.cloudbees.com  Packages

  Hit https://openhab.ci.cloudbees.com  Packages

  Ign https://openhab.ci.cloudbees.com  Translation-en_GB

  Ign https://openhab.ci.cloudbees.com  Translation-en

  Ign https://openhab.ci.cloudbees.com  Translation-en_GB

  Ign https://openhab.ci.cloudbees.com  Translation-en

  Fetched 1,642 B in 1min 34s (17 B/s)

  Reading package lists... Done

  W: GPG error: https://openhab.ci.cloudbees.com  Release: The
  following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB
  Snapshot Repositories <owner@openhab.org>

  W: GPG error: https://openhab.ci.cloudbees.com  Release: The
  following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB
  Snapshot Repositories <owner@openhab.org>



first i dane with sudo:
echo 'deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /' | sudo tee /etc/apt/sources.list.d/openhab2.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/openhab2.listand:
wget -qO - ‘http://www.openhab.org/keys/public-key-snapshots.asc’ | sudo apt-key add -

What i can do to repear this error ?

Reinstall the signature as documented here:

http://docs.openhab.org/installation/linux.html

wget -qO - 'http://www.openhab.org/keys/public-key-snapshots.asc' | sudo apt-key add -

Started getting the same today also.

Keys are repaired,

pub 4096R/EAC1183A 2016-09-13 [expires: 2020-09-13]
uid openHAB Snapshot Repositories owner@openhab.org
sub 4096R/F5DF02C2 2016-09-13 [expires: 2020-09-13]

W: GPG error: https://openhab.ci.cloudbees.com Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories owner@openhab.org
W: GPG error: https://openhab.ci.cloudbees.com Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories owner@openhab.org

Thanks for recive,
I will do this, this is my openhab2.list:

pi@raspberrypi /etc/apt/sources.list.d $ cat openhab2.list
deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /
deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ /
pi@raspberrypi /etc/apt/sources.list.d $

with have permission:

pi@raspberrypi /etc/apt/sources.list.d $ ls -la
total 20
drwxr-xr-x 2 root root 4096 Oct  8 14:35 .
drwxr-xr-x 6 root root 4096 Oct  5 23:24 ..
-rw-r--r-- 1 root root   48 Jun 20  2014 collabora.list
-rw-r--r-- 1 root root  227 Oct  8 14:42 openhab2.list
-rw-r--r-- 1 root root  144 Oct  8 14:32 raspi.list
pi@raspberrypi /etc/apt/sources.list.d $

and i will do for next step:

pi@raspberrypi /etc/apt/sources.list.d $ wget -qO - 'http://www.openhab.org/keys/public-key-snapshots.asc' | sudo apt-key add -                  OK
pi@raspberrypi /etc/apt/sources.list.d $

and after update i have the same:

pi@raspberrypi /etc/apt/sources.list.d $ sudo apt-get update
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://archive.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://archive.raspbian.org wheezy Release
bla 
bla
bla
Get:1 https://openhab.ci.cloudbees.com  Release.gpg [821 B]
Get:2 https://openhab.ci.cloudbees.com  Release.gpg [821 B]
Hit https://openhab.ci.cloudbees.com  Release
Hit https://openhab.ci.cloudbees.com  Release
Ign https://openhab.ci.cloudbees.com  Release
Ign https://openhab.ci.cloudbees.com  Release
Hit https://openhab.ci.cloudbees.com  Packages
Hit https://openhab.ci.cloudbees.com  Packages
Ign https://openhab.ci.cloudbees.com  Translation-en_GB
Ign https://openhab.ci.cloudbees.com  Translation-en
Ign https://openhab.ci.cloudbees.com  Translation-en_GB
Ign https://openhab.ci.cloudbees.com  Translation-en
bla
bla
bla
Reading package lists... Done
W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>
W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>
pi@raspberrypi /etc/apt/sources.list.d $

i thing i will do everythink step by step with instruction witch are on the site of openhab2.

Hmm somethink new:

W: Failed to fetch https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/Packages  The requested URL returned error: 404

W: Failed to fetch https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/Packages  The requested URL returned error: 404

E: Some index files failed to download. They have been ignored, or old ones used instead.

Something is currently broken with cloudbees. All builds are failing or aborting with errors about not being able to download files, so I think there’s something broken with their system.

Ok, thx, i will try tommorow make update i hope will finish succesfully :slight_smile:

Did anyone get this working? I’m a 1.8 user and I’m trying to use Openhab 2 for the first time but still get this error.

W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>
W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>

Also, I did try the method suggested at:
https://community.openhab.org/t/apt-snapshot-installation-notice/14407?u=orionguy

Using this line and then going through the installation instructions again worked for me:

sudo sed -i -re 's/\w+\.archive\.ubuntu\.com/archive.ubuntu.com/g' /etc/apt/sources.list

I’m not sure what it does, but I saw the suggestion here:
askubuntu solution

Solved

I upgrade my raspberry pi to new version i its work :slight_smile:

pi@raspberrypi:/opt/openhab2/conf/items $ uname -ra
Linux raspberrypi 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
pi@raspberrypi:/opt/openhab2/conf/items $
1 Like

I’m getting this error again when I attempt an apt-get upgrade, I’ve tried all the steps above and still get the invalid signatures message.

Any further steps I can try?

Thanks
James

I am getting the same error message:

W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>
W: GPG error: https://openhab.ci.cloudbees.com  Release: The following signatures were invalid: BADSIG F834FE4EEAC1183A openHAB Snapshot Repositories <owner@openhab.org>

Is it possible that the PGP Public Key does not match the repository?

I can confirm that the apt-get update works after upgrading the Pi from wheezy to jessie. Would be interesting to know what’s makes the difference…

Not working for me. If I go to https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ in the browser, I don’t see any files. Should I?