gpt4 book ai didi

linux - 下载内核源失败

转载 作者:太空宇宙 更新时间:2023-11-04 10:59:46 25 4
gpt4 key购买 nike

无法下载 linux 内核源代码。怎么了?

root@vagrant-ubuntu-trusty-64:/vagrant/pkgs# apt-get source linux-image-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'linux' as source package instead of 'linux-image-3.13.0-37-generic'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-trusty.git
Need to get 125 MB of source archives.
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux 3.13.0-40.69 (dsc)
404 Not Found [IP: 91.189.88.149 80]
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux 3.13.0-40.69 (tar) [116 MB]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux 3.13.0-40.69 (diff)
404 Not Found [IP: 91.189.88.149 80]
Fetched 116 MB in 46s (2,494 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_3.13.0-40.69.dsc 404 Not Found [IP: 91.189.88.149 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_3.13.0-40.69.diff.gz 404 Not Found [IP: 91.189.88.149 80]

E: Failed to fetch some archives.

我使用的是标准的 Ubuntu 14.04

root@vagrant-ubuntu-trusty-64:/vagrant/pkgs# more /etc/issue
Ubuntu 14.04.1 LTS \n \l

最佳答案

我相信注意:“linux”打包在“Git”版本控制系统中维护:http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-trusty.git 相当简单。如果你已经安装了 git,请使用

git clone http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-trusty.git

否则,先安装git

sudo apt-get install git

关于linux - 下载内核源失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27438000/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com