我試圖在我的 ubuntu 20.04 中刪除“python 3.10”,但現在一切都壞了

我試圖在我的 ubuntu 20.04 中刪除“python 3.10”,但現在一切都壞了

我試圖透過點擊命令來刪除 python3 sudo apt-get remove python3,但現在整個系統都損壞了。我嘗試了網路上找到的多種解決方案,例如重新安裝ubuntu-descktop

sudo apt install --reinstall ubuntu-desktop

結果:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ubuntu-desktop : Depends: gdm3 but it is not going to be installed
                  Depends: gnome-control-center but it is not going to be installed
                  Depends: gnome-shell but it is not going to be installed
                  Depends: gnome-shell-extension-appindicator but it is not going to be installed
                  Depends: gnome-shell-extension-desktop-icons but it is not going to be installed
                  Depends: gnome-shell-extension-ubuntu-dock but it is not going to be installed
                  Depends: ubuntu-desktop-minimal but it is not going to be installed
                  Depends: ubuntu-session but it is not going to be installed
                  Depends: yelp but it is not going to be installed
                  Recommends: gnome-getting-started-docs but it is not going to be installed
                  Recommends: ibus
                  Recommends: ibus-table but it is not going to be installed
                  Recommends: plymouth-theme-spinner but it is not going to be installed
                  Recommends: ubuntu-docs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我也嘗試手動重新安裝依賴項,但沒有成功。

相關內容