fah-issues
fah-issues copied to clipboard
``update-rc.d: error: no runlevel symlinks to modify, aborting!`` on Ubuntu 16.04
Lintian Output:
E: fahclient: embedded-library usr/bin/FAHClient: expat
E: fahclient: embedded-library usr/bin/FAHClient: openssl
E: fahclient: embedded-library usr/bin/FAHClient: sqlite
W: fahclient: hardening-no-relro usr/bin/FAHClient
W: fahclient: hardening-no-relro usr/bin/FAHCoreWrapper
W: fahclient: package-contains-timestamped-gzip usr/share/doc/fahclient/changelog.Debian.gz
W: fahclient: package-contains-timestamped-gzip usr/share/doc/fahclient/changelog.gz
E: fahclient: duplicate-updaterc.d-calls-in-postinst FAHClient
W: fahclient: binary-without-manpage usr/bin/FAHClient
W: fahclient: binary-without-manpage usr/bin/FAHCoreWrapper
E: fahclient: maintainer-script-should-not-use-adduser-system-without-home preinst:24 'adduser --quiet --system --no-create-home --disabled-password $CLIENT_USER 2>/dev/null; then'
W: fahclient: init.d-script-does-not-source-init-functions etc/init.d/FAHClient
Lintian finished with exit status 1
APT-GET Output:
Setting up fahclient (7.4.4) ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: error processing package fahclient (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
fahclient
E: Sub-process /usr/bin/dpkg returned an error code (1)
I was aware of most of those lintian warnings. duplicate-updaterc.d-calls-in-postinst
is concerning and may be related. This might be relevant: http://comments.gmane.org/gmane.linux.debian.devel.mentors/52381
Which version of Ubuntu?
Ubuntu 16.04.2 Unity 7.4.0
I realize this is an old issue but it is still open and I am now experiencing this problem. Ubuntu 16.04.03 Server x64
I need more information. What is the situation that causes this error? Is this a new install or an upgrade? What is the install command?
Does running the following command and then trying to install again work?:
sudo update-rc.d FAHClient defaults
I got the same problem when I installed fahclient on Ubuntu 16.04.
$ sudo dpkg -i fahclient_7.4.4_amd64.deb Selecting previously unselected package fahclient. (Reading database ... 306306 files and directories currently installed.) Preparing to unpack fahclient_7.4.4_amd64.deb ... Adding system user fahclient...done 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 desktop-file-utils (0.22-1ubuntu5.1) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for systemd (229-4ubuntu21) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: fahclient
@koyung Please try running the command I suggested above and report back.
Yes, that command resolved the issue on my computer:
martin@dogmeat ~/Downloads % sudo dpkg --configure -a
fahclient (7.4.4) wird eingerichtet ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: Fehler beim Bearbeiten des Paketes fahclient (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
fahclient
martin@dogmeat ~/Downloads % sudo update-rc.d FAHClient defaults
martin@dogmeat ~/Downloads % sudo dpkg --configure -a
fahclient (7.4.4) wird eingerichtet ...
The Folding@home client is now installed
You can access the Web interface by going to:
http://folding.stanford.edu/client/
in a browser on this computer.
For information about configuring the Folding@home client for
remote access please see the comments in:
/etc/fahclient/config.xml
martin@dogmeat ~/Downloads % lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
Thanks. One more question. When you initially encountered this problem where you doing a fresh install or an upgrade?
Thanks. One more question. When you initially encountered this problem where you doing a fresh install or an upgrade?
A fresh install.
Got this error with FAH 7.5.1 beta on latest Linux Mint 18 with latest updates and the workaround
sudo update-rc.d FAHClient defaults
worked and FAHClient is running
Ok, I figured out what's going on here. This only happens if you tell FAHClient not to start automatically.
Yes, I did say not to start automatically.
I think I also selected that option to not start automatically since it was installed on my main desktop.
Nice work to narrow that issue down.
Peter Stevenson (2E0PGS) http://www.m3pgs.co.uk
On 29 May 2018, 19:10, at 19:10, informatorius [email protected] wrote:
Yes, I did say not to start automatically.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/FoldingAtHome/fah-issues/issues/1193#issuecomment-392879669
Ran into this issue on a fresh Linux Mint 19 desktop. Manually running sudo update-rc.d FAHClient defaults
solved the issue, but it would be nice if you could fix the deb package to "just work".
Same as others: fresh install on a Debian 10 Buster, kernel 4.18.10-2. Got a similar error
>sudo dpkg -i fahclient_7.5.1_amd64.deb
Selecting previously unselected package fahclient.
(Reading database ... 337291 files and directories currently installed.)
Preparing to unpack fahclient_7.5.1_amd64.deb ...
usermod: no changes
Unpacking fahclient (7.5.1) ...
Setting up fahclient (7.5.1) ...
update-rc.d: error: no runlevel symlinks to modify, aborting!
dpkg: error processing package fahclient (--install):
installed fahclient package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (239-15) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for gnome-menus (3.13.3-11) ...
Processing triggers for mime-support (3.61) ...
Errors were encountered while processing:
fahclient
But the aformentionned command sudo update-rc.d FAHClient defaults
fixed it. Thanks for that
Edit: Also configured for not starting up automatically
Also configured for not starting up automatically.
Why? FAHClient is a service which is easily managed by settings using FAHControl. If you've restarted your system with data that can be processed, it should start doing that. If you specifically configure a slot to PAUSE, it will; Also it won't download more work if you set it to FINISH.
Would you configure your system to avoid starting the printer daemon forcing you to start it manually when nothing happens when you issue a PRINT function in some program... or do you expect any incompletely printed file to resume processing after a restart?
This isn't the place to question why people don't want a service to start automatically. Everyone has different use cases for their systems. Some people don't want it. End of story. If the option is provided for the service not to start automatically, that option should work.
Got his error. I don't want to touch my rc.d files. What should I do?
Got his error. I don't want to touch my rc.d files. What should I do?
Run these commands, as stated above:
sudo update-rc.d FAHClient defaults
sudo dpkg --configure -a
ran into the same issue, the command fixed it
system:
Linux Mint 19.2
Kernel Linux 5.0.0-25-generic #26~18.04.1-Ubuntu SMP Thu Aug 1 13:51:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
fahclient fahclient_7.5.1_amd64.deb
fresh install, trying to not start it automatically
Same issue and fix on kubuntu 19.04.
Same issue with Ubuntu 19.10 x86_64 - Solved with $ sudo update-rc.d FAHClient defaults Cannot install fahcontrol : Depends: python-gnome2 but it is not installable
Confirming same issues python-support && python-gnome2 are not found
Ubuntu 19.10 x86_64
I was almost going to abandon the idea to connect to the FoldingAtHome when I found this solution.
I was installing it via Ubuntu Software and I saw the initial window settings. Then it suddenly crushed. I tried couple of times to reinstall it but always without success. It didn't show the initial window at following tries.
Only when I tried install via dpkg -i
I could see source of the problem.
Had the same issue on Linux Mint 19.3 Tricia, whilst doing a fresh install. The workaround (sudo update-rc.d FAHClient defaults) before installation solves the problem
What does the workaround do? Will it run the service at boot, no matter what I select during the installation of fahclient?
Same problem on ubuntu 18.04. I wanted to remain in control as whether to start fahclient at boot, and opted for no. That apparently caused the above bug.
Suggested solution of: sudo update-rc.d FAHClient defaults
works, and it fixes ubuntu packaging system.
While still wanting to be in control of what is starting on my system, my best guess, without testing would be to modify the /etc/init.d/FAHClient
file, line 27:
ENABLE=true
into
ENABLE=false
From the contents of the script, it is my semi-educated guess, such modified script will NOT launch fahclient at system startup.
You can add the pause-on-start true to the client under Fahcontrol, config, expert. In my case I don't want it starting auto as I frequently use the finish command before shutting down or switching to another dual boot OS.
From what I see this issue has been resolved with the current version. update-rc.d FAHClient defaults
has been added to the package pre/post install/config scripts and neither a reinstall now a fresh install with debconf-set-selections <<< 'fahclient fahclient/autostart boolean false'
causes any failure during my tests.
Tested with https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.6/latest.deb, probably users of other platforms can verify and in case this issue can be closed.