Reply
Thread Tools
Posts: 10 | Thanked: 18 times | Joined on Sep 2020
#391
Hi, All.
I deleted usr/libexec/flatpak* files. How i can get them again? All flatpak apps crash after startup with exit code 1 and log:

[nemo@Sailfish flatpak]$ flatpak-runner org.kde.mobile.angelfish
Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-1
WAYLAND_DISPLAY="../../display/wayland-1" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-CdCjMOOlsh,guid=e35d30e5b1989ab21342457a5fe4ccb4" flatpak run --env=QT_WAYLAND_FORCE_DPI=129 --env=QT_SCALE_FACTOR=2 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --env=QTWEBENGINE_DISABLE_GPU_THREAD=0 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=filesystem=homr --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[W] unknown:0 - Theme dir "/usr/share/themes/jolla/meegotouch/z1.25/" does not exist
[D] onCompleted:433 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
error: Failed to execute child process ?/usr/libexec/flatpak-bwrap? (No such file or directory)
[D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed

What can i do?
 

The Following 2 Users Say Thank You to ogustbiller For This Useful Post:
Posts: 1,389 | Thanked: 7,473 times | Joined on Aug 2016 @ Estonia
#392
Uninstall flatpak support and install again.
 

The Following 2 Users Say Thank You to rinigus For This Useful Post:
Posts: 10 | Thanked: 18 times | Joined on Sep 2020
#393
Originally Posted by rinigus View Post
Uninstall flatpak support and install again.
i did it, but there are no flatpak* files in /usr/libexec directory.
Ok, i give tem from fresh installed system on tablet. Copy at phone, setup permussins. And when i tried run flatpak app, then get:

bwrap: Can't mount devpts on /newroot/dev/pts: Operation not permitted
error: ldconfig failed, exit status 256
 

The Following 3 Users Say Thank You to ogustbiller For This Useful Post:
Posts: 1,389 | Thanked: 7,473 times | Joined on Aug 2016 @ Estonia
#394
Are you mixing x86 and ARM files? What kind of tablet is it?
 

The Following 2 Users Say Thank You to rinigus For This Useful Post:
Posts: 10 | Thanked: 18 times | Joined on Sep 2020
#395
Originally Posted by rinigus View Post
Are you mixing x86 and ARM files? What kind of tablet is it?
Tablet is Sony Z3 Tablet Mini
 

The Following 2 Users Say Thank You to ogustbiller For This Useful Post:
Posts: 1,389 | Thanked: 7,473 times | Joined on Aug 2016 @ Estonia
#396
Please uninstall all RPMs that you installed for flatpak support and install them again on your phone. Do not mess with /usr/XXX files manually unless you develop something and know what are you doing. Copying the files from one device to another should not be needed
 

The Following 2 Users Say Thank You to rinigus For This Useful Post:
Posts: 10 | Thanked: 18 times | Joined on Sep 2020
#397
Originally Posted by rinigus View Post
Please uninstall all RPMs that you installed for flatpak support and install them again on your phone. Do not mess with /usr/XXX files manually unless you develop something and know what are you doing. Copying the files from one device to another should not be needed
I tried reinstall flatpak as follows:

Code:
flatpak remove org.kde.mobile.angelfish
devel-su pkcon remove flatpak-runner
devel-su pkcon refresh
then reboot, and follow:

Code:
devel-su pkcon install flatpak-runner
flatpak-runner   
^c
then reboot, and finally:

Code:
flatpak install --user org.kde.mobile.angelfish
flatpak-runner   
^c
flatpak-runner org.kde.mobile.angelfish

But got same error:
Code:
bwrap: Can't mount devpts on /newroot/dev/pts: Operation not permitted
error: ldconfig failed, exit status 256
I don't know (

PS: when i removed angelfish, i got messsage with can't mount devpts... and permissions too.
 

The Following 3 Users Say Thank You to ogustbiller For This Useful Post:
Posts: 1,389 | Thanked: 7,473 times | Joined on Aug 2016 @ Estonia
#398
@ogustbiller - you would have to uninstall dependencies that were pulled from my flatpak repo as well. flatpak-runner is mostly GUI, there are few other packages involved. Just check what you have installed from the repo and remove that. the files you deleted were from another package, probably flatpak - but I don't remember for sure.
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Posts: 10 | Thanked: 18 times | Joined on Sep 2020
#399
Originally Posted by rinigus View Post
@ogustbiller - you would have to uninstall dependencies that were pulled from my flatpak repo as well. flatpak-runner is mostly GUI, there are few other packages involved. Just check what you have installed from the repo and remove that. the files you deleted were from another package, probably flatpak - but I don't remember for sure.
Ok, thank you . I'll try .
 

The Following 3 Users Say Thank You to ogustbiller For This Useful Post:
Posts: 135 | Thanked: 282 times | Joined on Jul 2018
#400
Quick general question from a borderline ignoramus, (forgive me if addressed already - there's 40 pages, and I didn't see the answer in op...) -

Seems like flatpak is sort of a framework that applications can be built in and run from, so mainly a dev thing, and not so much an end-user thing, but I just wondered if there are currently any applications, (or a repo or something), built and available to end-users at this time, that anyone who installs the support packages can use...

Thanks
 

The Following 2 Users Say Thank You to levone1 For This Useful Post:
Reply

Tags
flatpak

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:00.