You are not logged in.

#1 2021-06-24 12:58:38

holiday
Banned
Registered: 2021-05-26
Posts: 24

[SOLVED]dependencies for 'headless' dropbox

As the wiki points out (https://wiki.archlinux.org/title/Dropbox), Dropbox has a link for a headless installation and indeed that works well enough but at runtime we get this error :

ImportError: libglapi.so.0: cannot open shared object file: No such file or directory
 (error 3)
Aborted (core dumped)

That wiki (https://aur.archlinux.org/packages/dropbox/) lists dependencies that include X11, fonts, and perhaps other packages not required and incompatible with a headless configuration but I need at least some of those dependencies.

How can I identify which packages require X?

Is a headless Dropbox not possible with current packages?

Last edited by holiday (2021-06-25 19:35:01)

Offline

#2 2021-06-24 13:18:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED]dependencies for 'headless' dropbox

Headless usually means "no screen needed" and says  nothing about having (some parts of) X present.

Are you looking for a version of dropbox that runs on console and can be managed remotely ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-06-24 13:47:59

holiday
Banned
Registered: 2021-05-26
Posts: 24

Re: [SOLVED]dependencies for 'headless' dropbox

Lone_Wolf wrote:

Headless usually means "no screen needed" and says  nothing about having (some parts of) X present.

Are you looking for a version of dropbox that runs on console and can be managed remotely ?

Ah. Thank you for that clarification. Yes. I'm looking for dropbox that runs on console and can be managed remotely.

Offline

#4 2021-06-24 20:59:01

holiday
Banned
Registered: 2021-05-26
Posts: 24

Re: [SOLVED]dependencies for 'headless' dropbox

Offline

#5 2021-06-25 09:47:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED]dependencies for 'headless' dropbox

https://git.sailfishos.org/mer-core/libglibutil wrote:

Library of glib utilities

Archived project! Repository and other project resources are read only

libglapi is supposed to provide OpenGL support, are you sure this package can do that ?


dropbox-cli in aur requires dropbox so that does not fulfill your requirements .
Dropbox offers  a business version and has instuctions about using an admin panel .
Maybe ask them about console clients / remote management ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2021-06-25 11:26:58

holiday
Banned
Registered: 2021-05-26
Posts: 24

Re: [SOLVED]dependencies for 'headless' dropbox

Lone_Wolf wrote:

[
libglapi is supposed to provide OpenGL support, are you sure this package can do that ?

---
dropbox-cli in aur requires dropbox so that does not fulfill your requirements .
Dropbox offers  a business version and has instuctions about using an admin panel .
Maybe ask them about console clients / remote management ?

Indeed. I am sure it does NOT do this. I had many windows open and must have been reading the wrong window. 

I posted in error and tried to roll it back here but failed. Perhaps my correction was too short.

So thank you for raising the point and  this opportunity to correct the error.

In the end I installed all the dependencies given in the wiki and now Dropbox works. I'm testing in a VM so I'll go back now and install in smaller sets to identify which packages are required only to support the Manager GUI.

I'll look into documentation about the business version of Dropbox but I'm a hobbyist on a tight budget so can't justify enterprise prices. Good suggestion though for others.

Last edited by holiday (2021-06-25 11:28:33)

Offline

#7 2021-06-25 11:56:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED]dependencies for 'headless' dropbox

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2021-06-25 19:33:27

holiday
Banned
Registered: 2021-05-26
Posts: 24

Re: [SOLVED]dependencies for 'headless' dropbox

Of the dependencies listed at https://aur.archlinux.org/packages/dropbox/   libappindicator-gtk3, listed as optional,  is required to run the dropbox daemon and dropbox-cli. Running without gives the  libglapi,so error in my first post to this topic

Last edited by holiday (2021-06-25 19:34:39)

Offline

#9 2021-06-25 19:50:10

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]dependencies for 'headless' dropbox

libappindicator-gtk3 depends on libdbusmenu-gtk3 which depends on gtk3 which depends on mesa which provides libglapi.so. You can probably just install mesa and not any of libappindicator and gtk3 packages.

Last edited by progandy (2021-06-25 19:50:49)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#10 2021-06-25 20:53:00

holiday
Banned
Registered: 2021-05-26
Posts: 24

Re: [SOLVED]dependencies for 'headless' dropbox

progandy wrote:

libappindicator-gtk3 depends on libdbusmenu-gtk3 which depends on gtk3 which depends on mesa which provides libglapi.so. You can probably just install mesa and not any of libappindicator and gtk3 packages.

Exactly so!

Offline

Board footer

Powered by FluxBB