LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-20-2022, 10:06 AM   #1
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
Slackware 15 & Flatpak


I have Slackware 15 installed and fully updated.

I installed flatpak from Ponce's repo with no issues.

However when I stall flatpak apps I notice two things happen.

1 - I am getting the following warning:
Code:
Warning: Failed to get revokefs-fuse socket from system-helper: User flatpak does not exist in password file entry
2 - After the app is installed the apps don't launch. They flash on the screen quickly and don't open. When starting them from the command line I am getting an error. For instance I installed makemkv and am getting the following error when trying to launch it from the command line:
Code:
$ flatpak run com.makemkv.MakeMKV.desktop
error: app/com.makemkv.MakeMKV.desktop/x86_64/master not installed
Am I missing a part of the setup for flatpak?
 
Old 02-20-2022, 11:51 AM   #2
tkor
LQ Newbie
 
Registered: Feb 2022
Location: Athens/Greece
Distribution: Slackware-voidlinux
Posts: 19

Rep: Reputation: 11
Did you try to run it as a normal user (not root) or restart the machine???

Last edited by tkor; 02-20-2022 at 11:52 AM.
 
Old 02-20-2022, 12:40 PM   #3
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by tkor View Post
Did you try to run it as a normal user (not root) or restart the machine???
Yes, I've ran it as root and as a normal user and have restarted my PC after installing it. They still won't open.
 
Old 02-20-2022, 03:23 PM   #4
tkor
LQ Newbie
 
Registered: Feb 2022
Location: Athens/Greece
Distribution: Slackware-voidlinux
Posts: 19

Rep: Reputation: 11
Which iso did you download slackware live or stable ?
Did you read the slackbuild info ?
run this on a terminal
Code:
flatpak --user remote-add --if-not-exists flathub \
     https://dl.flathub.org/repo/flathub.flatpakrepo
and check again if you have the same error
look here if you forgot any dependencies

https://slackbuilds.org/repository/14.2/desktop/flatpak
and here
https://github.com/afhpayne/flatpak_slackbuild

Last edited by tkor; 02-20-2022 at 03:31 PM.
 
Old 02-20-2022, 08:09 PM   #5
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by tkor View Post
Which iso did you download slackware live or stable ?
Did you read the slackbuild info ?
run this on a terminal
Code:
flatpak --user remote-add --if-not-exists flathub \
     https://dl.flathub.org/repo/flathub.flatpakrepo
and check again if you have the same error
look here if you forgot any dependencies

https://slackbuilds.org/repository/14.2/desktop/flatpak
and here
https://github.com/afhpayne/flatpak_slackbuild
I have stable installed, now that it's released. All dependencies are installed and I'm still getting the same error. It's quite perplexing.
 
1 members found this post helpful.
Old 02-21-2022, 10:35 AM   #6
tkor
LQ Newbie
 
Registered: Feb 2022
Location: Athens/Greece
Distribution: Slackware-voidlinux
Posts: 19

Rep: Reputation: 11
Your user is on wheel group?
 
Old 02-21-2022, 02:24 PM   #7
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by tkor View Post
Your user is on wheel group?
It wasn't originally as I don't usually enable sudo, but I just did now by doing the following:

-
Code:
visudo
then uncomment the following line:
Code:
## Uncomment to allow members of group wheel to execute any command
 %wheel ALL=(ALL:ALL) ALL
-
Code:
root@hitch1:/home/justin# usermod -a -G wheel justin
I then rebooted and am still getting the same error.
 
Old 02-21-2022, 07:13 PM   #8
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
I guess flat pack will need lots of setting up.
 
Old 02-21-2022, 11:32 PM   #9
comet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Rep: Reputation: Disabled
I have flatpak and slackware 15, and flatpak is working for me.

1. The warning message you are seeing didn't affect my flatpaks when I would install them, but I was able to fix it by looking at this issue https://github.com/flatpak/flatpak/issues/2959. There is one post that has a link to the Fedora flatpak spec file, and in there there are the commands to create the flatpak user and group, which is what the warning is complaining about. For convenience, I'll just paste the commands here.
getent group flatpak >/dev/null || groupadd -r flatpak
getent passwd flatpak >/dev/null || \
useradd -r -g flatpak -d / -s /sbin/nologin \
-c "User for flatpak system helper" flatpak
paste the first line into the terminal then paste the last 3 all together into the terminal. This worked for me, but don't know if it would work for you.

2. Have you tried installing multiple flatpak apps, or just that one? If it is just that one app, it could be an issue with the app. The flatpaks I have on my computer are all working and I haven't had any issues like that.
 
Old 02-22-2022, 06:45 AM   #10
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 916

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by comet View Post
...
There is one post that has a link to the Fedora flatpak spec file, and in there there are the commands to create the flatpak user and group, which is what the warning is complaining about. For convenience, I'll just paste the commands here.
getent group flatpak >/dev/null || groupadd -r flatpak
getent passwd flatpak >/dev/null || \
useradd -r -g flatpak -d / -s /sbin/nologin \
-c "User for flatpak system helper" flatpak
paste the first line into the terminal then paste the last 3 all together into the terminal. This worked for me, but don't know if it would work for you.
With that in mind, SBo admins have recently allocated 372 for uid & gid - see:
https://slackbuilds.org/uid_gid.txt
The maintainer may just be waiting for the next update to include the user/group creation.

chris
 
Old 02-22-2022, 06:57 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
As an aside, flatpak works in Slint64-14.2 but with 212:999. I will change that for consistency with SBo in Slint64-15.0...
 
Old 02-22-2022, 07:08 AM   #12
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by comet View Post
I have flatpak and slackware 15, and flatpak is working for me.

1. The warning message you are seeing didn't affect my flatpaks when I would install them, but I was able to fix it by looking at this issue https://github.com/flatpak/flatpak/issues/2959. There is one post that has a link to the Fedora flatpak spec file, and in there there are the commands to create the flatpak user and group, which is what the warning is complaining about. For convenience, I'll just paste the commands here.
getent group flatpak >/dev/null || groupadd -r flatpak
getent passwd flatpak >/dev/null || \
useradd -r -g flatpak -d / -s /sbin/nologin \
-c "User for flatpak system helper" flatpak
paste the first line into the terminal then paste the last 3 all together into the terminal. This worked for me, but don't know if it would work for you.

2. Have you tried installing multiple flatpak apps, or just that one? If it is just that one app, it could be an issue with the app. The flatpaks I have on my computer are all working and I haven't had any issues like that.
1. I did this and am still having the same problem.

2. I also installed bitwarden and that also doesn't open.
 
Old 02-22-2022, 03:40 PM   #13
comet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Rep: Reputation: Disabled
make sure the user and group were actually created.
# getent passwd flatpak
# getent group flatpak

run those two commands to see if you get an output that indicates whether the flatpak user and group is present on the system. Other than that, I don't think I'll be much help as I haven't had issues like this with flatpak.
 
Old 02-23-2022, 06:23 AM   #14
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by comet View Post
make sure the user and group were actually created.
# getent passwd flatpak
# getent group flatpak

run those two commands to see if you get an output that indicates whether the flatpak user and group is present on the system. Other than that, I don't think I'll be much help as I haven't had issues like this with flatpak.
Code:
$ getent passwd flatpak
flatpak:x:329:999:User for flatpak system helper:/:/sbin/nologin
Code:
$ getent group flatpak
flatpak:x:999:
It looks like they are there. Is this how they are supposed to look?
 
Old 02-24-2022, 01:14 AM   #15
comet
LQ Newbie
 
Registered: Jul 2020
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by Bertman123 View Post
It looks like they are there. Is this how they are supposed to look?
yes, that shows that the flatpak user and group are on the system. This should only get rid of that warning, not solve the flatpak issue.

are you trying to install this app. https://flathub.org/apps/details/com.makemkv.MakeMKV
the command to run it should be
Code:
flatpak run com.makemkv.MakeMKV
not
Code:
flatpak run com.makemkv.MakeMKV.desktop

Last edited by comet; 02-24-2022 at 01:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Flatpak 1.10.2 Security Update Fixes Vulnerability That Lets Flatpak Apps Access Host OS Files LXer Syndicated Linux News 0 03-11-2021 05:12 PM
LXer: Flatpak Linux App Sandboxing Format Now Lets You Kill Running Flatpak Instances LXer Syndicated Linux News 0 11-23-2018 01:21 AM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 06:10 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration