Failed to synchronize cache for repo

Hi everyone,

I’m trying to install OpenHAB2 on my Fedora 25 server (pretty new to linux).
I’ve created a file in the said directory following http://docs.openhab.org/installation/linux.html#package-repository-installation — /etc/yum.repos.d/openhab.repo, with the described contents.
When I try to sudo dnf install openhab, I get the error "Failed to synchronize cache for repo ‘openHAB-Snapshopts’, disabling.

See a screenshot below, showing contents of the file + the install command output.

I can’t seem to find how to fix this. Am I doing something wrong? Other repos work just fine (fedora, amahi).

Hi @Ampned,

There are two spelling errors in your configuration:

  1. You have an i instead of a j in “https://openhab.jfrog.io…”
  2. The package to install has a “2” at the end: i.e. sudo dnf install openhab2

Hope that helps!
Ben

Wow that i vs a j, really didn’t see that!
the openhab vs openhab2 was per accident (was trying different combinations to see if anything would work…)

thanks for your help!