NEWS
Disable OS update on none debian/ubuntu installations
-
Hi,
I would like to get rid of the following annoying warning message:
"Could not check for new OS updates: Command failed: sudo apt list --upgradeable The flag --upgradeable is not known."I am running iobroker on openSUSE, which is known not to work with apt/.deb, but with zypper/.rpm.
Where do I disable the OS updates check in iobroker?
Thanks and regards
Norbert
System data:
Operating System: openSUSE Tumbleweed
Hardware: Standard PC
Core adapters versions:
js-controller: 7.0.7
admin: 7.7.19
javascript: 9.0.11/usr/bin/node v22.21.1
/usr/bin/npm 10.9.4
/usr/bin/npx 10.9.4Installation Type: manually without docker
-
Hi,
I would like to get rid of the following annoying warning message:
"Could not check for new OS updates: Command failed: sudo apt list --upgradeable The flag --upgradeable is not known."I am running iobroker on openSUSE, which is known not to work with apt/.deb, but with zypper/.rpm.
Where do I disable the OS updates check in iobroker?
Thanks and regards
Norbert
System data:
Operating System: openSUSE Tumbleweed
Hardware: Standard PC
Core adapters versions:
js-controller: 7.0.7
admin: 7.7.19
javascript: 9.0.11/usr/bin/node v22.21.1
/usr/bin/npm 10.9.4
/usr/bin/npx 10.9.4Installation Type: manually without docker
@AIXroot sagte in Disable OS update on none debian/ubuntu installations:
Where do I disable the OS updates check in iobroker

-
I had not installed notification.manager until now. Installing it and activating the option did not help either.
Corrected Workaround for openSUSE (zypper/rpm)
The js-controller executes sudo apt list --upgradeable directly, which fails on openSUSE because apt exists but lacks the --upgradeable flag.
Exact Procedure
sudo ln -sf /bin/true /usr/bin/apt iobroker restartWhat happens?
Before: sudo apt list --upgradeable → "The flag --upgradeable is not known" error.After: /usr/bin/apt links to /bin/true (always exits with code 0/success).
Result: js-controller receives "success" → logs "OS updates: 0 available", no more error messages.
Why safe & reversible?
/bin/true is a standard Linux binary (does nothing, always succeeds).No real apt functionality affected (openSUSE doesn't use apt anyway).
Undo: sudo rm /usr/bin/apt && iobroker restart.