-
Notifications
You must be signed in to change notification settings - Fork 6
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
Skype won't install, and lpf thinks it is installed... except it doesn't. #30
Comments
Yes, I noticed that. But is this not something that should be covered by the lpf-gui? |
Also, seems like a it would be a pretty common error. Bringing up a series of conflicting messages and hiding the error at the bottom of the log file doesn't seem like the right way to handle it. |
yes , after lpf-gui set your user pkg-build group , you must logout and login , or something , because in current session your user isn't yet in pkg-build group |
Okay, for a start, that doesn't explain why the user is being given conflicting messages. Second, I did restart, several times, it changed nothing. I think you misunderstand. I filed this under issues, because it's an issue that needs to be fixed. Users shouldn't have to search the internet to find a solution to this. It should be handled automatically. And if they need to reboot, they should be told to reboot. This is basic first year interface design. |
please , if you restart please tell us what id command says ?
uid=500(sergio) gid=500(sergio) groups=500(sergio),18(dialout),436(pkg-build),455(vboxusers),458(wireshark),462(davfs2),464(mock) |
I have exactly the same problem with lpf-skype And when trying to use lpf-skype it says nothing more to do and in the log file it says. So what can i do. This is on a freshly installed Fedora 23. |
Hi, you wrote "use lpf-skype" , the correct command is lpf-gui , after install lpf-skype I always have SElinux disabled , but not bet on SElinux fault , anyway if try with SELinux disable we will know if it is selinux fault or not . |
I mean I start lpf-skype from gnome gui. |
I don't understand what you wrote , "I start lpf-skype from gnome gui. " ? what that's means ? , the build must be under lpf-gui , I don't know any other way |
Screenshots Nothing to update, all lpf packages built and installed. And when running lpf-gui more on Skype and then view a little error message at the bottom of the file. |
Hello , sorry for the delay , thanks for the screenshots |
I've been running in to this issue with Spotify. From searching through the repo, it looks like this error message comes from Lines 17 to 25 in f1f5dd9
It appears that the script is literally checking if the user that runs it is |
After run lpf-gui for the first time , do |
Hey @sergiomb2 , % id
uid=1000(stieg) gid=1000(stieg) groups=1000(stieg),4(adm),6(disk),10(wheel),11(cdrom),18(dialout),63(audio),978(pkg-build) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 As you can clearly see I am part of the pkg-build group. But as @ahwatts notes above the failing check is checking the user, not the group. So it appears that this check is the culprit. Unless the build is supposed to actually be switching its user to the Knowing its checkered history I tried setting SELinux to permissive mode to see if that was the culprit. But alas the same error happened again. Here is a full log so you can see what is happening:
Not sure if you need anything else but please don't hesitate to ask. |
ok, as user 1000, please try :
lpf ask you for your password ? if not it is the problem |
I'd like check this , we may give a clever error to end user ...
|
@stieg ^ |
Howdy, So for your first comment the path to the RPM was incorrect. I corrected it and was able to install. Here is the output:
My user does have full sudo capabilities as I am in the wheel group and wheel has
|
Also including the relevant contents of
|
ah should be this , as you can see you have installed spotify successfully . |
No, works still works for me , please edit /usr/share/lpf/scripts/lpf-defs.bash and add one line with |
Log attached: |
Many thanks in advance |
So doing that has really caused things to get weird. Attached is the log: After doing the requested steps the build would fail to download and would get stuck in a permanent retry loop. Only a SIGINT was capable of stopping it. |
please send to me /var/lib/lpf/log/spotify-client.log ! |
Not really much there... |
please try , install it, and send spotify-client.log , see if no window is behind the main window , moving the main window , to other place . |
Did a clean reinstall of all lpf-* packages. Ensured that spotify-client was not installed. Below are screenshots of Log File |
So dug into the script a bit. Looking at the logs it appears that you expect the EUID to be if [[ ! $( id -un ) = "$LPF_USER" && "$UID" -ne '0' ]]; then
exec $SUDO -u pkg-build $scriptdir/lpf-pkgbuild "$@"
fi So it should be reasonable to expect that EUID would be preserved. However it seems that the invocation of the lpf-notify script is done using my standard user id. So somewhere between when the build starts and when the invocation to lpf-notify has happened the UID has been dropped back to my own. Hrmmm.... |
Thanks for the spotify-client.log , lpf-notify is called several times just fails after some calls , I will check it later , seems to me this spotify-client.log will hel me to find the issue . |
I haven't time to try to reproduce this , but in your images , is write approve-wait , , Have you approved the spotify license , should be asked before starting download etc |
|
This issue still comes up on google, so I'll leave this here:
and rerun, so it would use the full wget deb instead of the incomplete ones. Seems like lpf or dnf needs a more robust downloading method, I was inspired by this thread: https://ask.fedoraproject.org/t/cannot-build-lpf-spotify-client/12144/23 |
worked for me , I want do something for not try to run if your user is not yet in pkg-build group . |
yes, but did you try building rest of the package with this deb? using lpf-gui the download fails silently, which causes |
I forgot to reply it works for me , I could download file without any problem [2] , spectool use [1] [2] |
This is weird.
I tried installing Skype through LPF on Fedora 23. And it apparently won't work. I open up lpf-gui, and there's a red exclamation mark next to Skype. I click on 'Build...' and get the message:
I click on 'More...', see:
I click on 'Build...' and get the message:
So which is it? Installed, or not installed? Well I don't see 'Skype' in the programs list, so I'm going to say 'no.'
Anyway. I think this needs to be fixed. Here's the full logfile:
Yes, I did notice that last line, but I don't know what pkg-build user is, or how to run as one. This seems like something that should be handled by the GUI.
The text was updated successfully, but these errors were encountered: