root@beron:git-1.7.6# sudo apt-get install git-core curl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会安装下列额外的软件包:
git
建议安装的软件包:
git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk
gitweb
下列【新】软件包将被安装:
curl git git-core
升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
需要下载 6,026kB 的软件包。
解压缩后会消耗掉 12.3MB 的额外空间。
您希望继续执行吗?[Y/n]y
【警告】:下列软件包不能通过验证!
curl git git-core
不经验证就安装这些软件包吗?[y/N] y
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main curl i386 7.21.0-1ubuntu1.3
404 Not Found
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main git i386 1:1.7.1-1.1ubuntu0.1
404 Not Found
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main git-core all 1:1.7.1-1.1ubuntu0.1
404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/c/curl/curl_7.21.0-1ubuntu1.3_i386.deb 404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/g/git/git_1.7.1-1.1ubuntu0.1_i386.deb 404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/g/git/git-core_1.7.1-1.1ubuntu0.1_all.deb 404 Not Found
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
git安装git
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会安装下列额外的软件包:
git
建议安装的软件包:
git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk
gitweb
下列【新】软件包将被安装:
curl git git-core
升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
需要下载 6,026kB 的软件包。
解压缩后会消耗掉 12.3MB 的额外空间。
您希望继续执行吗?[Y/n]y
【警告】:下列软件包不能通过验证!
curl git git-core
不经验证就安装这些软件包吗?[y/N] y
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main curl i386 7.21.0-1ubuntu1.3
404 Not Found
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main git i386 1:1.7.1-1.1ubuntu0.1
404 Not Found
错误 http://mirrors.163.com/ubuntu/ maverick-updates/main git-core all 1:1.7.1-1.1ubuntu0.1
404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/c/curl/curl_7.21.0-1ubuntu1.3_i386.deb 404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/g/git/git_1.7.1-1.1ubuntu0.1_i386.deb 404 Not Found
无法下载 http://mirrors.163.com/ubuntu/pool/main/g/git/git-core_1.7.1-1.1ubuntu0.1_all.deb 404 Not Found
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
git安装git
楼主的问题解决了吗?我的ubuntu10.10也同样这个问题。网上找了很多更改source.list的方法,sudo apt-get update 都是一路忽略到底。
能贴出source.list内容吗?谢谢