当我尝试运行sudo apt-get upgrade时,出现以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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.
Do you want to continue? [Y/n] y
Setting up libpam-systemd:amd64 (204-5ubuntu20.7) ...
start: Job failed to start
invoke-rc.d: initscript systemd-logind, action "start" failed.
dpkg: error processing package libpam-systemd:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libpam-systemd:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
这使我无法安装某些东西,并且显然出了点问题。有人知道如何调试吗?
askubuntu.com/questions/448961/…在这里,您可以看到如何调试安装后脚本以发现错误
—
Pablo Hinojosa
建议在此处重新安装libpam软件包,但他们不说最终是否对他们有帮助:ubuntuforums.org/showthread.php?t=2281366
—
Gasp0de