Kubuntu 25.04

Moderators: Site Moderators, FAHC Science Team

JVallois
Posts: 5
Joined: Sun Sep 20, 2020 2:05 pm

Kubuntu 25.04

Post 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]
arisu
Posts: 579
Joined: Mon Feb 24, 2025 11:11 pm

Re: Kubuntu 25.04

Post 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
JVallois
Posts: 5
Joined: Sun Sep 20, 2020 2:05 pm

Re: Kubuntu 25.04

Post by JVallois »

Thanks a lot.
Now, I can fold as usual.
arisu
Posts: 579
Joined: Mon Feb 24, 2025 11:11 pm

Re: Kubuntu 25.04

Post by arisu »

This will be addressed by https://github.com/FoldingAtHome/fah-cl ... t/pull/343 in the next client release.
Shadow125125
Posts: 2
Joined: Mon Jun 23, 2025 2:42 pm

Re: Kubuntu 25.04

Post 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!
liminal
Posts: 18
Joined: Sun Nov 24, 2019 8:18 am

Re: Kubuntu 25.04

Post 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-
muziqaz
Posts: 1916
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, Intel B580
Location: London
Contact:

Re: Kubuntu 25.04

Post by muziqaz »

Configure your laptop to not go to sleep if you are folding
FAH Omega tester
Image
liminal
Posts: 18
Joined: Sun Nov 24, 2019 8:18 am

Re: Kubuntu 25.04

Post 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?
muziqaz
Posts: 1916
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, Intel B580
Location: London
Contact:

Re: Kubuntu 25.04

Post 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.
FAH Omega tester
Image
liminal
Posts: 18
Joined: Sun Nov 24, 2019 8:18 am

Re: Kubuntu 25.04

Post 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.
muziqaz
Posts: 1916
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, Intel B580
Location: London
Contact:

Re: Kubuntu 25.04

Post by muziqaz »

I am sure there are terminal commands which can disable sleep in Linux, too ;)
FAH Omega tester
Image
liminal
Posts: 18
Joined: Sun Nov 24, 2019 8:18 am

Re: Kubuntu 25.04

Post 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.
arisu
Posts: 579
Joined: Mon Feb 24, 2025 11:11 pm

Re: Kubuntu 25.04

Post 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.
calxalot
Site Moderator
Posts: 1581
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Kubuntu 25.04

Post 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.
arisu
Posts: 579
Joined: Mon Feb 24, 2025 11:11 pm

Re: Kubuntu 25.04

Post 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?
Post Reply