安装更新时出错

安装更新时出错

安装更新时出现以下错误。在我将系统升级到 12.04 后,这些错误开始出现。

Errors were encountered while processing:
 samba-common
 samba-common-bin
 samba
 grub-pc
 grub-gfxpayload-lists
 Setting up samba-common (2:3.6.3-2ubuntu2.2) ...
 perl: error while loading shared libraries: libperl.so.5.12: cannot open shared object file: No such file or directory
 dpkg: error processing samba-common (--configure):
 subprocess installed post-installation script returned error exit status 127
 dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on samba-common (>= 2:3.4.0~pre1-2); however:
 Package samba-common is not configured yet.
 dpkg: error processing samba-common-bin (--configure):
 dependency problems - leaving unconfigured
 dpkg: dependency problems prevent configuration of samba:
 samba depends on samba-common (= 2:3.6.3-2ubuntu2.2); however:
 Package samba-common is not configured yet.
 samba depends on samba-common-bin; however:
 Package samba-common-bin is not configured yet.
 dpkg: error processing samba (--configure):
 dependency problems - leaving unconfigured
 Setting up grub-gfxpayload-lists (0.6) ...
 Setting up grub-pc (1.99-21ubuntu3.1) ...
 perl: error while loading shared libraries: libperl.so.5.12: cannot open shared object file: No such file or directory
 dpkg: error processing grub-pc (--configure):
  subprocess installed post-installation script returned error exit status 127

任何想法如何解决这一问题?

答案1

看起来包裹有问题samba

在终端中输入sudo apt-get --purge remove samba删除包。这将删除你安装的 Samba 服务器。

相关内容