进程:11481 ExecStart=/sbin/afsd $AFSD_ARGS(代码=已退出,状态=1/FAILURE)

进程:11481 ExecStart=/sbin/afsd $AFSD_ARGS(代码=已退出,状态=1/FAILURE)

我该如何在 Ubuntu 18.04 上修复此错误?每次更新和升级时都会显示此错误。我不知道是否需要 openAFS。下面显示在 konsole 上。

● openafs-client.service - OpenAFS client
   Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-12-26 14:06:00 GMT; 12ms ago
  Process: 11482 ExecStopPost=/sbin/rmmod $KMOD (code=exited, status=0/SUCCESS)
  Process: 11481 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=1/FAILURE)
  Process: 11473 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=exited, status=0/SUCCESS)

Dec 26 14:06:00 gary-All-Series systemd[1]: Starting OpenAFS client...
Dec 26 14:06:00 gary-All-Series afsd[11481]: afsd: some file missing or bad in /etc/openafs/
Dec 26 14:06:00 gary-All-Series systemd[1]: openafs-client.service: Control process exited, code=exited status=1
Dec 26 14:06:00 gary-All-Series systemd[1]: openafs-client.service: Failed with result 'exit-code'.
Dec 26 14:06:00 gary-All-Series systemd[1]: Failed to start OpenAFS client.
dpkg: error processing package openafs-client (--configure):
 installed openafs-client package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 openafs-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我在看。

dpkg:错误处理软件包 openafs-client (--configure):已安装的 openafs-client 软件包安装后脚本子进程返回错误退出状态 1 处理时遇到错误:openafs-client

查看相关答案。

dpkg: 处理软件包 openafs-client 时出错

引领我去。

sudo apt 删除 openafs 客户端

然后更新升级。

sudo apt-get 更新 && sudo apt-get 升级

在 Konsole 上我得到了提示。

以下软件包已自动安装,不再需要:dkms openafs-modules-dkms 使用“sudo apt autoremove”将其删除。

相关内容