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

我想从源代码中理想地安装Apache Mesos 1.0.0+和Marathon,而无需从源代码构build软件包。 我正在遵循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。

它看起来像是在GitHub跟踪,并已得到解决。 https://github.com/mesosphere/marathon/issues/4391#issuecomment-247967413