相关疑难解决方法(0)

修复包安装后脚本子进程为 libpaper1:amd64 返回错误退出状态 10

在尝试配置一些包后,我收到 libpaper1:amd64 包的错误。

错误 :

Setting up libpaper1:amd64 (1.1.28) ...
dpkg: error processing package libpaper1:amd64 (--configure):
 installed libpaper1:amd64 package post-installation script subprocess returned error exit status 10
Processing triggers for libc-bin (2.30-0ubuntu2.1) ...
Errors were encountered while processing:
 libpaper1:amd6
Run Code Online (Sandbox Code Playgroud)

系统信息 :

Linux user-Vostro-3590 5.3.0-46-generic #38-Ubuntu SMP Fri Mar 27 17:37:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?到目前为止,我已经尝试清除/重新安装/重新配置,但错误仍然存​​在。

编辑:我试图找出安装后脚本中的错误。这是我得到的

sh -x libpaper1:amd64.postinst configure 1.1.28
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec …
Run Code Online (Sandbox Code Playgroud)

package-management apt dpkg software-installation

4
推荐指数
2
解决办法
2万
查看次数

如何修复“dpkg:处理软件包 systemd 时出错(--configure):

我最近从 16.04 升级到 18.04,我认为升级过程中出现了问题。当我运行时sudo apt-get install -f,它尝试升级udev,但随后我收到有关“不安全符号链接”的重复消息和此错误消息:

dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)

我之前收到过类似的消息systemd-shim,但设法修复了它。我也遇到了不正确的问题/etc/apt/sources.list,但我认为这也已解决。我在升级过程中收到各种错误消息,最后我不得不“销毁”某些东西,而不是正确完成升级(不幸的是我不记得到底发生了什么。)对于发生了什么有什么想法吗?

upgrade systemd 18.04

3
推荐指数
1
解决办法
2万
查看次数