在我最新安装的内核上运行时,我用 build/modprobe/make 做了一些愚蠢的事情。现在该内核将无法启动。我目前在以前的内核上运行。
我怎样才能清理它?我想回到 apt 存储库中的“库存”最新内核。
编辑:我应该注意......我试图安装 flashcache ( https://github.com/facebook/flashcache/ )
我试着做
sudo apt-get install --reinstall linux-image-generic linux-image
Run Code Online (Sandbox Code Playgroud)
那并没有解决它;所以我尝试了“恢复模式”选项,看到加载 flashcache 模块时内核出现混乱......我必须在某处删除一些东西......

从 16.04 LTS 升级到 18.04.1 LTS 时遇到问题。
过程中出现这个错误
"while scanning your repository information no entry about artful"
Run Code Online (Sandbox Code Playgroud)
来源.list
root@nc:~# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
# deb cdrom:[Ubuntu-Server 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates …Run Code Online (Sandbox Code Playgroud)