按照以下说明操作:
https://open.mesosphere.com/getting-started/install/
安装mesos包会出现以下错误:
arun@arun-ubuntu:~$ sudo apt-get -y install mesos
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mesos
是的,注册表已配置:
arun@arun-ubuntu:~$ sudo apt-key adv --keyserver
hkp://keyserver.ubuntu.com:80 --recv E56151BF
Executing: /tmp/tmp.EkBvspzAIM/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
E56151BF
gpg: requesting key E56151BF from hkp server keyserver.ubuntu.com
gpg: key E56151BF: "Mesosphere Archive Automatic Signing Key <support@mesosphere.io>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
arun@arun-ubuntu:~$ DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
arun@arun-ubuntu:~$ CODENAME=$(lsb_release -cs)
arun@arun-ubuntu:~$
arun@arun-ubuntu:~$ # Add the repository
arun@arun-ubuntu:~$ echo "deb http://repos.mesosphere.com/${DISTRO} ${CODENAME} main" | \
> sudo tee /etc/apt/sources.list.d/mesosphere.list
deb http://repos.mesosphere.com/ubuntu xenial main
arun@arun-ubuntu:~$ sudo apt-get -y update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB]
Hit:4 http://repos.mesosphere.com/ubuntu xenial InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 185 kB in 1s (117 kB/s)
Reading package lists... Done
W: http://repos.mesosphere.com/ubuntu/dists/xenial/InRelease: Signature by key 81026D0004C44CF7EF55ADF8DF7D54CBE56151BF uses weak digest algorithm (SHA1)
缺少什么?
答案 0 :(得分:2)
Ubuntu 16.04的mesos软件包尚未发布。它们很快就会上市。