![我该如何解决错误“已安装的 gdm3 包安装后脚本子进程返回错误退出状态 10”](https://linux22.com/image/1028830/%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E9%94%99%E8%AF%AF%E2%80%9C%E5%B7%B2%E5%AE%89%E8%A3%85%E7%9A%84%20gdm3%20%E5%8C%85%E5%AE%89%E8%A3%85%E5%90%8E%E8%84%9A%E6%9C%AC%E5%AD%90%E8%BF%9B%E7%A8%8B%E8%BF%94%E5%9B%9E%E9%94%99%E8%AF%AF%E9%80%80%E5%87%BA%E7%8A%B6%E6%80%81%2010%E2%80%9D.png)
如何解决 gdm3 包的包安装错误?
每当我使用 apt 安装 Debian 软件包时都会收到一条错误消息;
sudo dpkg --configure -a
Setting up gdm3 (42.0-1ubuntu7) ...
dpkg: error processing package gdm3 (--configure):
installed gdm3 package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
gdm3
我尝试按如下方式解决错误但失败了。
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gdm3 (42.0-1ubuntu7) ...
dpkg: error processing package gdm3 (--configure):
installed gdm3 package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
gdm3
E: Sub-process /usr/bin/dpkg returned an error code (1)
在TTY模式下重新安装了gdm3包,但是错误仍然存在。
任何知道解决方案的人请给我提示一下。
问候