首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何修复错误dpkg:在ubuntu20.04中错误处理归档/tmp/apt-dpkg-install-W36e5C/4-libp11-kit-gnome-k

如何修复错误dpkg:在ubuntu20.04中错误处理归档/tmp/apt-dpkg-install-W36e5C/4-libp11-kit-gnome-k
EN

Ask Ubuntu用户
提问于 2021-08-02 13:03:14
回答 1查看 1.6K关注 0票数 0
代码语言:javascript
运行
复制
(Reading database ... 602386 files and directories currently installed.)
Preparing to unpack .../0-wine1.6-amd64_1%3a1.6.2-0ubuntu14_amd64.deb ...
Unpacking wine1.6-amd64 (1:1.6.2-0ubuntu14) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/0-wine1.6-amd64_1%3a
1.6.2-0ubuntu14_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/olecli32.dll.so', which is 
also in package libwine:amd64 5.0-3ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../1-wine1.6-i386_1%3a1.6.2-0ubuntu14_i386.deb ...
Unpacking wine1.6-i386:i386 (1:1.6.2-0ubuntu14) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/1-wine1.6-i386_1%3a1
.6.2-0ubuntu14_i386.deb (--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/wine/jscript.dll.so', which is als
o in package libwine:i386 5.0-3ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../2-wine1.6_1%3a1.6.2-0ubuntu14_amd64.deb ...
Unpacking wine1.6 (1:1.6.2-0ubuntu14) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/2-wine1.6_1%3a1.6.2-
0ubuntu14_amd64.deb (--unpack):
 trying to overwrite '/usr/share/wine/fonts/vgas1257.fon', which is also in pack
age fonts-wine 5.0-3ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../3-libp11-kit-gnome-keyring_3.18.3-0ubuntu2_amd64.deb ...
Unpacking libp11-kit-gnome-keyring:amd64 (3.18.3-0ubuntu2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/3-libp11-kit-gnome-k
eyring_3.18.3-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/p11-kit/modules/gnome-keyring.module', which is
 also in package gnome-keyring-pkcs11:amd64 3.36.0-1ubuntu1
No apport report written because MaxReports has already been reached
                                                                    Preparing to
 unpack .../4-libp11-kit-gnome-keyring_3.18.3-0ubuntu2_i386.deb ...
Unpacking libp11-kit-gnome-keyring:i386 (3.18.3-0ubuntu2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/4-libp11-kit-gnome-k
eyring_3.18.3-0ubuntu2_i386.deb (--unpack):
 trying to overwrite '/usr/share/p11-kit/modules/gnome-keyring.module', which is
 also in package gnome-keyring-pkcs11:amd64 3.36.0-1ubuntu1
No apport report written because MaxReports has already been reached
                                                                    Preparing to
 unpack .../5-libpng12-0_1.2.54-1ubuntu1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/5-libpng12-0_1.2.54-
1ubuntu1_amd64.deb (--unpack):
 unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such
 file or directory
No apport report written because MaxReports has already been reached
                                                                    Preparing to
 unpack .../6-libpng12-0_1.2.54-1ubuntu1_i386.deb ...
Unpacking libpng12-0:i386 (1.2.54-1ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-W36e5C/6-libpng12-0_1.2.54-
1ubuntu1_i386.deb (--unpack):
 unable to install new version of '/usr/lib/i386-linux-gnu/libpng12.so.0': No su
ch file or directory
No apport report written because MaxReports has already been reached
                                                                    Errors were 
encountered while processing:
 /tmp/apt-dpkg-install-W36e5C/0-wine1.6-amd64_1%3a1.6.2-0ubuntu14_amd64.deb
 /tmp/apt-dpkg-install-W36e5C/1-wine1.6-i386_1%3a1.6.2-0ubuntu14_i386.deb
 /tmp/apt-dpkg-install-W36e5C/2-wine1.6_1%3a1.6.2-0ubuntu14_amd64.deb
 /tmp/apt-dpkg-install-W36e5C/3-libp11-kit-gnome-keyring_3.18.3-0ubuntu2_amd64.d
eb
 /tmp/apt-dpkg-install-W36e5C/4-libp11-kit-gnome-keyring_3.18.3-0ubuntu2_i386.de
b
 /tmp/apt-dpkg-install-W36e5C/5-libpng12-0_1.2.54-1ubuntu1_amd64.deb
 /tmp/apt-dpkg-install-W36e5C/6-libpng12-0_1.2.54-1ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

发布于 2021-08-02 13:33:18

尝试这两个命令重新安装winehq

代码语言:javascript
运行
复制
sudo apt remove wine winehq-stable

代码语言:javascript
运行
复制
sudo apt install wine winehq-stable

这样可以解决问题。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1355508

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档