2021 年 6 月 23 日,建议并安装了这些软件包。摘自grep " install " /var/log/dpkg.log.1
2021-06-23 06:44:09 install linux-modules-5.8.0-59-generic:amd64 <none> 5.8.0-59.66\~20.04.1
2021-06-23 06:44:10 install linux-image-5.8.0-59-generic:amd64 <none> 5.8.0-59.66\~20.04.1
2021-06-23 06:44:10 install linux-modules-extra-5.8.0-59-generic:amd64 <none> 5.8.0-59.66\~20.04.1
2021-06-23 06:44:13 install linux-hwe-5.8-headers-5.8.0-59:all <none> 5.8.0-59.66\~20.04.1
2021-06-23 06:44:16 install linux-headers-5.8.0-59-generic:amd64 <none> 5.8.0-59.66\~20.04.1
2021-06-23 06:45:04 install linux-modules-5.11.0-22-generic:amd64 <none> 5.11.0-22.23\~20.04.1
2021-06-23 06:45:05 install linux-image-5.11.0-22-generic:amd64 <none> 5.11.0-22.23\~20.04.1
2021-06-23 06:45:05 install linux-signatures-nvidia-5.11.0-22-generic:amd64 <none> 5.11.0-22.23\~20.04.1+1
2021-06-23 06:45:05 install linux-objects-nvidia-460-5.11.0-22-generic:amd64 <none> 5.11.0-22.23\~20.04.1+1
2021-06-23 06:45:06 install linux-modules-nvidia-460-5.11.0-22-generic:amd64 <none> 5.11.0-22.23\~20.04.1+1
以下是我的 grub 配置内容awk -F\\' '/menuentry / {print $2}' /boot/grub/grub.cfg
:
Ubuntu
Ubuntu, with Linux 5.11.0-22-generic
Ubuntu, with Linux 5.11.0-22-generic (recovery mode)
Ubuntu, with Linux 5.8.0-59-generic
Ubuntu, with Linux 5.8.0-59-generic (recovery mode)
Ubuntu, with Linux 5.8.0-55-generic
Ubuntu, with Linux 5.8.0-55-generic (recovery mode)
UEFI Firmware Settings
根据建议,以下是我的apt-cache policy
结果:
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.yarnpkg.com/debian stable/main all Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=all
origin dl.yarnpkg.com
500 https://dl.yarnpkg.com/debian stable/main i386 Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=i386
origin dl.yarnpkg.com
500 https://dl.yarnpkg.com/debian stable/main amd64 Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=amd64
origin dl.yarnpkg.com
500 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal/main i386 Packages
release v=20.04,o=LP-PPA-webupd8team-y-ppa-manager,a=focal,n=focal,l=Y PPA Manager,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-webupd8team-y-ppa-manager,a=focal,n=focal,l=Y PPA Manager,c=main,b=amd64
origin ppa.launchpad.net
500 http://packages.microsoft.com/repos/code stable/main armhf Packages
release o=code stable,a=stable,n=stable,l=code stable,c=main,b=armhf
origin packages.microsoft.com
500 http://packages.microsoft.com/repos/code stable/main arm64 Packages
release o=code stable,a=stable,n=stable,l=code stable,c=main,b=arm64
origin packages.microsoft.com
500 http://packages.microsoft.com/repos/code stable/main amd64 Packages
release o=code stable,a=stable,n=stable,l=code stable,c=main,b=amd64
origin packages.microsoft.com
500 https://packages.microsoft.com/repos/ms-teams stable/main amd64 Packages
release o=ms-teams stable,a=stable,n=stable,l=ms-teams stable,c=main,b=amd64
origin packages.microsoft.com
500 http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-stebbins-handbrake-releases,a=focal,n=focal,l=HandBrake Releases,c=main,b=amd64
origin ppa.launchpad.net
500 http://repository.spotify.com stable/non-free i386 Packages
release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=i386
origin repository.spotify.com
500 http://repository.spotify.com stable/non-free amd64 Packages
release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=amd64
origin repository.spotify.com
500 https://updates.signal.org/desktop/apt xenial/main amd64 Packages
release o=. xenial,a=xenial,n=xenial,l=. xenial,c=main,b=amd64
origin updates.signal.org
500 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-obsproject-obs-studio,a=focal,n=focal,l=OBS Studio,c=main,b=amd64
origin ppa.launchpad.net
500 https://deb.nodesource.com/node_12.x focal/main amd64 Packages
release o=Node Source,n=focal,l=Node Source,c=main,b=amd64
origin deb.nodesource.com
500 http://ppa.launchpad.net/mixxx/mixxx/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-mixxx-mixxx,a=focal,n=focal,l=Mixxx Releases,c=main,b=amd64
origin ppa.launchpad.net
500 https://cli-assets.heroku.com/apt ./ Packages
release o=Heroku,a=stable,c=
origin cli-assets.heroku.com
500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 http://ppa.launchpad.net/ethereum/ethereum/ubuntu focal/main i386 Packages
release v=20.04,o=LP-PPA-ethereum-ethereum,a=focal,n=focal,l=Ethereum (Release builds),c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/ethereum/ethereum/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-ethereum-ethereum,a=focal,n=focal,l=Ethereum (Release builds),c=main,b=amd64
origin ppa.launchpad.net
500 https://download.cudo.org/repo/apt stable/main amd64 Packages
release o=Cudo,a=stable,n=stable,l=Cudo,c=main,b=amd64
origin download.cudo.org
500 https://brave-browser-apt-release.s3.brave.com stable/main amd64 Packages
release o=Brave Software,a=stable,n=stable,l=Brave Browser,c=main,b=amd64
origin brave-browser-apt-release.s3.brave.com
500 http://ppa.launchpad.net/atareao/telegram/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-atareao-telegram,a=focal,n=focal,l=Telegram,c=main,b=amd64
origin ppa.launchpad.net
500 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal/main amd64 Packages
release v=20.04,o=LP-PPA-appimagelauncher-team-stable,a=focal,n=focal,l=AppImageLauncher - Stable PPA - Official Releases,c=main,b=amd64
origin ppa.launchpad.net
500 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
release o=Docker,a=focal,l=Docker CE,c=stable,b=amd64
origin download.docker.com
500 https://apt.kitware.com/ubuntu focal-rc/main i386 Packages
release o=ubuntu focal-rc,a=focal-rc,n=focal-rc,l=ubuntu focal-rc,c=main,b=i386
origin apt.kitware.com
500 https://apt.kitware.com/ubuntu focal-rc/main amd64 Packages
release o=ubuntu focal-rc,a=focal-rc,n=focal-rc,l=ubuntu focal-rc,c=main,b=amd64
origin apt.kitware.com
500 https://apt.kitware.com/ubuntu focal/main i386 Packages
release o=ubuntu focal,a=focal,n=focal,l=ubuntu focal,c=main,b=i386
origin apt.kitware.com
500 https://apt.kitware.com/ubuntu focal/main amd64 Packages
release o=ubuntu focal,a=focal,n=focal,l=ubuntu focal,c=main,b=amd64
origin apt.kitware.com
500 http://security.ubuntu.com/ubuntu focal-security/multiverse i386 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=amd64
origin security.ubuntu.com
100 http://ca.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages
release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=i386
origin ca.archive.ubuntu.com
100 http://ca.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages
release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=amd64
origin ca.archive.ubuntu.com
100 http://ca.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages
release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=main,b=i386
origin ca.archive.ubuntu.com
100 http://ca.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages
release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=main,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/universe i386 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/restricted i386 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=amd64
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/main i386 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=i386
origin ca.archive.ubuntu.com
500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=amd64
origin ca.archive.ubuntu.com
5.11.0.-22 无法启动。我真的很想知道如何找到缺少的东西才能让它工作。
有什么工具或技巧可以找出答案吗?
答案1
执行推荐的更新后,我遇到了同样的问题。我也运行 20.04.2 LTS 操作系统,由于我是新手,我不会尝试内核或系统。推荐的更新完成后,它无法启动。我的解决方法是使用 Grub 故障排除选项并选择以前的 5.8 内核,系统正常运行。