在 ubuntu 18.04 中安装几个软件包时出现此错误

在 ubuntu 18.04 中安装几个软件包时出现此错误
sudo apt-get install -f gnome-tweak-tool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnome-tweak-tool is already the newest version (3.28.1-1).
The following packages were automatically installed and are no longer required:
  cabextract chromium-codecs-ffmpeg-extra libmspack0 libopencore-amrnb0 libopencore-amrwb0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 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
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up acpi-call-dkms (1.1.0-4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package acpi-call-dkms (--configure):
 installed acpi-call-dkms package post-installation script subprocess returned error exit status 1
Setting up tp-smapi-dkms (0.42-1ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package tp-smapi-dkms (--configure):
 installed tp-smapi-dkms package post-installation script subprocess returned error exit status 1
**Errors were encountered while processing:
 acpi-call-dkms
 tp-smapi-dkms**
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容