在日志转储之前使用其他信息进行编辑:
我最近安装了(新的,而不是升级的)Ubuntu Mate 20.04,它工作得很好(大部分情况下它仍然运行良好),但截至今天,我注意到它没有运行更新。
如果我启动更新程序,它会检查并告诉我许多更新已准备就绪,但只要我单击更新按钮,它就会崩溃。这是 /var/log/syslog 从单击按钮到死亡的内容。
任何人都可以在这里提供调查途径吗?或者更好,当然,修复!?
编辑:我再次尝试,取消选择建议的更新,发现实际更新会成功进行。导致问题的原因是“要删除未使用的内核更新”。我尝试取消选择前三个,但它崩溃了,然后我再次运行它并尝试取消选择最后三个,它仍然崩溃。所以看起来删除过程是问题的原因,也许而不是这些事情中的任何一个?
Jun 28 12:00:30 simon-laptop AptDaemon: INFO: CommitPackages() was called: dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('linux-headers-5.4.0-33'), dbus.String('linux-headers-5.4.0-33-generic'), dbus.String('linux-image-5.4.0-33-generic'), dbus.String('linux-modules-5.4.0-33-generic'), dbus.String('linux-modules-extra-5.4.0-33-generic'), dbus.String('linux-modules-nvidia-390-5.4.0-33-generic')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('google-chrome-stable'), dbus.String('openssh-client'), dbus.String('remmina'), dbus.String('remmina-common'), dbus.String('remmina-plugin-rdp'), dbus.String('remmina-plugin-secret'), dbus.String('remmina-plugin-spice'), dbus.String('remmina-plugin-vnc')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s'))
Jun 28 12:00:30 simon-laptop org.debian.apt[10246]: 12:00:30 AptDaemon [INFO]: CommitPackages() was called: dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('linux-headers-5.4.0-33'), dbus.String('linux-headers-5.4.0-33-generic'), dbus.String('linux-image-5.4.0-33-generic'), dbus.String('linux-modules-5.4.0-33-generic'), dbus.String('linux-modules-extra-5.4.0-33-generic'), dbus.String('linux-modules-nvidia-390-5.4.0-33-generic')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s')), dbus.Array([dbus.String('google-chrome-stable'), dbus.String('openssh-client'), dbus.String('remmina'), dbus.String('remmina-common'), dbus.String('remmina-plugin-rdp'), dbus.String('remmina-plugin-secret'), dbus.String('remmina-plugin-spice'), dbus.String('remmina-plugin-vnc')], signature=dbus.Signature('s')), dbus.Array([dbus.String('')], signature=dbus.Signature('s'))
Jun 28 12:00:30 simon-laptop AptDaemon.Trans: INFO: Queuing transaction /org/debian/apt/transaction/158efe4ae3eb407e9676eb858e771ef0
Jun 28 12:00:30 simon-laptop org.debian.apt[10246]: 12:00:30 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/158efe4ae3eb407e9676eb858e771ef0
Jun 28 12:00:30 simon-laptop AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/158efe4ae3eb407e9676eb858e771ef0
Jun 28 12:00:30 simon-laptop org.debian.apt[10246]: 12:00:30 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/158efe4ae3eb407e9676eb858e771ef0
Jun 28 12:00:30 simon-laptop AptDaemon.Worker: INFO: Committing packages: dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String('linux-headers-5.4.0-33'), dbus.String('linux-headers-5.4.0-33-generic'), dbus.String('linux-image-5.4.0-33-generic'), dbus.String('linux-modules-5.4.0-33-generic'), dbus.String('linux-modules-extra-5.4.0-33-generic'), dbus.String('linux-modules-nvidia-390-5.4.0-33-generic')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String('google-chrome-stable'), dbus.String('openssh-client'), dbus.String('remmina'), dbus.String('remmina-common'), dbus.String('remmina-plugin-rdp'), dbus.String('remmina-plugin-secret'), dbus.String('remmina-plugin-spice'), dbus.String('remmina-plugin-vnc')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s'))
Jun 28 12:00:30 simon-laptop org.debian.apt[10246]: 12:00:30 AptDaemon.Worker [INFO]: Committing packages: dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String('linux-headers-5.4.0-33'), dbus.String('linux-headers-5.4.0-33-generic'), dbus.String('linux-image-5.4.0-33-generic'), dbus.String('linux-modules-5.4.0-33-generic'), dbus.String('linux-modules-extra-5.4.0-33-generic'), dbus.String('linux-modules-nvidia-390-5.4.0-33-generic')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String('google-chrome-stable'), dbus.String('openssh-client'), dbus.String('remmina'), dbus.String('remmina-common'), dbus.String('remmina-plugin-rdp'), dbus.String('remmina-plugin-secret'), dbus.String('remmina-plugin-spice'), dbus.String('remmina-plugin-vnc')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s'))
Jun 28 12:00:30 simon-laptop kernel: [ 6867.112844] polkitd[7272]: segfault at 8 ip 000055b36706d846 sp 00007ffc1f932a30 error 4 in polkitd[55b367068000+f000]
Jun 28 12:00:30 simon-laptop kernel: [ 6867.112858] Code: 60 c7 ff ff 4d 89 e5 48 89 44 24 08 eb 53 66 0f 1f 44 00 00 48 8b 44 24 10 48 89 e9 be 10 00 00 00 31 ff 48 8d 15 1b af 00 00 <4c> 8b 40 08 31 c0 e8 bf cb ff ff 48 8b 7c 24 10 e8 75 c9 ff ff 4c
Jun 28 12:00:30 simon-laptop systemd[1]: polkit.service: Main process exited, code=dumped, status=11/SEGV
Jun 28 12:00:30 simon-laptop systemd[1]: polkit.service: Failed with result 'core-dump'.
您还可以使用命令行删除未使用或过时的包。
打开终端并运行以下命令:
该
update
命令将更新可用软件包的列表。该
autoremove
命令将删除不再需要的孤立和过时的软件包。