Upgrade to 3 impossible due to missing Codename
Posted: 06 Jan 2020 19:58
I've been trying to upgrade to Z-Way 3 but there's a problem with a check in the RaspbianInstall script. I've made all upgrades according to
https://z-wave.me/z-way-v3-0-0/
but the script then does a check for
which for some reason is not set after I did the upgrade from Jessie to Buster. The os clearly shows the versions:
but lsb_release -a shows that the Codename is missing:
The 10-version is missing in /usr/share/pyshared/lsb_release.py, which might be the problem? But I don't think the best solution is to edit the file...
Cheers,
Bo
https://z-wave.me/z-way-v3-0-0/
but the script then does a check for
Code: Select all
distro=`lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'`
Code: Select all
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10.2 (n/a)
Release: 10.2
Codename: n/a
Cheers,
Bo