我尝试按照论坛上的指导去做,但有点迷茫。我尝试运行sudo do-release-upgrade
,结果
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
然后sudo apt-get update && sudo apt-get upgrade
给出
Fetched 88,7 kB in 3s (27,5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
然后apt list --upgradable
给出
Listing... Done
libdrm-amdgpu1/focal 2.4.107-1029 amd64 [upgradable from: 2.4.101-2~18.04.1]
N: There are 27 additional versions. Please use the '-a' switch to see them.
我有一台没有 NVIDIA 显卡的 Dell Precision,只有片上 Intel 显卡。我尝试安装 DaVinci Resolve 软件,之后我的电脑开始随机关闭并过热。所以我删除了它,但可能还安装了一些与 GPU 相关的依赖项?我非常积极地卸载。(在尝试删除 DaVinci Resolve 的所有痕迹时,我还意外删除了一些软件包,如系统信息、设置等......)
然后sudo apt-get upgrade libdrm-amdgpu1
给出
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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:
libdrm-amdgpu1 : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1.5 is to be installed
E: Broken packages
我还看到了一些运行建议apt list --installed | grep -v bionic
,我认为其中列出了我安装的没有适用于我当前版本的 Ubuntu(Ubuntu 18.04.2 LTS(beaver-osp1-varys X34))的软件。
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Listing...
canonical-oem-keyring/now 2009.07.23+build3 all [installed,local]
cnijfilter2/now 6.30-1+1804 amd64 [installed,local]
davmail/now 6.0.1-3390-1 all [installed,local]
dell-recovery/now 1.61~somerville5 all [installed,local]
dell-recovery-casper/now 1.61~somerville5 all [installed,local]
dell-service-meta/unknown,unknown,now 7ubuntu3 all [installed]
dell-super-key/now 0.04 all [installed,local]
ferdi/now 5.5.0-2116 amd64 [installed,local]
franz/now 5.6.1-1830 amd64 [installed,local]
libdrm-common/focal,now 2.4.107-1029 all [installed]
libdrm-intel1/focal,now 2.4.107-1029 amd64 [installed,automatic]
libdrm-nouveau2/focal,now 2.4.107-1029 amd64 [installed,automatic]
libdrm-radeon1/focal,now 2.4.107-1029 amd64 [installed,automatic]
libdrm2/focal,now 2.4.107-1029 amd64 [installed]
libva-drm2/focal,now 2.13.0+i643~u20.04 amd64 [installed,automatic]
libva-wayland2/focal,now 2.13.0+i643~u20.04 amd64 [installed,automatic]
libva-x11-2/focal,now 2.13.0+i643~u20.04 amd64 [installed,automatic]
libva2/focal,now 2.13.0+i643~u20.04 amd64 [installed,automatic]
manage-distro-upgrade/now 2.1~18.04timbuktu1 all [installed,local]
manage-estar-settings/now 1.2~18.04timbuktu1somerville1 all [installed,local]
ocenaudio/now 3.10.3-1 amd64 [installed,local]
oem-beaver-osp1-varys-meta/now 1 all [installed,local]
oem-fix-eth-realtek-disabletlpr8153/unknown,unknown,now 2ubuntu8 all [installed]
oem-hotkey-osd/now 0.4~18.04timbuktu1 all [installed,local]
oem-release/now 1 all [installed,local]
oem-seventy-percent-brightness/now 1.5 all [installed,local]
oem-somerville-partner-archive-keyring/unknown,unknown,now 1.0.1 all [installed,automatic]
oem-ubuntu-boot-video/now 1 all [installed,local]
quarto/now 0.9.188 amd64 [installed,local]
scangearmp-common/now 2.30.1-1804+2ubuntu4 amd64 [installed,local]
scangearmp-mg6200series/now 2.30.1-1804+2ubuntu4 amd64 [installed,local]
scangearmp2/now 4.30.0-2+1804 amd64 [installed,local]
somerville-meta/unknown,unknown,now 6.5~ubuntu18.04.0 all [installed]
sosreport-oem/now 0.1.5 all [installed,local]
timbuktu-meta/now 2.1~18.04timbuktu12 all [installed,local]
tlp-config/now 4 all [installed,local]
tlp-sensible/now 1.4 all [installed,local]
ubuntu-recovery-grub-hotkey/now 1.2~18.04timbuktu1 all [installed,local]
vivaldi-stable/stable,now 5.2.2623.39-1 amd64 [installed]