从 20.04 升级到 22.04 时挂起

从 20.04 升级到 22.04 时挂起

在安装升级时,我的更新卡住了,原因不明(见屏幕截图)。在图像的背景中,系统日志的内容,特别是:

Aug 11 11:00:56 clapas pulseaudio[2427]: Error opening PCM device front:0: Invalid argument
Aug 11 11:00:56 clapas pulseaudio[2427]: Failed to create sink input: sink is suspended.
Aug 11 11:00:56 clapas pulseaudio[2427]: Error opening PCM device front:0: Invalid argument
Aug 11 11:00:56 clapas pulseaudio[2427]: Failed to create sink input: sink is suspended.
Aug 11 11:02:36 clapas gnome-shell[2661]: Some code accessed the property 'discreteGpuAvailable' on the module 'appDisplay'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 11 11:02:38 clapas zeitgeist-datah[3105]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
Aug 11 11:02:38 clapas systemd[2421]: Started Application launched by gnome-shell.
Aug 11 11:02:38 clapas systemd[2421]: Started VTE child process 198019 launched by gnome-terminal-server process 197178.
Aug 11 11:02:38 clapas systemd[2421]: gnome-launched-org.gnome.Terminal.desktop-198013.scope: Succeeded.
Aug 11 11:02:56 clapas pulseaudio[2427]: Error opening PCM device front:0: Invalid argument
Aug 11 11:02:56 clapas pulseaudio[2427]: Failed to create sink input: sink is suspended.

发布升级至 Ubuntu 22.04:

分发升级截图

答案1

我没有得到任何答案,好吧。所以,这就是我解决问题的方法……我必须重新启动进入恢复模式并选择较旧的内核版本。然后,我按照此页面给出的提示进行操作: https://linuxhint.com/fix-broken-ubuntu-22-04-without-reinstalling/ ...这被证明是有帮助的!

答案2

我的解决方案是切换到其他控制台,列出进程(ps)并终止阻止进程(save-param),然后重新启动后只需 sudo dpkg --configure -a

相关内容