Seite 1 von 2

Update auf openhab 2.5.9 scheitert

Verfasst: 25. Sep 2020 12:59
von hypoch
Hallo zusammen,
mittels des openhabian-config Tools wollte ich das Update einspielen von 2.5.6-2 auf die aktuelle 2.5.9-1. Folgender Output erscheint:

Code: Alles auswählen

2020-09-25_12:44:34_CEST [openHABian] Checking for root privileges... OK
2020-09-25_12:44:34_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2020-09-25_12:44:34_CEST [openHABian] openHABian configuration tool version: [stable]patchday-20200912-805(12917d6)
2020-09-25_12:44:34_CEST [openHABian] Checking for changes in origin branch HEAD... OK
2020-09-25_12:44:35_CEST [openHABian] Switching to branch stable... OK
2020-09-25_12:45:27_CEST [openHABian] Updating Linux package information... OK
2020-09-25_12:45:27_CEST [openHABian] Updating repositories and upgrading installed packages...
$ apt-get upgrade --yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files bind9-host curl e2fslibs e2fsprogs git git-man libbind9-140 libcomerr2 libcurl3 libcurl3-gnutls libdns-export162 libdns162 libisc-export160
  libisc160 libisccc140 libisccfg140 libjpeg62-turbo libluajit-5.1-common liblwres141 libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib
  libsqlite3-0 libss2 libx11-6 libx11-data libxml2 luajit openhab2 php7.0-common php7.0-soap python2.7 python2.7-dev python2.7-minimal
  python3-software-properties software-properties-common
38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.0 MB/129 MB of archives.
After this operation, 17.4 kB of additional disk space will be used.
Err:1 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf openhab2 all 2.5.9-1
  Unknown date format
E: Failed to fetch https://openhab.jfrog.io/openhab/openhab-linuxpkg/pool/main/2.5.9/openhab2_2.5.9-1_all.deb  Unknown date format
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
FAILED
Hat jemand einen Tipp?
Danke
Christian

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 25. Sep 2020 16:41
von udo1toni
Hast Du denn mal

Code: Alles auswählen

sudo apt install --fix-missing
versucht? Evtl auch

Code: Alles auswählen

sudo apt install --fix-broken

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 25. Sep 2020 17:09
von hypoch
erst nachdem ich beide von dir genannten Befehle hintereinander ausgeführt habe, hats funktioniert. Danke.

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 25. Sep 2020 17:42
von udo1toni
Prima :)

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 7. Okt 2020 10:07
von Moriarty
Moin,

ich kann auch nicht auf 2.5.9 updaten.

Fehler:
There was an error or interruption during the execution of:
"02 | Upgrade System"

Code: Alles auswählen

2020-10-07_09:50:19_CEST [openHABian] Updating Linux package information... OK
2020-10-07_09:50:22_CEST [openHABian] Updating repositories and upgrading installed packages...
$ apt-get upgrade --yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bind9-host curl git git-man libbind9-140 libcurl3 libcurl3-gnutls libdns-export162 libdns162 libisc-export160 libisc160
  libisccc140 libisccfg140 libjpeg62-turbo libluajit-5.1-common liblwres141 libpython2.7 libpython2.7-dev libpython2.7-minimal
  libpython2.7-stdlib libsqlite3-0 libssl1.0.2 libx11-6 libx11-data libxml2 luajit openhab2 python2.7 python2.7-dev
  python2.7-minimal python3-software-properties software-properties-common
32 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.1 MB/128 MB of archives.
After this operation, 9,216 B of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf git-man all 1:2.11.0-3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libcurl3-gnutls armhf 7.52.1-5+deb9u12
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf git armhf 1:2.11.0-3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python2.7-dev armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpython2.7-dev armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:6 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpython2.7 armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:7 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python2.7 armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:8 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpython2.7-stdlib armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:9 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python2.7-minimal armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:10 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpython2.7-minimal armhf 2.7.13-2+deb9u4
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:11 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u2
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:12 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libssl1.0.2 armhf 1.0.2u-1~deb9u2
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:13 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libxml2 armhf 2.9.4+dfsg1-2.2+deb9u3
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:14 http://raspbian.raspberrypi.org/raspbian stretch/main armhf bind9-host armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:15 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libisc160 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:16 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libdns162 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:17 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libisccc140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:18 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libisccfg140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:19 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libbind9-140 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:20 http://raspbian.raspberrypi.org/raspbian stretch/main armhf liblwres141 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:21 http://raspbian.raspberrypi.org/raspbian stretch/main armhf curl armhf 7.52.1-5+deb9u12
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:22 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libcurl3 armhf 7.52.1-5+deb9u12
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:23 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libisc-export160 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:24 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libdns-export162 armhf 1:9.10.3.dfsg.P4-12.3+deb9u7
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:25 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libjpeg62-turbo armhf 1:1.5.1-2+deb9u1
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:26 http://raspbian.raspberrypi.org/raspbian stretch/main armhf luajit armhf 2.0.4+dfsg-1+deb9u1
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:27 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libluajit-5.1-common all 2.0.4+dfsg-1+deb9u1
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:28 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libx11-data all 2:1.6.4-3+deb9u3
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:29 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libx11-6 armhf 2:1.6.4-3+deb9u3
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:30 http://raspbian.raspberrypi.org/raspbian stretch/main armhf software-properties-common all 0.96.20.2-1+deb9u1
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:31 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python3-software-properties all 0.96.20.2-1+deb9u1
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/git/git-man_2.11.0-3+deb9u7_all.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/c/curl/libcurl3-gnutls_7.52.1-5+deb9u12_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/git/git_2.11.0-3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/python2.7-dev_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7-dev_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/python2.7_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/python2.7-minimal_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7-minimal_2.7.13-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/sqlite3/libsqlite3-0_3.16.2-5+deb9u2_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u2_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libx/libxml2/libxml2_2.9.4+dfsg1-2.2+deb9u3_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/bind9-host_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libisc160_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libdns162_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libisccc140_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libisccfg140_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libbind9-140_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/liblwres141_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/c/curl/curl_7.52.1-5+deb9u12_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/c/curl/libcurl3_7.52.1-5+deb9u12_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libisc-export160_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libdns-export162_9.10.3.dfsg.P4-12.3+deb9u7_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2+deb9u1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/l/luajit/luajit_2.0.4+dfsg-1+deb9u1_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/l/luajit/libluajit-5.1-common_2.0.4+dfsg-1+deb9u1_all.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libx/libx11/libx11-data_1.6.4-3+deb9u3_all.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libx/libx11/libx11-6_1.6.4-3+deb9u3_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/software-properties/software-properties-common_0.96.20.2-1+deb9u1_all.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/software-properties/python3-software-properties_0.96.20.2-1+deb9u1_all.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
FAILED

There was an error or interruption during the execution of:
"03 | openHAB Stable"

Code: Alles auswählen

2020-10-07_09:51:47_CEST [openHABian] Checking for changes in origin branch HEAD... OK
2020-10-07_09:51:49_CEST [openHABian] Switching to branch stable... OK
2020-10-07_09:51:52_CEST [openHABian] Updating Linux package information... OK
2020-10-07_09:51:54_CEST [openHABian] Beginning install of latest openHAB release (stable)... OK
2020-10-07_09:51:57_CEST [openHABian] Adding required keys to apt...
$ wget -qO /tmp/openhabian.kUm0j https://bintray.com/user/downloadSubjectPublicKey?username=openhab

$ apt-key add /tmp/openhabian.kUm0j
OK
OK
2020-10-07_09:51:58_CEST [openHABian] Installing selected openHAB version...
$ apt-get update
Ign:1 http://archive.raspberrypi.org/debian stretch InRelease
Ign:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Ign:3 http://repos.azulsystems.com/debian stable InRelease
Err:4 http://archive.raspberrypi.org/debian stretch Release
  404  Not Found [IP: 2a00:1098:84:1e0::1 80]
Hit:5 http://repos.azulsystems.com/debian stable Release
Err:6 http://raspbian.raspberrypi.org/raspbian stretch Release
  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Ign:7 https://deb.nodesource.com/node_7.x stretch InRelease
Ign:8 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Get:9 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Hit:9 https://dl.bintray.com/openhab/apt-repo2 stable Release
Err:11 https://deb.nodesource.com/node_7.x stretch Release
  gnutls_handshake() failed: An unexpected TLS packet was received.
Reading package lists... Done
E: The repository 'http://archive.raspberrypi.org/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.nodesource.com/node_7.x stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
FAILED (update apt lists)


Die Befehle oben haben mir nicht geholfen.

Wer kennt eine Lösung?

System in der Signatur.

Danke.

Grüße!

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 7. Okt 2020 16:08
von udo1toni
Du musst erst mal von Stretch auf Buster upgraden. :)

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 7. Okt 2020 17:01
von Moriarty
Oh, das macht openhabian nicht automatisch?
Wie kann ich das Upgrade durchführen?
Muss dafür openhab neu installiert werden?

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 7. Okt 2020 17:40
von udo1toni
openHABian hält (aus gutem Grund) das Betriebssystem nur auf dem aktuellen Stand, macht aber kein Upgrade.

Die Schritte für ein Upgrade:
  1. sudo apt update && sudo apt -y full-upgrade.
    Sollte das nicht funktionieren, evtl. zunächst einen Reboot durchführen)
  2. nachdem das Update komplett durchgelaufen ist, die Quellen anpassen:
    sudo nano /etc/apt/sources.list
    und dort an allen stellen stretch durch buster ersetzen.
  3. nochmals zu Punkt 1 zurückkehren.

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 9. Okt 2020 12:42
von Moriarty
Oha. Alles klar, danke!

Re: Update auf openhab 2.5.9 scheitert

Verfasst: 4. Dez 2020 19:30
von Moriarty
Ich habe gestern mal eine alte Installation von openhab wieder hervor gekramt. Auf einer extra SSD und einem pi 3b+.
Da war noch die Version 2.4.0 installiert. Auch auf strech.

Was mich wundert: Ohne zu zögern wurde 2.5.10 installiert. Wie kann das denn sein?