我尝试安装最新的上游内核(Linux 标头-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb) 从这里但安装失败并出现以下错误:
user@user-pc:~$ sudo dpkg -i linux-headers-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb
(Reading database ... 228154 files and directories currently installed.)
Preparing to unpack linux-headers-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb ...
Unpacking linux-headers-3.17.0-031700rc2-generic (3.17.0-031700rc2.201408251935) over (3.17.0-031700rc2.201408251935) ...
dpkg: dependency problems prevent configuration of linux-headers-3.17.0-031700rc2-generic:
linux-headers-3.17.0-031700rc2-generic depends on linux-headers-3.17.0-031700rc2; however:
Package linux-headers-3.17.0-031700rc2 is not installed.
dpkg: error processing package linux-headers-3.17.0-031700rc2-generic (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-3.17.0-031700rc2-generic
我尝试使用进行安装GDebi
但出现以下错误:
user@user-pc:~$ sudo gdebi linux-headers-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: linux-headers-3.17.0-031700rc2
之后我在顶栏上看到了这个图标:
右键单击它,其中写入了以下错误消息:
发生错误,请从右键菜单运行包管理器或在终端中运行 apt-get 来查看错误所在。错误消息为:'Error:BrokenCount>0'。这通常意味着您安装的软件包存在未确定的依赖关系
以及另外三个选项,例如Show updates
、Show Notifications
和Preferences
。我点击Show updates
现在这个窗口开始升级分发版
现在已经完成,并显示以下窗口:
我选择Remove并弹出窗口询问“重新启动以完成”,重新启动后我尝试再次安装此内核,但出现了上面提到的相同错误。
以下是再次尝试安装的输出,但出现了一些错误:
user@user-pc:~$ cd /home/user/install-kernel
user@user-pc:~/install-kernel$ sudo dpkg -i *.deb
[sudo] password for user:
(Reading database ... 255488 files and directories currently installed.)
Preparing to unpack linux-headers-3.17.0-031700rc2_3.17.0-031700rc2.201408251935_all.deb ...
Unpacking linux-headers-3.17.0-031700rc2 (3.17.0-031700rc2.201408251935) over (3.17.0-031700rc2.201408251935) ...
Preparing to unpack linux-headers-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb ...
Unpacking linux-headers-3.17.0-031700rc2-generic (3.17.0-031700rc2.201408251935) over (3.17.0-031700rc2.201408251935) ...
Preparing to unpack linux-image-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb ...
Done.
Unpacking linux-image-3.17.0-031700rc2-generic (3.17.0-031700rc2.201408251935) over (3.17.0-031700rc2.201408251935) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
Setting up linux-headers-3.17.0-031700rc2 (3.17.0-031700rc2.201408251935) ...
Setting up linux-headers-3.17.0-031700rc2-generic (3.17.0-031700rc2.201408251935) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
ERROR (dkms apport): kernel package linux-headers-3.17.0-031700rc2-generic is not supported
Error! Bad return status for module build on kernel: 3.17.0-031700rc2-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log for more information.
ERROR (dkms apport): kernel package linux-headers-3.17.0-031700rc2-generic is not supported
Error! Bad return status for module build on kernel: 3.17.0-031700rc2-generic (x86_64)
Consult /var/lib/dkms/nvidia-304-updates/304.117/build/make.log for more information.
Setting up linux-image-3.17.0-031700rc2-generic (3.17.0-031700rc2.201408251935) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.17.0-031700rc2.201408251935 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.17.0-031700rc2.201408251935 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
ERROR (dkms apport): kernel package linux-headers-3.17.0-031700rc2-generic is not supported
Error! Bad return status for module build on kernel: 3.17.0-031700rc2-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log for more information.
ERROR (dkms apport): kernel package linux-headers-3.17.0-031700rc2-generic is not supported
Error! Bad return status for module build on kernel: 3.17.0-031700rc2-generic (x86_64)
Consult /var/lib/dkms/nvidia-304-updates/304.117/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
update-initramfs: Generating /boot/initrd.img-3.17.0-031700rc2-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.17.0-031700rc2-generic /boot/vmlinuz-3.17.0-031700rc2-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.17.0-031700rc2-generic
Found initrd image: /boot/initrd.img-3.17.0-031700rc2-generic
Found linux image: /boot/vmlinuz-3.13.0-34-generic
Found initrd image: /boot/initrd.img-3.13.0-34-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
done
user@user-pc:~/install-kernel$
答案1
尝试安装此文件:
它应该满足依赖关系。
您应该已经安装这些:
linux-headers-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb
linux-headers-3.17.0-031700rc2_3.17.0-031700rc2.201408251935_all.deb
linux-image-3.17.0-031700rc2-generic_3.17.0-031700rc2.201408251935_amd64.deb
以上所有文件均可从这里。
注意:可能会出现错误!它是一个测试内核,因此非常非常不稳定。