全新安装中未安装 linux-generic

全新安装中未安装 linux-generic

在全新安装的Ubuntu 14.04.1 LTS我注意到,自动删除建议删除linux-image-generic,但linux-generic根本没有安装。

这是一个错误还是内核映像的管理发生了变化?

答案1

初始全新安装后,是否有软件更新/升级?通常,当运行软件更新时,您会收到自动删除旧内核的建议。
为了更好地回答您的问题,请运行:

sudo update-grub

复制并粘贴结果到这里,它看起来应该像这样:

Generating grub.cfg
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-44-generic

等等.....这将让我们准确地看到您已安装的所有内容。

答案2

在从 14.04.1 iso 进行全新安装时,应该已经安装了软件包 linux-generic 3.13.0.32.38。

你可以通过这个来观察安装了哪些相关的包(我的例子是不是从全新未升级的安装开始):

doug@s15:~/docs-1404/tt_01/html$ dpkg -l | grep linux
ii  libselinux1:amd64                    2.2.2-1ubuntu0.1                      amd64        SELinux runtime shared libraries
ii  linux-firmware                       1.127.11                              all          Firmware for Linux kernel drivers
ii  linux-firmware-image                 3.11.0-rc6-31                         amd64        Linux kernel firmware, version 3.11.0-rc6
ii  linux-firmware-image-3.19.0-rc1-250  3.19.0-rc1-250-181                    amd64        Linux kernel firmware, version 3.19.0-rc1-250
ii  linux-generic                        3.13.0.45.52                          amd64        Complete Generic Linux kernel and headers
ii  linux-headers-3.13.0-43              3.13.0-43.72                          all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-43-generic      3.13.0-43.72                          amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-3.13.0-44              3.13.0-44.73                          all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-44-generic      3.13.0-44.73                          amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-3.13.0-45              3.13.0-45.74                          all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-45-generic      3.13.0-45.74                          amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-3.19.0-rc5-250         3.19.0-rc5-250-189                    amd64        Linux kernel headers for 3.19.0-rc5-250 on amd64
ii  linux-headers-generic                3.13.0.45.52                          amd64        Generic Linux kernel headers
ii  linux-headers-server                 3.13.0.45.52                          amd64        Transitional package.
ii  linux-image-3.13.0-43-generic        3.13.0-43.72                          amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-44-generic        3.13.0-44.73                          amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-45-generic        3.13.0-45.74                          amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.19.0-rc5-250           3.19.0-rc5-250-189                    amd64        Linux kernel, version 3.19.0-rc5-250
ii  linux-image-extra-3.13.0-43-generic  3.13.0-43.72                          amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-44-generic  3.13.0-44.73                          amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-45-generic  3.13.0-45.74                          amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                  3.13.0.45.52                          amd64        Generic Linux kernel image
ii  linux-image-server                   3.13.0.45.52                          amd64        Transitional package.
ii  linux-libc-dev:amd64                 3.13.0-45.74                          amd64        Linux Kernel Headers for development
ii  linux-server                         3.13.0.45.52                          amd64        Transitional package.
ii  util-linux                           2.20.1-5.1ubuntu20.3                  amd64        Miscellaneous system utilities

相关内容