Ubuntu 11.04 PPA升级内核到2.6.39.0错误及解决方法
作者:我就是个世界
发表于:2011-07-09
终于升级了。
想要升级ubuntu11.04的内核到Kernel 2.6.39,结果 sudo apt-get update 怎么都有错误,换了好几个源都不行,可用内核版本中一直没有Kernel 2.6.39
[code]
W: GPG 错误:http://mirrors.163.com natty-backports Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: 无法下载 http://archive.offensive-security.com/repotest/./InRelease
W: 无法下载 http://archive.offensive-security.com/dists/pwnsauce/InRelease
W: 无法下载 gzip:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty_multiverse_source_Sources Hash 校验和不符
W: 无法下载 gzip:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty_multiverse_binary-i386_Packages Hash 校验和不符
W: 无法下载 bzip2:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty-proposed_multiverse_binary-i386_Packages Hash 校验和不符
W: 无法下载 http://archive.offensive-security.com/repotest/./Release.gpg 不能连接到 archive.offensive-security.com:http:
W: 无法下载 http://archive.offensive-security.com/dists/pwnsauce/Release.gpg 不能连接到 archive.offensive-security.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
[/code]
可用内核版本中一直没有Kernel 2.6.39
[code]
root@husw:/usr/sbin# apt-cache showpkg linux-headers
Package: linux-headers
Versions:
3.3-bt1 (/var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages
MD5: cb4a28809d694626e0c4dac43c32e986
Reverse Depends:
em8300-source,linux-headers
virtualbox-ose-source,linux-headers
virtualbox-ose-guest-source,linux-headers
kvm-source,linux-headers
alsa-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-180-kernel-source,linux-headers
nvidia-71-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
linux-image,linux-headers
dkms,linux-headers
dkms,linux-headers
kvm-source,linux-headers
nvidia-current,linux-headers
nvidia-96,linux-headers
nvidia-173,linux-headers
fglrx,linux-headers
bcmwl-kernel-source,linux-headers
dkms,linux-headers
Dependencies:
3.3-bt1 - linux-headers-2.6.35.8 (0 (null))
Provides:
3.3-bt1 -
Reverse Provides:
linux-headers-2.6.35.8 2.6.35.8-10.00.Custom
linux-headers-2.6.38-8-virtual 2.6.38-8.42
linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
linux-headers-2.6.38-8-generic 2.6.38-8.42
linux-headers-2.6.38-8 2.6.38-8.42
[/code]
最后,在Ubuntu中把软件源换成主服务器,更新缓存后,居然OK了!
[code]
root@husw:/usr/sbin# apt-cache showpkg linux-headers
Package: linux-headers
Versions:
3.3-bt1 (/var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages
MD5: cb4a28809d694626e0c4dac43c32e986
Reverse Depends:
em8300-source,linux-headers
virtualbox-ose-source,linux-headers
virtualbox-ose-guest-source,linux-headers
kvm-source,linux-headers
alsa-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-180-kernel-source,linux-headers
nvidia-71-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
linux-image,linux-headers
dkms,linux-headers
dkms,linux-headers
kvm-source,linux-headers
oss4-dkms,linux-headers
lirc-modules-source,linux-headers
sl-modem-source,linux-headers
xtables-addons-dkms,linux-headers
oss4-dkms,linux-headers
openswan-modules-source,linux-headers
lirc-modules-source,linux-headers
blcr-dkms,linux-headers
alsa-source,linux-headers
nvidia-current,linux-headers
nvidia-96,linux-headers
nvidia-173,linux-headers
fglrx,linux-headers
bcmwl-kernel-source,linux-headers
dkms,linux-headers
Dependencies:
3.3-bt1 - linux-headers-2.6.35.8 (0 (null))
Provides:
3.3-bt1 -
Reverse Provides:
linux-headers-2.6.35.8 2.6.35.8-10.00.Custom
linux-headers-2.6.38-9-virtual 2.6.38-9.43
linux-headers-2.6.38-9-generic-pae 2.6.38-9.43
linux-headers-2.6.38-9-generic 2.6.38-9.43
linux-headers-2.6.38-9 2.6.38-9.43
linux-headers-2.6.38-10-virtual 2.6.38-10.46
linux-headers-2.6.38-10-generic-pae 2.6.38-10.46
linux-headers-2.6.38-10-generic 2.6.38-10.46
linux-headers-2.6.38-10 2.6.38-10.46
linux-headers-2.6.38-8-virtual 2.6.38-8.42
linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
linux-headers-2.6.38-8-generic 2.6.38-8.42
linux-headers-2.6.38-8 2.6.38-8.42
[/code]
那么下面开始升级内核
想要升级ubuntu11.04的内核到Kernel 2.6.39,结果 sudo apt-get update 怎么都有错误,换了好几个源都不行,可用内核版本中一直没有Kernel 2.6.39
[code]
W: GPG 错误:http://mirrors.163.com natty-backports Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: 无法下载 http://archive.offensive-security.com/repotest/./InRelease
W: 无法下载 http://archive.offensive-security.com/dists/pwnsauce/InRelease
W: 无法下载 gzip:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty_multiverse_source_Sources Hash 校验和不符
W: 无法下载 gzip:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty_multiverse_binary-i386_Packages Hash 校验和不符
W: 无法下载 bzip2:/var/lib/apt/lists/partial/mirrors.163.com_ubuntu_dists_natty-proposed_multiverse_binary-i386_Packages Hash 校验和不符
W: 无法下载 http://archive.offensive-security.com/repotest/./Release.gpg 不能连接到 archive.offensive-security.com:http:
W: 无法下载 http://archive.offensive-security.com/dists/pwnsauce/Release.gpg 不能连接到 archive.offensive-security.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
[/code]
可用内核版本中一直没有Kernel 2.6.39
[code]
root@husw:/usr/sbin# apt-cache showpkg linux-headers
Package: linux-headers
Versions:
3.3-bt1 (/var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages
MD5: cb4a28809d694626e0c4dac43c32e986
Reverse Depends:
em8300-source,linux-headers
virtualbox-ose-source,linux-headers
virtualbox-ose-guest-source,linux-headers
kvm-source,linux-headers
alsa-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-180-kernel-source,linux-headers
nvidia-71-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
linux-image,linux-headers
dkms,linux-headers
dkms,linux-headers
kvm-source,linux-headers
nvidia-current,linux-headers
nvidia-96,linux-headers
nvidia-173,linux-headers
fglrx,linux-headers
bcmwl-kernel-source,linux-headers
dkms,linux-headers
Dependencies:
3.3-bt1 - linux-headers-2.6.35.8 (0 (null))
Provides:
3.3-bt1 -
Reverse Provides:
linux-headers-2.6.35.8 2.6.35.8-10.00.Custom
linux-headers-2.6.38-8-virtual 2.6.38-8.42
linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
linux-headers-2.6.38-8-generic 2.6.38-8.42
linux-headers-2.6.38-8 2.6.38-8.42
[/code]
最后,在Ubuntu中把软件源换成主服务器,更新缓存后,居然OK了!
[code]
root@husw:/usr/sbin# apt-cache showpkg linux-headers
Package: linux-headers
Versions:
3.3-bt1 (/var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_macroverse_binary-i386_Packages
MD5: cb4a28809d694626e0c4dac43c32e986
Reverse Depends:
em8300-source,linux-headers
virtualbox-ose-source,linux-headers
virtualbox-ose-guest-source,linux-headers
kvm-source,linux-headers
alsa-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-177-kernel-source,linux-headers
nvidia-180-kernel-source,linux-headers
nvidia-71-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-173-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
nvidia-96-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
fglrx-kernel-source,linux-headers
linux-image,linux-headers
dkms,linux-headers
dkms,linux-headers
kvm-source,linux-headers
oss4-dkms,linux-headers
lirc-modules-source,linux-headers
sl-modem-source,linux-headers
xtables-addons-dkms,linux-headers
oss4-dkms,linux-headers
openswan-modules-source,linux-headers
lirc-modules-source,linux-headers
blcr-dkms,linux-headers
alsa-source,linux-headers
nvidia-current,linux-headers
nvidia-96,linux-headers
nvidia-173,linux-headers
fglrx,linux-headers
bcmwl-kernel-source,linux-headers
dkms,linux-headers
Dependencies:
3.3-bt1 - linux-headers-2.6.35.8 (0 (null))
Provides:
3.3-bt1 -
Reverse Provides:
linux-headers-2.6.35.8 2.6.35.8-10.00.Custom
linux-headers-2.6.38-9-virtual 2.6.38-9.43
linux-headers-2.6.38-9-generic-pae 2.6.38-9.43
linux-headers-2.6.38-9-generic 2.6.38-9.43
linux-headers-2.6.38-9 2.6.38-9.43
linux-headers-2.6.38-10-virtual 2.6.38-10.46
linux-headers-2.6.38-10-generic-pae 2.6.38-10.46
linux-headers-2.6.38-10-generic 2.6.38-10.46
linux-headers-2.6.38-10 2.6.38-10.46
linux-headers-2.6.38-8-virtual 2.6.38-8.42
linux-headers-2.6.38-8-generic-pae 2.6.38-8.42
linux-headers-2.6.38-8-generic 2.6.38-8.42
linux-headers-2.6.38-8 2.6.38-8.42
[/code]
那么下面开始升级内核
请发表您的评论