我无法在我的ubuntu12.10系统上安装git。我跟着-
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git-coresudo apt-get update给了我错误-
Err http://security.ubuntu.com quantal-security/main amd64 Packages
404 Not Found
Err http://security.ubuntu.com quantal-security/restricted amd64 Packages
404 Not Found
Err http://security.ubuntu.com quantal-security/universe amd64 Packages
404 Not Found
Err http://security.ubuntu.com quantal-security/multiverse amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal-updates/main amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal-updates/restricted amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal-updates/universe amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal-updates/multiverse amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal/main amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal/restricted amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal/universe amd64 Packages
404 Not Found
Err http://archive.ubuntu.com quantal/multiverse amd64 Packages
404 Not Found后来有些人没能找到错误,最后-
E: Some index files failed to download. They have been ignored, or old ones used instead.当我运行sudo apt-get install git时,我得到-
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn
git-email git-gui gitk gitweb
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,800 kB/6,824 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
liberror-perl git-man git
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ quantal/main git-man all 1:1.7.10.4-1ubuntu1
404 Not Found
Err http://archive.ubuntu.com/ubuntu/ quantal/main git amd64 1:1.7.10.4-1ubuntu1
404 Not Found
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.7.10.4-1ubuntu1_all.deb 404 Not Found
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/git/git_1.7.10.4-1ubuntu1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?我刚刚安装了ubuntu,这是我第一次尝试安装。请帮帮忙。
发布于 2014-12-09 08:27:27
Ubuntu12.10已经到了生命的尽头,不再得到支持。
你用数码海洋镜,
编辑您的/etc/apt/source.list .列表到:
deb http://archive.ubuntu.com/ubuntu precise main
deb http://archive.ubuntu.com/ubuntu precise-updates main
deb http://security.ubuntu.com/ubuntu precise-security main universe
deb http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe 然后执行
do-release-upgrade对于那些还没有升级的人来说,这只是一个暂时的解决办法,但它仍然强烈建议您的系统尽快使用最新版本,以利用所有的安全更新。
https://askubuntu.com/questions/558318
复制相似问题