未完成的 19.04 到 19.10 的升級現在顯示錯誤

未完成的 19.04 到 19.10 的升級現在顯示錯誤

這裡有一個有點新的 linux 用戶。當時使用的是 Ubuntu 19.04,軟體更新程式說我現在可以更新到 19.10,所以我說好的。筆記型電腦在更新過程中突然關閉,我再次打開它,現在再次嘗試軟體更新程式。它說我有一個中斷的升級(我選擇了部分升級),它不起作用(python 符號連結到 /usr/bin/python)嘗試手動設定它。我之前確實使用過 python 符號鏈接,因為 2.7 或其他東西是與 19.04 一起安裝的,我刪除了它並將 /usr/bin/python 指向 python3,這樣它就會默認運行。不起作用,所以我嘗試了 apt install --reinstall python3。

好吧,升級仍然沒有完成,所以與此同時,我嘗試了 --fix-broken-installation (我猜只是想把所有東西都扔到它上面)以及 apt update 和 apt Upgrade。

現在 apt Upgrade 的輸出有來自 .../ubuntu eoan/... 的來源,所以我猜之前的升級已經將其設置為這樣。現在 lsb_release -a 表示 19.10 (apt 升級後)

那現在真的是19.10嗎?或者這仍然是部分升級(軟體包已升級,但其餘部分與核心或其他內容不同),那麼我如何檢查 19.10 升級的完整性?

輸出lsb_release -a;須藤apt更新;sudo dist-upgrade --模擬

Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename:   eoan
Hit:1 http://ppa.launchpad.net/teejee2008/ppa/ubuntu eoan InRelease
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu eoan InRelease
Hit:4 http://archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu eoan-security InRelease
Hit:7 http://ph.archive.ubuntu.com/ubuntu bionic InRelease
Hit:8 http://ph.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:9 http://ph.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  linux-headers-5.0.0-32 linux-headers-5.0.0-32-generic
  linux-image-5.0.0-32-generic linux-modules-5.0.0-32-generic
  linux-modules-extra-5.0.0-32-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libdjvulibre-text libdjvulibre21
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst libdjvulibre-text [3.5.27.1-13] (3.5.27.1-13ubuntu0.1 Ubuntu:19.10/eoan-updates, Ubuntu:19.10/eoan-security [all])
Inst libdjvulibre21 [3.5.27.1-13] (3.5.27.1-13ubuntu0.1 Ubuntu:19.10/eoan-updates, Ubuntu:19.10/eoan-security [amd64])
Conf libdjvulibre-text (3.5.27.1-13ubuntu0.1 Ubuntu:19.10/eoan-updates, Ubuntu:19.10/eoan-security [all])
Conf libdjvulibre21 (3.5.27.1-13ubuntu0.1 Ubuntu:19.10/eoan-updates, Ubuntu:19.10/eoan-security [amd64])

編輯:根據評論添加輸出

相關內容