Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter is not installable/updateable on non-deb Linux #243

Open
Grothesk242 opened this issue Dec 5, 2024 · 3 comments
Open

Adapter is not installable/updateable on non-deb Linux #243

Grothesk242 opened this issue Dec 5, 2024 · 3 comments

Comments

@Grothesk242
Copy link

Grothesk242 commented Dec 5, 2024

Describe the bug
Adapter won't update or install on non-deb-based Linux

To Reproduce
Steps to reproduce the behavior:
Try to update iton a non-deb-based Linux.

Expected behavior
Adapter should be installable on all Linuxes.

Screenshots & Logfiles
Install log from my Arch/EndeavourOS running on a Raspberry 4.

[thomas@daleth ~]$ iob upgrade all -y
Update rpi2 from @2.0.0 to @2.2.1
NPM version: 10.9.0
Installing iobroker.rpi2@2.2.1... (System call)

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

For security reasons, the password you type will not be visible.

[sudo] password for iobroker: 

/bin/sh: line 1: apt: command not found

/bin/sh: line 1: yum: command not found

No supported packet manager found
Cannot detect dpkg: /bin/sh: line 1: dpkg: command not found

host.daleth Could not install required OS packages: No dpkg detected
upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/index_m.html index_m.html text/html
upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
[thomas@daleth ~]$ 

Versions:

  • Adapter version: 2.2.1
  • JS-Controller version: 7.0.3
  • Node version: 20.18.0
  • Operating system: EndeavourOS / Arch-based
@mcm1957
Copy link
Member

mcm1957 commented Dec 5, 2024

Any idea how many RapsberyyPi will be running other os?

This dapter is at least primary targeted to Pi Hardware so a documented restriction to raspian could be valid to.

@Grothesk242
Copy link
Author

There is no requirement to technically lock out non-deb-Linuxes.
It does not matter how many RaspberryPi are running on other Distributions than RaspberryOS.
The check if a certain package is installed needs to be as distribution agnostic as possible.

@mcm1957
Copy link
Member

mcm1957 commented Dec 5, 2024

Feel free to provide a PR.

And even if there is no technical reason there might be missing knowledge about other systems and missing tes equipment and last but not least time.

So if you know what to change and how please provide a PR or at least clear chanfe instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants