为什么 Ubuntu 16.04 在 Linux 内核 4.6 安装中设置 Linux 内核 4.4?

为什么 Ubuntu 16.04 在 Linux 内核 4.6 安装中设置 Linux 内核 4.4?

我按照说明安装了 Ubuntu 16.04 64 位的 Linux 内核这里。使用 17 天后,我开始在启动时收到系统崩溃的日志,我将这些日志发送给了开发人员。我也遇到了同样的输出sudo apt-get upgrade

masi@masi:~$ sudo apt-get update
[sudo] password for masi: 
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
....
Get:23 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [2,327 B]
Fetched 1,861 kB in 2s (707 kB/s)                                           
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

是的,但是它也开始安装 Linux 4.4,对此我不太确定

masi@masi:~$ sudo dpkg --configure -a
Setting up linux-tools-4.4.0-28 (4.4.0-28.47) ...
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-image-4.4.0-28-generic (4.4.0-28.47) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-4.4.0-28-generic
) points to /boot/initrd.img-4.4.0-28-generic
 (/boot/initrd.img-4.4.0-28-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-4.4.0-28-generic
) points to /boot/vmlinuz-4.4.0-28-generic
 (/boot/vmlinuz-4.4.0-28-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... 

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-4.6.0-040600-generic
Found kernel: /boot/vmlinuz-4.4.0-28-generic
Found kernel: /boot/vmlinuz-4.4.0-24-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Setting up linux-tools-4.4.0-28-generic (4.4.0-28.47) ...
Setting up linux-headers-generic (4.4.0.28.30) ...
Setting up linux-image-extra-4.4.0-28-generic (4.4.0-28.47) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-4.6.0-040600-generic
Found kernel: /boot/vmlinuz-4.4.0-28-generic
Found kernel: /boot/vmlinuz-4.4.0-24-generic
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-4.6.0-040600-generic
Found kernel: /boot/vmlinuz-4.4.0-28-generic
Found kernel: /boot/vmlinuz-4.4.0-24-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

dpkg: dependency problems prevent configuration of git-daemon-run:
 git-daemon-run depends on runit; however:
  Package runit is not configured yet.

dpkg: error processing package git-daemon-run (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-generic (4.4.0.28.30) ...
Setting up linux-tools-virtual (4.4.0.28.30) ...
Setting up linux-generic (4.4.0.28.30) ...
Setting up linux-generic-lts-utopic (4.4.0.28.30) ...
Errors were encountered while processing:
 runit
 git-daemon-run

的输出uname -r4.6.0-040600-generic

硬件:Macbook Air 2013-mid
系统:Ubuntu 16.04 64 位
Linux 内核:4.6
Linux 内核选项:wl
4.6 Linux 内核的原因:4.4 中存在 lid-suspend 问题,4.6 中已修复大部分问题

相关内容