如何在 ubuntu 10.10 上安装 hudson

发布于 2024-10-22 18:47:46 字数 800 浏览 4 评论 0原文

当我尝试安装时,出现错误:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

初懵 2024-10-29 18:47:46
apt-get clean

apt-get update

apt-get install hudson

这应该有效。

apt-get clean

apt-get update

apt-get install hudson

this should work.

落花浅忆 2024-10-29 18:47:46

这个问题最好发布到 serverfault.com;但无论如何;您使用的镜像似乎已损坏,并且您很可能下载了错误页面(这就是失败的原因)。尝试更新您的存储库以获取最新的镜像信息。

apt-get update

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.

apt-get update
唠甜嗑 2024-10-29 18:47:46

首先执行aptitude update

execute aptitude update first

鸠魁 2024-10-29 18:47:46

我也有同样的问题。

我按照此处的步骤操作: 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.

单调的奢华 2024-10-29 18:47:46

我也有同样的问题...

需要获取 38.8MB 的档案。后
此操作,额外 39.7GB
将使用磁盘空间。警告:
以下软件包不能
已验证!

hudson 安装这些
未经验证的包裹 [y/N]?是的

获取:1 http://hudson-ci.org/debian/
二进制/哈德森 1.397 [38.8MB] 已获取
59 秒内 38.8MB (655kB/s)

获取失败
http://hudson-ci.org/debian/binary/hudson_1.397_all。德布
大小不匹配 E:无法获取一些
档案,也许运行 apt-get update 或
尝试使用--fix-missing?

我已经以 root 身份完成了

apt-get clean

apt-get update

apt-get install hudson

仍然不明白尺寸不匹配是什么 - 我看不到任何下载错误。

我和原始发布者之间的主要区别是我正在下载 38.8MB,但它仍然报告错误的大小。

I've got the same problem...

Need to get 38.8MB of archives. After
this operation, 39.7GB of additional
disk space will be used. WARNING: The
following packages cannot be
authenticated!

hudson Install these
packages without verification [y/N]? y

Get:1 http://hudson-ci.org/debian/
binary/ hudson 1.397 [38.8MB] Fetched
38.8MB in 59s (655kB/s)

Failed to fetch
http://hudson-ci.org/debian/binary/hudson_1.397_all.deb
Size mismatch E: Unable to fetch some
archives, maybe run apt-get update or
try with --fix-missing?

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文