我不知道该怎么办!(dpkg:警告)

我不知道该怎么办!(dpkg:警告)

抱歉,我不想显示相同消息的页面。

是 kubuntu 20.04

如果我可以提供任何信息,我会提供,但我不想只是扔掉一大堆东西。

这是最后一点……

Setting up samba-common (2:4.11.6+dfsg-0ubuntu1.6) ...
dpkg: error processing package samba-common (--configure):
 installed samba-common package post-installation script subprocess returned error exit status 10
Setting up nfs-common (1:1.3.4-2.5ubuntu3.3) ...
dpkg: error processing package nfs-common (--configure):
 installed nfs-common package post-installation script subprocess returned error exit status 10
Setting up grub-efi-amd64 (2.04-1ubuntu26.7) ...
dpkg: error processing package grub-efi-amd64 (--configure):
 installed grub-efi-amd64 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on samba-common (= 2:4.11.6+dfsg-0ubuntu1.6); however:
  Package samba-common is not configured yet.

dpkg: error processing package samba-common-bin (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of samba:
 samba depends on samba-common (= 2:4.11.6+dfsg-0ubuntu1.6); however:
  Package samba-common is not configured yet.
 samba depends on samba-common-bin (= 2:4.11.6+dfsg-0ubuntu1.6); however:
  Package samba-common-bin is not configured yet.

dpkg: error processing package samba (--configure):
 dependency problems - leaving unconfigured
Setting up python-is-python2 (2.7.17-4) ...
No apport report written because MaxReports has already been reached
                                                                    Setting up autofs (5.1.6-2ubuntu0.1) ...
dpkg: error processing package autofs (--configure):
 installed autofs package post-installation script subprocess returned error exit status 10
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of grub-efi:
 grub-efi depends on grub-efi-amd64 (= 2.04-1ubuntu26.7); however:
  Package grub-efi-amd64 is not configured yet.

dpkg: error processing package grub-efi (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
 grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
  Package grub-efi-amd64 is not configured yet.
  Package grub-pc is not installed.

dpkg: error processing package grub-efi-amd64-signed (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 samba-common
 nfs-common
 grub-efi-amd64
 samba-common-bin
 samba
 autofs
 grub-efi
 grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我们缺少一些信息,但我会处理这个问题。看起来您只是缺少一个正在安装的文件,具体来说是“python3-simplejson”。

快速尝试此操作并重新启动计算机,以使所有操作都生效。

sudo apt-get update
sudo apt-get install python-simplejson

如果您仍然遇到问题或者它要求您提供依赖包,请尝试安装(或重新安装)常见的依赖项。

sudo apt-get install libc6 python

相关内容