Page 1 of 1

can't install fahclient on linux mint 18

PostPosted: Mon Jul 11, 2016 12:20 am
by KevinsL
i followed the guide https://folding.stanford.edu/home/guide ... all-guide/
Code: Select all
(Reading database ... 271626 files and directories currently installed.)
Preparing to unpack .../fahclient_7.4.4_amd64 (1).deb ...
usermod: no changes
Unpacking fahclient (7.4.4) over (7.4.4) ...
Setting up fahclient (7.4.4) ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: error processing package fahclient (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu4) ...


the dialog "figure 5" doesn't even show up

Re: can't install fahclient on linux mint 18

PostPosted: Mon Jul 11, 2016 2:32 am
by 7im
Like any new operating system, client support may take a while to catch up. Even Windows 10 had problems.

Re: can't install fahclient on linux mint 18

PostPosted: Mon Jul 11, 2016 3:32 am
by 7im
What tool did you use to unpack the .deb file? Try gdebi if you didn't use that one.

Re: can't install fahclient on linux mint 18

PostPosted: Mon Jul 11, 2016 4:26 am
by KevinsL
7im wrote:What tool did you use to unpack the .deb file? Try gdebi if you didn't use that one.

i did, i tried installing it through gdebi and terminal, both failed.

Re: can't install fahclient on linux mint 18

PostPosted: Wed Jul 13, 2016 10:52 pm
by bfromcolo
I was able to install FAHClient but failed installing FAHControl. It seems to be complaining about an obsolete version of Python.

W: fahcontrol: new-package-should-close-itp-bug
E: fahcontrol: depends-on-obsolete-package depends: python-support (>= 0.90.0) => use dh_python2 instead
W: fahcontrol: binary-without-manpage usr/bin/FAHControl

Lintian finished with exit status 1

Re: can't install fahclient on linux mint 18

PostPosted: Wed Jul 13, 2016 11:49 pm
by davidcoton
It may be the same cure as on Ubuntu 16.04. See here.

Re: can't install fahclient on linux mint 18

PostPosted: Wed Jul 13, 2016 11:51 pm
by bfromcolo
davidcoton wrote:It may be the same cure as on Ubuntu 16.04. See here.


Thanks I posted there after someone pointed me to that thread, still have an issue.

Re: can't install fahclient on linux mint 18

PostPosted: Thu Jul 14, 2016 8:39 pm
by bfromcolo
I followed the instructions at the link above to try and correct my issue. Specifically I entered:

wget http://launchpadlibrarian.net/109052632 ... 15_all.deb
sudo dpkg -i python-support_1.0.15_all.deb


Now when I go to install the FAHClient it fails with the following from the log:

Selecting previously unselected package fahclient.
(Reading database ... 200540 files and directories currently installed.)
Preparing to unpack .../fahclient_7.4.4_amd64.deb ...
usermod: no changes
Unpacking fahclient (7.4.4) ...
Setting up fahclient (7.4.4) ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: error processing package fahclient (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu4) ...

Re: can't install fahclient on linux mint 18

PostPosted: Thu Jul 14, 2016 8:46 pm
by bruce
I had the same sort of a problem with a clean install of Ubuntu but not with an upgrade from an earlier version. I don't know if this information applies to Mint.

Ubuntu decided NOT to distribute Python 2, (a not-so-gentle push to have everyone update their code to Python 3, anticipating that Python 2 will soon be EOL). See https://wiki.ubuntu.com/Python
With a little searching of the Ubuntu archives, I found a Python version 2 which when installed manually,, fixed the problem for me without conflicting with Python 3.. I suspect the same might work for Mint. I'm not sure about the launchpad archives.

If FStanford updates FAHControl to use Python 3, won't that cause difficulties for folks who run on OSs that support Python 2? I doubt the same version of FAHControl can support both Python2 and Python3.

Re: can't install fahclient on linux mint 18

PostPosted: Thu Jul 14, 2016 8:58 pm
by bfromcolo
I thought that the commands I entered from the Ubuntu 16.04 thread were intended to resolve the Python issue, at least I am not seeing an error that specifically points to that any longer. This was a clean install since yesterday an upgrade from 17.3 to 18 was not supported, today however it appears that it is based on this:

http://blog.linuxmint.com/?p=3068

I made an image cope before installing 18, I guess it would be interesting to see if an upgrade works better than the clean install. If I can't get this corrected I will give that a try this weekend.

Re: can't install fahclient on linux mint 18

PostPosted: Fri Jul 15, 2016 9:54 am
by davidcoton
Yes, you seem to have solved the Python version problem apparent in Ubuntu, only to find another issue. As yet no-one else has recognised it, far less found a solution. It is not even certain that the issue is specific to Mint 18, though that is a fair guess.

FWIW the error message seems to point to a problem with symlinks (effectively files that point to another file) associated with update-rc.d. I don't know in detail what that is about, maybe the Mint 18 release notes would shed some light?

Try the upgrade route, it's possible that the upgrader has code to cope with the situation. If not it could be time to ask on whatever support forum Mint has.

Re: can't install fahclient on linux mint 18

PostPosted: Sun Jul 31, 2016 12:53 pm
by Mora
Did you manage to get it working? I got it up & running today after a bit of trial & error.

It did cause a few problems as other have mentioned, but I got there eventually using a combination of different fixes- not sure totally if everything is required, but it may help you.

Initial attempt was using the deb package installer, which worked ok for client & viewer, but failed on control- the python dependency issue.

Method I used: (I did it in this order, after noting that you had issues with installing the client after fixing the issue with control).

1. Uninstalled the client & viewer that had been installed by package manager-
sudo dpkg -P fahclient
sudo dpkg -P fahviewer

2. Created a link between python 2.6 & 2.7 as per the install guide
cd /usr/lib
sudo ln -s /usr/lib/python2.7 /usr/lib/python2.6

3. Installed Client
sudo dpkg -i --force-depends fahclient_7.4.4_amd64.deb

4. Installed Viewer
sudo dpkg -i --force-depends fahviewer_7.4.4_amd64.deb

5. Used the python fix from the Ubuntu thread that you linked- I can't post links yet apparently :)

6. Installed Control.
sudo dpkg -i --force-depends fahcontrol_7.4.4-1_all.deb

And it worked.

I also had to download the gpu.txt file & add it to /var/lib/fahclient to get my GPUs recognised. I just restarted the client, added them into slots & away they went.

Re: can't install fahclient on linux mint 18

PostPosted: Fri Aug 05, 2016 7:38 pm
by bfromcolo
Thanks Mora!

I tried this on a VM install of Mint 18 and it worked after fixing a missing dependency for python_gnome2

I entered the following in addition to your list above and I am up and running.

sudo apt-get install -f

When I get some time I will try my main system again.

Re: can't install fahclient on linux mint 18

PostPosted: Sun Mar 22, 2020 9:50 pm
by kac487
I had a similar error installing fahclient

Code: Select all
sudo dpkg -i fahclient_7.4.4_amd64.deb
sudo apt install -f

This returned a dependency error
Here's what worked for me:

Code: Select all
sudo apt update
sudo update-rc.d FAHClient defaults
sudo apt install fahclient