每次尝试安装或运行升级时,处理 thinkfan 软件包时都会出错

每次尝试安装或运行升级时,处理 thinkfan 软件包时都会出错

我在安装 compiz manager 和其他软件时遇到了问题,无论是通过 ppas 还是使用命令行,我都遇到了这个问题,我不知道是否有人能帮我解决这个问题。这让我很抓狂。

我正在运行 Ubuntu 16.10

angelo@angelo-Aspire-E1-430:~$ sudo apt-get install compizconfig-settings-manager compiz-plugins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
compiz-plugins is already the newest version (1:0.9.13.0+16.10.20160818.2-0ubuntu2).
compizconfig-settings-manager is already the newest version (1:0.9.13.0+16.10.20160818.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up thinkfan (0.9.2-1) ...
Job for thinkfan.service failed because the control process exited with error code.
See "systemctl status thinkfan.service" and "journalctl -xe" for details.
invoke-rc.d: initscript thinkfan, action "start" failed.
● thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since mar 2017-01-24 03:00:52 CST; 29ms ago
  Process: 7100 ExecStart=/usr/sbin/thinkfan (code=exited, status=4)

ene 24 03:00:52 angelo-Aspire-E1-430 systemd[1]: Starting simple and lightwe....
ene 24 03:00:52 angelo-Aspire-E1-430 thinkfan[7100]: thinkfan 0.9.1 starting...
ene 24 03:00:52 angelo-Aspire-E1-430 systemd[1]: thinkfan.service: Control p...4
ene 24 03:00:52 angelo-Aspire-E1-430 systemd[1]: Failed to start simple and ....
ene 24 03:00:52 angelo-Aspire-E1-430 systemd[1]: thinkfan.service: Unit ente....
ene 24 03:00:52 angelo-Aspire-E1-430 systemd[1]: thinkfan.service: Failed wi....
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package thinkfan (--configure):
 subprocess installed post-installation script returned error exit status 1


Errors were encountered while processing:
 thinkfan
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我刚刚解决了它,如果有人遇到同样的问题,它与软件 thinkfan 有关,只需运行:

sudo apt-get remove thinkfan

一切都将像以前一样正常工作!

相关内容