如何在 ubuntu 10.10 上安装 hudson
当我尝试安装时,出现错误:
aptitude install hudson The following NEW packages will be installed: hudson 0 packages upgraded, 1 newly installed, 0 to remove and 279 not upgraded. Need to get 38.8MB of archives. After unpacking 39.7GB will be used. WARNING: untrusted versions of the following packages will be installed! Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you want to do. hudson Do you want to ignore this warning and proceed anyway? To continue, enter "Yes"; to abort, enter "No": Yes Get:1 http://hudson-ci.org/debian/ binary/ hudson 1.397 [38.8MB] Fetched 1B in 0s (2B/s) E: Failed to fetch http://hudson-ci.org/debian/binary/hudson_1.397_all.deb: Size mismatch
When i try t install, i get error:
aptitude install hudson The following NEW packages will be installed: hudson 0 packages upgraded, 1 newly installed, 0 to remove and 279 not upgraded. Need to get 38.8MB of archives. After unpacking 39.7GB will be used. WARNING: untrusted versions of the following packages will be installed! Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you want to do. hudson Do you want to ignore this warning and proceed anyway? To continue, enter "Yes"; to abort, enter "No": Yes Get:1 http://hudson-ci.org/debian/ binary/ hudson 1.397 [38.8MB] Fetched 1B in 0s (2B/s) E: Failed to fetch http://hudson-ci.org/debian/binary/hudson_1.397_all.deb: Size mismatch
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这应该有效。
this should work.
这个问题最好发布到 serverfault.com;但无论如何;您使用的镜像似乎已损坏,并且您很可能下载了错误页面(这就是失败的原因)。尝试更新您的存储库以获取最新的镜像信息。
This question is probably best posted to serverfault.com; but regardless; it appears the mirror you are using is busted and you most likely downloaded an error page (which is why the failure). Try doing an update for your repository to get the latest mirror information.
首先执行
aptitude update
execute
aptitude update
first我也有同样的问题。
我按照此处的步骤操作: http://makeitfaster.wordpress.com/2010/12/14/install-the-hudson-build-server-on-ubuntu-10-10-server/
然后也失败了“sudo dpkg --install /tmp/hudson.deb”行。然后我这样做了:
aptitude install openjdk-6-jre
此时 hudson 完成安装并上线。
I had the same problem.
I followed the steps here: http://makeitfaster.wordpress.com/2010/12/14/install-the-hudson-build-server-on-ubuntu-10-10-server/
Which then also failed at the "sudo dpkg --install /tmp/hudson.deb" line. Then I did this:
aptitude install openjdk-6-jre
At which point hudson finished installing and came on line.
我也有同样的问题...
我已经以 root 身份完成了
apt-get clean
apt-get update
apt-get install hudson
。
仍然不明白尺寸不匹配是什么 - 我看不到任何下载错误。
我和原始发布者之间的主要区别是我正在下载 38.8MB,但它仍然报告错误的大小。
I've got the same problem...
I have done
apt-get clean
apt-get update
apt-get install hudson
as root.
Still don't understand what the size mismatch is - I can't see any errors downloaded.
The main difference between me and the original poster is that I am downloading 38.8MB, but it still reports the wrong size.