ubuntu18.04升级kennel 5.10失败记录 #yyds干货盘点#

【ubuntu18.04升级kennel 5.10失败记录 #yyds干货盘点#】恢弘志士之气,不宜妄自菲薄。这篇文章主要讲述ubuntu18.04升级kennel 5.10失败记录 #yyds干货盘点#相关的知识,希望能为你提供帮助。
操作记录

# 前提: 完成了apt-get update & & apt-get upgraderoot@ln0-189-perftest:~# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.89/amd64/linux-headers-5.10.89-051089-generic_5.10.89-051089.202112291237_amd64.deb root@ln0-189-perftest:~# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.89/amd64/linux-headers-5.10.89-051089_5.10.89-051089.202112291237_all.deb root@ln0-189-perftest:~# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.89/amd64/linux-image-unsigned-5.10.89-051089-generic_5.10.89-051089.202112291237_amd64.deb root@ln0-189-perftest:~# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.89/amd64/linux-modules-5.10.89-051089-generic_5.10.89-051089.202112291237_amd64.debroot@ln0-189-perftest:~# sudo dpkg -i *.deb Selecting previously unselected package linux-headers-5.10.89-051089. ... dpkg: dependency problems prevent configuration of linux-headers-5.10.89-051089-generic: linux-headers-5.10.89-051089-generic depends on libc6 (> = 2.33); however: Version of libc6:amd64 on system is 2.27-3ubuntu1.4.# 但重启后uname显示成功了 root@ln0-189-perftest:~# uname -sr Linux 5.10.89-051089-generic# 执行apt-get会有报错, 要求--fix-broken install linux-headers-5.10.89-051089-generic包 root@ln0-189-perftest:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run apt --fix-broken install to correct these. The following packages have unmet dependencies: linux-headers-5.10.89-051089-generic : Depends: libc6 (> = 2.33) but 2.27-3ubuntu1.4 is installed E: Unmet dependencies. Try apt --fix-broken install with no packages (or specify a solution).root@ln0-189-perftest:~# apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages will be REMOVED: linux-headers-5.10.89-051089-generic 0 upgraded, 0 newly installed, 1 to remove and 62 not upgraded. 1 not fully installed or removed. After this operation, 26.0 MB disk space will be freed.


    推荐阅读