Page 1 of 2

Kubuntu 25.04

Posted: Fri Apr 18, 2025 9:02 am
by JVallois
Hello everybody!

I tried to install v8.4.9 into Kubuntu 25.04, but I got a problem :

Code: Select all

Note : sélection de « fah-client » au lieu de « ./fah-client_8.4.9_amd64.deb »
Résolution des dépendances  ... Erreur !
Certains paquets ne peuvent être installés. Cela peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Impossible de satisfaire les dépendances : 
 fah-client : Dépend: polkitd-pkla mais il n'est pas installable ou
                       policykit-1 (< 0.106) mais il n'est pas installable
Erreur : Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Erreur : The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. fah-client:amd64=8.4.9 is selected for install
   2. fah-client:amd64 Dépend polkitd-pkla | policykit-1 (< 0.106)
      but none of the choices are installable:
      [no choices]

Re: Kubuntu 25.04

Posted: Fri Apr 18, 2025 11:49 am
by arisu
The package has a dependency on polkitd-pkla, but for some reason it (or one of its own dependencies) not available in the version you need. The only purpose of polkitd-pkla is to let FAH inhibit suspend (sleep) while folding. If you don't plan on using that feature then it doesn't really need polkitd-pkla.

You should be able to remove the dependency this way, by extracting the deb file, changing the dependency list, then re-packaging it:

Code: Select all

$ mkdir -p newfah/DEBIAN
$ dpkg -x fah-client_8.4.9_amd64.deb newfah
$ dpkg -e fah-client_8.4.9_amd64.deb newfah/DEBIAN
$ sed -i 's/polkitd-pkla | policykit-1 (<< 0.106), //' newfah/DEBIAN/control
$ dpkg -b newfah newfah.deb
$ sudo dpkg -i newfah.deb

Re: Kubuntu 25.04

Posted: Fri Apr 18, 2025 8:10 pm
by JVallois
Thanks a lot.
Now, I can fold as usual.

Re: Kubuntu 25.04

Posted: Wed Jun 25, 2025 2:36 am
by arisu
This will be addressed by https://github.com/FoldingAtHome/fah-cl ... t/pull/343 in the next client release.

Re: Kubuntu 25.04

Posted: Mon Jul 28, 2025 3:37 pm
by Shadow125125
Just a quick tip for my fellow linux newbies for the above instructions. make sure before trying to use the steps listed you change directory to the folder you have downloaded the client to. obvious step for anyone used to linux but for people just coming off of windows it is not. if you are in the gui right click on the client file and select properties and you should get the file path. for me the command was

$ cd /home/****/Downloads

**** being my name on system. afterwards just enter commands as listed above and it installs!

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 7:58 pm
by liminal
Quick tangentially related question, newbie nondev on new install of debian stable trixie. On amd64 arch particularly, how is the fah client update project going, to deal with the policykit protocol incompatibility with trixie? Rough time horizon? Place to track dev chatter or announcement? Are there other dependencies that create issues preventing installation or proper function of 8.4.9, or best integration with system services on trixie?

Also incidentally, it sounds like preventing a system from going to sleep with an active WU is a feature I have trouble using on my laptop fah engine. When in full screen character mode terminal (Alt-Fx) system goes to sleep with lid closed to save power, whatever settings I use in gui power mgr widget. Is there a way to configure that setting in such a case? Sorry if I'm too far off topic with this.

TIA-

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 8:01 pm
by muziqaz
Configure your laptop to not go to sleep if you are folding

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 8:18 pm
by liminal
Oops sorry I didn't notice the earlier post link to github where they explain the sleep prevention protocol dependency fix will be in next client version.

@muziqaz Yes, if you mean the Keep Awake setting in machine config, that option is always enabled. But it seems to have no effect on the full screen terminal mode which can be a major headache when I want to minimize gui desktop overhead to speed up WU folding. Is there some under the hood thing I need to tweak in BIOS or kernel driver settings or what?

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 8:29 pm
by muziqaz
No, I meant switch off laptop sleep in Windows Power settings. There is an option on what to do when you close the lid. Select do nothing. Same with sleep settings, disable it. Only leave monitor sleep on.
Again, this is while folding. If you need to use sleep, pause folding before you go away from PC, and let it fall asleep.

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 8:56 pm
by liminal
I should have been more clear, I'm not using M$oft products. This is debian 12 bookworm or (soon to be) 13 based. Power settings in gui that I know how to nav to are the best they can be for the purpose. You understand what I mean by full screen terminal? It's not a feature you find on Windoze to my knowledge. Maybe I need to open a new topic for this question so it won't get lost.

Thanks for your attention.

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 9:02 pm
by muziqaz
I am sure there are terminal commands which can disable sleep in Linux, too ;)

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 9:05 pm
by liminal
Hmm I guess it may be questionable gui settings in use. "Blank Screen" for closing lid on battery or AC power may be some crank dev's idea of "Ok let's mess with their mind and go sleep after all." Will have to try Do Nothing to see if that helps.

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 9:06 pm
by arisu
liminal wrote: Mon Aug 11, 2025 7:58 pm Quick tangentially related question, newbie nondev on new install of debian stable trixie. On amd64 arch particularly, how is the fah client update project going, to deal with the policykit protocol incompatibility with trixie? Rough time horizon? Place to track dev chatter or announcement? Are there other dependencies that create issues preventing installation or proper function of 8.4.9, or best integration with system services on trixie?

Also incidentally, it sounds like preventing a system from going to sleep with an active WU is a feature I have trouble using on my laptop fah engine. When in full screen character mode terminal (Alt-Fx) system goes to sleep with lid closed to save power, whatever settings I use in gui power mgr widget. Is there a way to configure that setting in such a case? Sorry if I'm too far off topic with this.

TIA-
I believe https://github.com/FoldingAtHome/fah-cl ... t/pull/343 will fix this in 8.4.10. In the quoted PR:
The sleep prevention functionality will work on Debian 12 and Ubuntu 24.04 and later.

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 9:26 pm
by calxalot
I don’t think you can prevent sleep when you close the lid, unless you’re talking about clamshell mode. Folding on a laptop with lid closed seems like a bad idea to me.

Re: Kubuntu 25.04

Posted: Mon Aug 11, 2025 9:31 pm
by arisu
Since FAH is usually installed on systems with systemd, maybe the unit file could somehow block systemd's suspend.service while it is active?