我有一台笔记本电脑,同时安装了 32 位和 64 位 Ubuntu 14.04。我刚刚注意到这些操作系统上有不同的内核版本(请参阅下面的日志):
- 32位内核:3.19.0-58
- 64位内核:4.2.0-35
我的问题是 - 这是预期/正常的吗?我从下面的日志中可以看到,32 位版本声称内核来自linux-generic-lts-vivid
,而 64 位版本来自linux-generic-lts-wily
(两者都不是-trusty
,并且实际上比它晚 - 但都来自trusty-security
?!)。
我真的不记得我是否安装了导致此状态的某些东西。有什么推荐的方法可以让它们都使用相同的内核版本?
日志,32 位:
+ uname -a
Linux mypc 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:42 UTC 2016 i686 i686 i686 GNU/Linux
+ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
+ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
+ apt-show-versions -r linux
intel-linux-graphics-installer:i386 1.1.0-0intel1 installed: No available version in archive
libselinux1:i386/trusty-updates 2.2.2-1ubuntu0.1 uptodate
linux-firmware:all/trusty-security 1.127.20 uptodate
linux-generic-lts-vivid:i386/trusty-security 3.19.0.58.41 uptodate
linux-headers-3.19.0-58:all/trusty-security 3.19.0-58.64~14.04.1 uptodate
linux-headers-3.19.0-58-generic:i386/trusty-security 3.19.0-58.64~14.04.1 uptodate
linux-headers-generic-lts-vivid:i386/trusty-security 3.19.0.58.41 uptodate
linux-image-3.19.0-58-generic:i386/trusty-security 3.19.0-58.64~14.04.1 uptodate
linux-image-extra-3.19.0-58-generic:i386/trusty-security 3.19.0-58.64~14.04.1 uptodate
linux-image-generic-lts-vivid:i386/trusty-security 3.19.0.58.41 uptodate
linux-libc-dev:i386/trusty-security 3.13.0-85.129 uptodate
linux-sound-base:all/trusty 1.0.25+dfsg-0ubuntu4 uptodate
pptp-linux:i386/trusty 1.7.2-7 uptodate
syslinux:i386/trusty 3:4.05+dfsg-6+deb8u1 uptodate
syslinux-common:all/trusty 3:4.05+dfsg-6+deb8u1 uptodate
syslinux-legacy:i386/trusty 2:3.63+dfsg-2ubuntu5 uptodate
util-linux:i386/trusty-updates 2.20.1-5.1ubuntu20.7 uptodate
日志,64 位:
+ uname -a
Linux mypc 4.2.0-35-generic #40~14.04.1-Ubuntu SMP Fri Mar 18 16:37:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
+ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
+ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
+ apt-show-versions -r linux
libselinux1:amd64/trusty-updates 2.2.2-1ubuntu0.1 uptodate
libselinux1:i386/trusty-updates 2.2.2-1ubuntu0.1 uptodate
linux-firmware:all/trusty-security 1.127.20 uptodate
linux-generic-lts-wily:amd64/trusty-security 4.2.0.35.28 uptodate
linux-headers-4.2.0-35:all/trusty-security 4.2.0-35.40~14.04.1 uptodate
linux-headers-4.2.0-35-generic:amd64/trusty-security 4.2.0-35.40~14.04.1 uptodate
linux-headers-generic-lts-wily:amd64/trusty-security 4.2.0.35.28 uptodate
linux-image-4.2.0-35-generic:amd64/trusty-security 4.2.0-35.40~14.04.1 uptodate
linux-image-extra-4.2.0-35-generic:amd64/trusty-security 4.2.0-35.40~14.04.1 uptodate
linux-image-generic-lts-wily:amd64/trusty-security 4.2.0.35.28 uptodate
linux-libc-dev:amd64/trusty-security 3.13.0-85.129 uptodate
linux-signed-generic-lts-wily:amd64/trusty-security 4.2.0.35.28 uptodate
linux-signed-image-4.2.0-35-generic:amd64/trusty-security 4.2.0-35.40~14.04.1 uptodate
linux-signed-image-generic-lts-wily:amd64/trusty-security 4.2.0.35.28 uptodate
linux-sound-base:all/trusty 1.0.25+dfsg-0ubuntu4 uptodate
pptp-linux:amd64/trusty 1.7.2-7 uptodate
syslinux:amd64/trusty 3:4.05+dfsg-6+deb8u1 uptodate
syslinux-common:all/trusty 3:4.05+dfsg-6+deb8u1 uptodate
syslinux-legacy:amd64/trusty 2:3.63+dfsg-2ubuntu5 uptodate
util-linux:amd64/trusty-updates 2.20.1-5.1ubuntu20.7 uptodate
答案1
你可以通过运行以下命令将内核 4.2 安装到任何 14.04.x 版本:
sudo apt-get install linux-generic-lts-wily
它与 32 位或 64 位版本无关。