gpt4 book ai didi

python - vim在ubuntu Precision 64上安装有关python2.7的错误

转载 作者:太空宇宙 更新时间:2023-11-03 16:24:49 28 4
gpt4 key购买 nike

我尝试在“vagrant precision 64 VM”上安装 vim,但出现以下错误消息:

vagrant@precise64:/vagrant/chef-repo$ sudo apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgpm2 libpython2.7 python2.7 python2.7-minimal vim-common vim-runtime vim-tiny
Suggested packages:
gpm python2.7-doc binfmt-support ctags vim-doc vim-scripts indent
The following NEW packages will be installed:
libgpm2 libpython2.7 vim vim-runtime
The following packages will be upgraded:
python2.7 python2.7-minimal vim-common vim-tiny
4 upgraded, 4 newly installed, 0 to remove and 62 not upgraded.
Need to get 5,603 kB/13.4 MB of archives.
After this operation, 28.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.1
404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.1
404 Not Found [IP: 91.189.91.23 80]
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 amd64 2.7.3-0ubuntu3.1
404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/python2.7_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/libpython2.7_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

是否是某些服务器访问出现问题?

最佳答案

这是一个新手错误!

我只需要执行“sudo apt-get update”即可解决问题。错误消息末尾明确提到了这一点。

关于python - vim在ubuntu Precision 64上安装有关python2.7的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38092511/

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