如何在 Ubuntu 16.04 上安装 Apache Mesos/Marathon?

如何在 Ubuntu 16.04 上安装 Apache Mesos/Marathon?

我希望从存储库安装 Apache Mesos 1.0.0+ 和 Marathon,而无需从源代码构建软件包。我遵循 Mesosphere 的以下指南:https://open.mesosphere.com/getting-started/install/其中指出 Ubuntu 16.04 是一个受支持的发行版。

然而运行后sudo apt-get -y install marathon我得到以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  marathon
0 to upgrade, 1 to newly install, 0 to remove and 47 not to upgrade.
Need to get 0 B/8,339 kB of archives.
After this operation, 92.9 MB of additional disk space will be used.
E: Archive is too short
E: Prior errors apply to /var/cache/apt/archives/marathon_1.3.0-1.0.506.ubuntu1604_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 62764 files and directories currently installed.)
Preparing to unpack .../marathon_1.3.0-1.0.506.ubuntu1604_amd64.deb ...
Unpacking marathon (1.3.0-1.0.506.ubuntu1604) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/marathon_1.3.0-1.0.506.ubuntu1604_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/marathon_1.3.0-1.0.506.ubuntu1604_amd64.deb (--unpack):
 cannot copy extracted data for './usr/bin/marathon' to '/usr/bin/marathon.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 /var/cache/apt/archives/marathon_1.3.0-1.0.506.ubuntu1604_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

在 Ubuntu 16.04 上安装 Mesos 的最简单方法是什么?我看过 DC/OS,但它不支持 Ubuntu。

答案1

看起来这个问题已经在 GitHub 上被跟踪并且已经解决。 https://github.com/mesosphere/marathon/issues/4391#issuecomment-247967413

相关内容