【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.
推荐阅读
- 推荐几款大家常使用的 SSH 客户端工具
- #yyds干货盘点#Linux简介
- dgango中admin下添加搜索功能
- #yyds干货盘点#Linux进程
- 蓝魔平板电脑将推出采纳Windows 8.1设置系统的i10s【图】
- 对Win8系统磁盘进行分区方便用户管理电脑提高系统效率【图文】
- 新用户怎样选择32位与64位Win8系统【图】
- 浅析Windows 8开始屏幕与Win10开始菜单之间的争议
- 运用Win8系统“设备”超级按钮向其他设备发送文件与信息