openSUSE / opi

OBS Package Installer (CLI)
GNU General Public License v3.0
242 stars 22 forks source link

add anydesk, sublime, yandex-disk #66

Closed 13werwolf13 closed 3 years ago

asdil12 commented 3 years ago

I just saw that your code doesn't actually install the packages. In each of your modules there are two lines missing at the end:

opi.install_packages(['vivaldi-stable'])
opi.ask_keep_repo('vivaldi')

(see https://github.com/openSUSE/opi/blob/master/opi/plugins/vivaldi.py#L22 for example)

13werwolf13 commented 3 years ago

I just saw that your code doesn't actually install the packages.

oh, I really don't understand how I managed to miss such important lines

asdil12 commented 3 years ago

Anydesk doesn't seem to actually work because of missing dependencies (at least on tumbleweed):

Problem: nothing provides 'libpangox-1.0.so.0()(64bit)' needed by the to be installed anydesk-6.1.1-1.x86_64
 Solution 1: do not install anydesk-6.1.1-1.x86_64
 Solution 2: break anydesk-6.1.1-1.x86_64 by ignoring some of its dependencies

and if I install it ignoring that deps, it doesn't work:

# systemctl status anydesk.service 
× anydesk.service - AnyDesk
     Loaded: loaded (/etc/systemd/system/anydesk.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2021-09-02 15:52:37 CEST; 34s ago
    Process: 20603 ExecStart=/usr/bin/anydesk --service (code=exited, status=127)
   Main PID: 20603 (code=exited, status=127)
        CPU: 3ms

Sep 02 15:52:37 athene systemd[1]: Started AnyDesk.
Sep 02 15:52:37 athene anydesk[20603]: /usr/bin/anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
Sep 02 15:52:37 athene systemd[1]: anydesk.service: Main process exited, code=exited, status=127/n/a
Sep 02 15:52:37 athene systemd[1]: anydesk.service: Failed with result 'exit-code'.
13werwolf13 commented 3 years ago

@asdil12 i just rm anydesk