New install:
apt install fancontrol
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  fancontrol
0 upgraded, 1 newly installed, 0 to remove and 41 not upgraded.
Need to get 20.9 kB of archives.
After this operation, 90.1 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 fancontrol all 
1:3.4.0-4 [20.9 kB]
Fetched 20.9 kB in 0s (182 kB/s)     
Selecting previously unselected package fancontrol.
(Reading database ... 75456 files and directories currently installed.)
Preparing to unpack .../fancontrol_1%3a3.4.0-4_all.deb ...
Unpacking fancontrol (1:3.4.0-4) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up fancontrol (1:3.4.0-4) ...
Created symlink /etc/systemd/system/multi-user.target.wants/fancontrol.service 
→ /lib/systemd/system/fancontrol.service.
Processing triggers for systemd (237-3ubuntu10.1) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for ureadahead (0.100.0-20) ...

You are right, by default there is no configuration file.
And from your log:
 fancontrol[14322]: Loading configuration from /etc/fancontrol ...
 fancontrol[14322]: Some mandatory settings missing, please check your config 
file!

The reason this doesn't fail usually is that the service has
  ConditionPathExists=/etc/fancontrol

So default install = no problem because the file just doesn't exist.
If the file got created then the problem is a misconfiguration of that file.

If your's is blank as you mention then that is the issue, but I don't
see what would have placed it as a blank file. If you'd just remove the
file things should work again (with the service being disabled until you
provide a good config).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1782465

Title:
  package fancontrol 1:3.4.0-4 failed to install/upgrade: installed
  fancontrol package post-installation script subprocess returned error
  exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/1782465/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to