计算机为组装台式机,原本安装18.04,后为解决缺少2.28版本GLIBC,使用Debian源安装libc6出现问题,为排除问题升级版本至20.04。
升级为20.04并未安装linux-generic-hwe-20.04,之后为了安装软件(AMD闭源驱动)决定使用HWE。
HWE正常安装,但linux-generic-hwe-20.04包版本为5.4.0.26.32而不是最新,同时安装的内核版本为5.4而不是5.15。
20.04使用HWE内核依然停留在5.4
-
- 帖子: 53
- 注册时间: 2014-03-06 12:20
- 系统: Ubuntu 20.04
- astolia
- 论坛版主
- 帖子: 6499
- 注册时间: 2008-09-18 13:11
Re: 20.04使用HWE内核依然停留在5.4
你用的源感觉有问题。没更新或者源列表里缺东西了
把apt show -a linux-generic-hwe-20.04的结果发上来看看
把apt show -a linux-generic-hwe-20.04的结果发上来看看
-
- 帖子: 53
- 注册时间: 2014-03-06 12:20
- 系统: Ubuntu 20.04
Re: 20.04使用HWE内核依然停留在5.4
我之前也考虑过这个问题,我原先使用的是南京大学的源,后来换成了CN99的源,问题依然没有解决,现在换成官方源也是一样的。
使用CN99源
使用官方源Package: linux-generic-hwe-20.04
Version: 5.4.0.26.32
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17.4 kB
Depends: linux-image-generic-hwe-20.04 (= 5.4.0.26.32), linux-headers-generic-hwe-20.04 (= 5.4.0.26.32)
Download-Size: 1,884 B
APT-Manual-Installed: yes
APT-Sources: http://mirrors.cn99.com/ubuntu focal/main amd64 Packages
Description: Complete Generic Linux kernel and headers
This package will always depend on the latest complete generic Linux kernel
and headers.
Package: linux-generic-hwe-20.04
Version: 5.4.0.26.32
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17.4 kB
Depends: linux-image-generic-hwe-20.04 (= 5.4.0.26.32), linux-headers-generic-hwe-20.04 (= 5.4.0.26.32)
Download-Size: 1,884 B
APT-Manual-Installed: yes
APT-Sources: http://cn.archive.ubuntu.com/ubuntu focal/main amd64 Packages
Description: Complete Generic Linux kernel and headers
This package will always depend on the latest complete generic Linux kernel
and headers.
- qy117121
- 论坛版主
- 帖子: 50552
- 注册时间: 2007-12-14 13:40
- 系统: Winbuntu
- 来自: 志虚国乌由市
- 联系:
Re: 20.04使用HWE内核依然停留在5.4
/etc/apt/sources.list 内容发来看看,感觉是少了 focal-security 的
渠月 · QY
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu
Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用
邮箱 chuan@ubuntu.org.cn
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu
Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用
邮箱 chuan@ubuntu.org.cn
-
- 帖子: 53
- 注册时间: 2014-03-06 12:20
- 系统: Ubuntu 20.04
Re: 20.04使用HWE内核依然停留在5.4
我在搜索中发现这个https://askubuntu.com/questions/1427141 ... ts#1427251
有一段内容如下
有一段内容如下
推测是因为原来的系统是由18.04升级上来且没有设置HWE,导致升级的20.04没有HWE。但是Wiki中对HWE的设置只是安装linux-headers-generic-hwe-20.04,没有其他配置了。Ubuntu 20.04 LTS uses the GA 5.4 kernel for the life of the product, only Ubuntu 20.04 LTS using the HWE kernel upgraded to 5.15 kernel.
If you were using
the GA kernel stack on 18.04, you'll upgrade to Ubuntu 20.04 using the GA kernel stack,
likewise if using the HWE kernel stack on 18.04 you upgrade to 20.04 LTS using HWE, however
if your system had both GA & HWE installed at 18.04, you'll have both installed on upgrade to Ubuntu 20.04 LTS.
ie. your 18.04 system & installation options (or changes made) dictate what you now have.
See also https://wiki.ubuntu.com/Kernel/LTSEnablementStack
Note Servers default to the more stable GA kernel stack by default; for 18.04 & prior releases; this if your system is a server install - GA kernel stack should be expected.
Desktop installations with 18.04 or 18.04.1 media defaulted to GA kernel stack being used on the install, but installs with 18.04.2 or later media defaulted to installations using the HWE kernel stack (Ubuntu flavors still follow this structure; but starting with Ubuntu 20.04 LTS Desktop, all installation media now uses HWE by default).
-
- 帖子: 53
- 注册时间: 2014-03-06 12:20
- 系统: Ubuntu 20.04
Re: 20.04使用HWE内核依然停留在5.4
查看sources.list发现确实是的
因为是18.04升级上来的,sources.list比较的乱,我将原来的删除了,然后用桌面工具软件和更新生成的配置文件,而更新界面里面的订阅为自定义,默认是没有这个选项的,可能是因为18升级上来的,也可能是我删除配置导致的。deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
deb http://cn.archive.ubuntu.com/ubuntu/ focal main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main universe restricted multiverse #Added by software-properties
订阅选择为所有更新,sources.list就变成这样了
之后就可能更新到5.15内核了deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
deb http://cn.archive.ubuntu.com/ubuntu/ focal main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main universe restricted multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ focal-security restricted main universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates restricted main universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports restricted main universe multiverse
谢谢,各位的帮助