最新軟體更新後「電源管理守護程式」無法啟動

最新軟體更新後「電源管理守護程式」無法啟動

從 Ubuntu 軟體更新程式提示字元安裝並重新啟動電腦後,我的電腦因Failed to start Daemon for power management錯誤而從未完成啟動:

/dev/sda2: recovering journal
/dev/sda2: clean, 789912/30498816 files, 66894142/121965056 blocks
^[[20~^[[20~^[[20~^[[20~^[[20~^[[20~^[[20~^[[20~[FAILED] Failed to start Daemon for power management.
See 'systemctl status upower.service' for details.

我嘗試進入 GRUB 並在那裡啟動較舊的 Linux 版本,但出現了相同的問題。

由於無法啟動我的系統,我進入恢復選單嘗試從那裡解決問題。當我嘗試使用時dpkg Repair broken packages,我遇到了另一個問題,但我在網上沒有找到討論:

Reading cache
Can not upgrade
An upgrade from 'bionic' to 'focal' is not supported with this tool."

當我不斷遇到問題時,我不太確定 Ubuntu 的軟體更新對我的電腦到底做了什麼。我真的不知道現在該去哪裡解決這些問題。

答案1

從日誌檔案 /var/log/apt/history.log 中,檢查systemd:amd64和是否systemd-timesyncd:amd64被刪除,如果是,您可能會受到以下影響 https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1903273

嘗試安裝它們sudo apt install systemd:amd64 systemd-timesyncd:amd64

systemd:更新刪除快照後使用者守護程式無法啟動

答案2

我有同樣的問題。為了修復它,我從 GRUB 啟動並從舊版本的核心啟動。步驟如下:

  1. 在啟動過程中重複點擊F12以啟動至 BIOS。從按下電源按鈕的那一刻開始執行此操作,直到看到電腦製造商的徽標為止。

  2. 從 BIOS 中的這裡開始,Shift重複點擊然後按下Escape,您將進入 GRUB。

  3. 從這裡按Advanced Settings並選擇 4.15 核心並從中啟動。

現在它應該可以工作,因為 4.15 是最新的 Ubuntu 18 核心。如果這不起作用,請在恢復中重試。

相關內容