Closed marcelser closed 3 years ago
I can confirm that observation/error on my Raspi4 with latest OpenHABian!
I believe this is because Bintray has been discontinued. @BClark09 any idea why this is still happening after the repo change? Did we miss a repository link?
don't know if it helps but openhabian-config asked me to update and so I did before running "02 Upgrade System" in the tool. So the tool is up to date
just checked my /etc/apt/sources.list.d/ repo files. I do have those 2 files:
openhab.list
and openhab2.list.save
, both pointing to deb https://dl.bintray.com/openhab/apt-repo2 stable main
. I know that the openhab2.list.save
will be ignored but still the openhab.list contains the bintray link.
I can change it manually if of course if I would know the correct repo link but still a good question why it isn't migrated automatically.
but still a good question why it isn't migrated automatically.
No it isn't. The answer obviously is "because for things to work automatically someone has to program the automation".
If you select to upgrade/install OH from the 4X menus it'll overwrite the repo but no sooner.
Fixed by #1503
@mstormi Seems there is something not correct. I got a self-update on OH3 branch for openhabian-config and after a manual "sudo apt-get update" I get this:
Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://packages.grafana.com/oss/deb stable InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Hit:5 https://repos.influxdata.com/debian buster InRelease
Hit:6 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease Reading package lists... Done W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1 W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab-linuxpkg.list:7 and /etc/apt/sources.list.d/openhab.list:1
I need to add that there was a file called "etc/apt/sources.list.d/openhab.liste", which I removed manually, as it was the old bintray repo as far as I could tell...
If you have a repo more than once in your files this is what you get. That's not an openHABian problem but yours, you have created those duplicates.
Dear @mstormi, it IS indeed an openHABian problem as I don't even know how to create duplicates and such. The current state is a result of just using openhabian-config and doing tweaks, upgrades and stuff with it. So how can I fix this?
It is NOT an openHABian problem as there's no code in there to create such duplicates. Maybe there has been long ago, maybe it was some other software, maybe it was you. But today there is not. Just comment out one of the duplicate lines. BTW it's just a warning so does not even need to be fixed.
And next time open your own issue please rather than invade someone else's which is on a different matter.
I know that Ubuntu on Odroid XU4 is not supported but I think downloading packages from openhab repo is not hardware dependent especially as it used to work flawlessly with OH2 & OH3 previously, right? cause when I run openhabian-config tool and I try "02 Upgrade System" I get the following Forbidden message on openhab repo from apt:
I also tried with curl on the XU4 and nother x86 linux machine to fetch and I also tried downloading on my Windows machine using chrome browser the link: https://dl.bintray.com/openhab/apt-repo2/pool/main/3.0.2/openhab_3.0.2-1_all.deb
No matter what I tried, I ended up with a 403 Forbidden.
I'm currently on OH3 3.0.1 on OpenHAB3 branch and tried to update to 3.0.2 and previously on OH2 and also OH3 3.0.0 and 3.0.1 updating always worked fine. So what's going on with that repo? Is there a change I need to be aware of or is the repo down?
System information:
OS: Ubuntu 18.04.5 LTS HW: Odroid XU3 Please tell us what OS you are running (Raspberry Pi OS, Debian, Ubuntu), what HW you are running on (Raspberry Pi, amd64). Also include the output of
cat /etc/os-release
anduname -m
.