累觉不爱,召唤大神详解报错解决方案
Tofloor
poster avatar
yk597590
deepin
2020-08-11 02:44
Author
https://bbs.deepin.org/post/198859#
这是刚接触deepin就碰到的问题,各路大神也在帮忙出主意,最终还是各种依赖不服,最后我认怂,我重装还不行吗?
好嘛~重装之后不服还是不行。
配置信息:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce 610M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetLink BCM57785 Gigabit Ethernet PCIe (rev 10)
04:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 10)
04:00.2 System peripheral: Broadcom Inc. and subsidiaries BCM57765/57785 MS Card Reader (rev 10)
04:00.3 System peripheral: Broadcom Inc. and subsidiaries BCM57765/57785 xD-Picture Card Reader (rev 10)

已经重新安装了系统,这次直接进的终端,update,upgrade,然后报错成这样子了。


没得办法,先看看能不能在应用中心下软件吧,毕竟先能让我用上WPS才是目前最重要的,然后下迅飞输入法探探路。最后果然没有让我失望。

他喵的还是不行。在论坛上貌似也看到有人也是报这个错误。我现在有点迷茫了,一天了,啥都干不了,然后继续整呢还是等官方维护,心好痛。


Reply Favorite View the author
All Replies
avatar
yk597590
deepin
2020-08-11 02:46
#1
sudo apt --fix-broken install
依旧报错
dpkg: 处理软件包 wireshark-common (--remove)时出错:
已安装 wireshark-common 软件包 post-removal 脚本 子进程返回错误状态 2
在处理时有错误发生:
wireshark-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
avatar
走钢丝
deepin
2020-08-11 02:59
#2
貌似
sudo dpkg --configure -a
Reply View the author
avatar
yk597590
deepin
2020-08-11 03:01
#3
https://bbs.deepin.org/post/198894
貌似
sudo dpkg --configure -a

正在设置 shim-signed (1.34.is.1.23+0.9+1474479173.6c180c6-1deepin) ...
Can't load '/usr/lib/x86_64-linux-gnu/perl/5.28/auto/re/re.so' for module re: /usr/lib/x86_64-linux-gnu/perl/5.28/auto/re/re.so: 文件过短 at /usr/share/perl/5.28/XSLoader.pm line 93.
at /usr/lib/x86_64-linux-gnu/perl/5.28/re.pm line 89.
Compilation failed in require at /usr/share/perl/5.28/Text/Wrap.pm line 58.
BEGIN failed--compilation aborted at /usr/share/perl/5.28/Text/Wrap.pm line 58.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: 处理软件包 shim-signed (--configure)时出错:
已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 2
正在设置 grub-efi-amd64 (2.02.9.1-1+deepin) ...
Can't load '/usr/lib/x86_64-linux-gnu/perl/5.28/auto/re/re.so' for module re: /usr/lib/x86_64-linux-gnu/perl/5.28/auto/re/re.so: 文件过短 at /usr/share/perl/5.28/XSLoader.pm line 93.
at /usr/lib/x86_64-linux-gnu/perl/5.28/re.pm line 89.
Compilation failed in require at /usr/share/perl/5.28/Text/Wrap.pm line 58.
BEGIN failed--compilation aborted at /usr/share/perl/5.28/Text/Wrap.pm line 58.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: 处理软件包 grub-efi-amd64 (--configure)时出错:
已安装 grub-efi-amd64 软件包 post-installation 脚本 子进程返回错误状态 2
dpkg: 依赖关系问题使得 grub-efi-amd64-signed 的配置工作不能继续:
grub-efi-amd64-signed 依赖于 grub-efi-amd64 (>= 1.65+2.02~beta2);然而:
  软件包 grub-efi-amd64 尚未配置。

dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 libc-bin (2.28.7-1+deepin) 的触发器 ...
正在处理用于 man-db (2.8.5-2) 的触发器 ...
正在处理用于 shared-mime-info (1.10-1) 的触发器 ...
正在处理用于 bamfdaemon (0.5.4-1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
正在处理用于 mime-support (3.62) 的触发器 ...
正在处理用于 initramfs-tools (0.133+deb10u1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-5.3.0-3-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
    nor crypto modules. If that's on purpose, you may want to uninstall the
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
    integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
I: The initramfs will attempt to resume from /dev/sdb6
I: (UUID=85851c96-06d8-4aa6-a3b3-da4e43645d4e)
I: Set the RESUME variable to override this.
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
正在处理用于 lastore-daemon (5.0.6-1) 的触发器 ...
在处理时有错误发生:
shim-signed
grub-efi-amd64
grub-efi-amd64-signed
Reply View the author
avatar
走钢丝
deepin
2020-08-11 03:05
#4
https://bbs.deepin.org/post/198894
正在设置 shim-signed (1.34.is.1.23+0.9+1474479173.6c180c6-1deepin) ...
Can't load '/usr/lib/x86_64 ...

看起来似乎更新过程没完成啊。。那就需要 sudo apt dist-upgrade -y 了吧。
Reply View the author
avatar
yk597590
deepin
2020-08-11 04:32
#5
https://bbs.deepin.org/post/198894
看起来似乎更新过程没完成啊。。那就需要 sudo apt dist-upgrade -y 了吧。

sudo apt dist-upgrade -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
grub-efi-amd64 : 依赖: grub-common (= 2.02.18-1+eagle)
grub-efi-amd64-bin : 依赖: grub-common (= 2.02.18-1+eagle)
grub2-common : 依赖: grub-common (= 2.02.18-1+eagle)
libc6-dev : 依赖: libc6 (= 2.28.8-2+rebuild) 但是 2.28.7-1+deepin 已经安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)

Reply View the author
avatar
走钢丝
deepin
2020-08-11 04:34
#6
https://bbs.deepin.org/post/198894
sudo apt dist-upgrade -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      

可以试试上面提示的操作。。
sudo apt --fix-broken install
Reply View the author
avatar
yk597590
deepin
2020-08-11 05:29
#7
https://bbs.deepin.org/post/198894
可以试试上面提示的操作。。
sudo apt --fix-broken install



sudo apt --fix-broken install
依旧报错
dpkg: 处理软件包 wireshark-common (--remove)时出错:
已安装 wireshark-common 软件包 post-removal 脚本 子进程返回错误状态 2
在处理时有错误发生:
wireshark-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
avatar
心平气和
deepin
2020-08-11 05:37
#8
你是不是装wireshark 了?
Reply View the author
avatar
心平气和
deepin
2020-08-11 05:41
#9
#先切换到root用户

sudo su                 

mv /var/lib/dpkg/info     /var/lib/dpkg/info_bak

mkdir /var/lib/dpkg/info

apt-get update && apt-get -f install

mv /var/lib/dpkg/info/*        /var/lib/dpkg/info_bak/

rm -rf /var/lib/dpkg/info

mv /var/lib/dpkg/info_bak /var/lib/dpkg/info
Reply View the author
avatar
yk597590
deepin
2020-08-11 09:26
#10
xiaobaizhang 发表于 2020-8-10 21:37
你是不是装wireshark 了?

我全新安装的系统,就更新了一下,还没更新成功
Reply View the author
avatar
yk597590
deepin
2020-08-11 09:36
#11
https://bbs.deepin.org/post/198894
#先切换到root用户

sudo su                 

运行到这apt-get update && apt-get -f install
然后报错
dpkg: 处理归档 /var/cache/apt/archives/libc6_2.28.8-2+rebuild_amd64.deb (--unpack)时出错:
新的 libc6:amd64 软件包 pre-installation 脚本 子进程返回错误状态 2
在处理时有错误发生:
/var/cache/apt/archives/libc6_2.28.8-2+rebuild_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

还有好多dpkg: 警告: 无法找到软件包  各种安装包,好几页
Reply View the author
avatar
189******23
deepin
2020-08-11 17:21
#12
你这肯定不是全新安装的啊,全新安装的为啥有wireshark。。。
Reply View the author
avatar
yk597590
deepin
2020-08-11 20:13
#13
piggyking 发表于 2020-8-11 09:21
你这肯定不是全新安装的啊,全新安装的为啥有wireshark。。。

我不知道啊,我把分区格式化,用u盘安装的,安装完啥都没干,直接终端update.upgrade,就这样了。
Reply View the author