Aurora scheduler安装遇到的问题

在新的主机中安装Aurora scheduler时,遇到如下问题。

注:对aurora scheduler的安装步骤来自:aurora 官网.

安装aurora-scheduler时的问题

yitian@heron04:~$ sudo dpkg -i aurora-scheduler_0.17.0_amd64.deb
[sudo] password for yitian:
(Reading database ... 188945 files and directories currently installed.)
Preparing to unpack aurora-scheduler_0.17.0_amd64.deb ...
Unpacking aurora-scheduler (0.17.0) over (0.17.0) ...
dpkg: dependency problems prevent configuration of aurora-scheduler:
  aurora-scheduler depends on mesos (>= 1.1.0); however:
   Package mesos is not installed.
dpkg: error processing package aurora-scheduler (--install):
  dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
  aurora-scheduler

安装zookeeper遇到

yitian@heron04:/etc$ sudo apt-get install -y zookeeperd
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
  aurora-scheduler : Depends: mesos (>= 1.1.0) but it is not installable
                     Recommends: aurora-tools but it is not installable
  zookeeperd : Depends: zookeeper (= 3.4.8-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

安装mesos遇到的问题(虽然在该主机中已经配置过mesos集群的环境,并能正常运行)

yitian@heron04:/etc$ sudo apt-get -y install mesos
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
  mesos : Depends: libevent-dev but it is not going to be installed
          Recommends: zookeeper but it is not going to be installed
          Recommends: zookeeperd but it is not going to be installed
          Recommends: zookeeper-bin but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

运行如下命令:

yitian@heron04:/etc$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
   libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 libevent-openssl-2.0-5
   libevent-pthreads-2.0-5 libjline-java liblog4cxx10v5 libnetty-3.9-java
   libzookeeper-java libzookeeper-mt2 mesos zookeeper zookeeper-bin zookeeperd
Suggested packages:
   libjline-java-doc libzookeeper-java-doc
The following NEW packages will be installed:
   libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 libevent-openssl-2.0-5
   libevent-pthreads-2.0-5 libjline-java liblog4cxx10v5 libnetty-3.9-java
   libzookeeper-java libzookeeper-mt2 mesos zookeeper zookeeper-bin zookeeperd
0 upgraded, 14 newly installed, 0 to remove and 370 not upgraded.
1 not fully installed or removed.
Need to get 83.6 MB of archives.
After this operation, 266 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [70.6 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libevent-extra-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [51.1 kB]
Get:2 http://repos.mesosphere.com/ubuntu xenial/main amd64 mesos amd64 1.5.0-2.0.1 [80.2 MB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libevent-pthreads-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [5,020 B]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libevent-openssl-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [10.6 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libevent-dev amd64 2.0.21-stable-2ubuntu0.16.04.1 [211 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libjline-java all 1.0-2 [69.4 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 liblog4cxx10v5 amd64 0.10.0-10ubuntu1 [416 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libnetty-3.9-java all 3.9.0.Final-1 [1,066 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libzookeeper-java all 3.4.8-1 [1,270 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libzookeeper-mt2 amd64 3.4.8-1 [41.0 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 zookeeper all 3.4.8-1 [107 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 zookeeper-bin amd64 3.4.8-1 [57.9 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 zookeeperd all 3.4.8-1 [8,566 B]
Fetched 83.6 MB in 39min 13s (35.5 kB/s)                                  
Selecting previously unselected package libevent-core-2.0-5:amd64.
(Reading database ... 188945 files and directories currently installed.)
Preparing to unpack .../libevent-core-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package libevent-extra-2.0-5:amd64.
Preparing to unpack .../libevent-extra-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-extra-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package libevent-pthreads-2.0-5:amd64.
Preparing to unpack .../libevent-pthreads-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-pthreads-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package libevent-openssl-2.0-5:amd64.
Preparing to unpack .../libevent-openssl-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-openssl-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package libevent-dev.
Preparing to unpack .../libevent-dev_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-dev (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package mesos.
Preparing to unpack .../mesos_1.5.0-2.0.1_amd64.deb ...
Unpacking mesos (1.5.0-2.0.1) ...
Selecting previously unselected package libjline-java.
Preparing to unpack .../libjline-java_1.0-2_all.deb ...
Unpacking libjline-java (1.0-2) ...
Selecting previously unselected package liblog4cxx10v5:amd64.
Preparing to unpack .../liblog4cxx10v5_0.10.0-10ubuntu1_amd64.deb ...
Unpacking liblog4cxx10v5:amd64 (0.10.0-10ubuntu1) ...
Selecting previously unselected package libnetty-3.9-java.
Preparing to unpack .../libnetty-3.9-java_3.9.0.Final-1_all.deb ...
Unpacking libnetty-3.9-java (3.9.0.Final-1) ...
Selecting previously unselected package libzookeeper-java.
Preparing to unpack .../libzookeeper-java_3.4.8-1_all.deb ...
Unpacking libzookeeper-java (3.4.8-1) ...
Selecting previously unselected package libzookeeper-mt2:amd64.
Preparing to unpack .../libzookeeper-mt2_3.4.8-1_amd64.deb ...
Unpacking libzookeeper-mt2:amd64 (3.4.8-1) ...
Selecting previously unselected package zookeeper.
Preparing to unpack .../zookeeper_3.4.8-1_all.deb ...
Unpacking zookeeper (3.4.8-1) ...
Selecting previously unselected package zookeeper-bin.
Preparing to unpack .../zookeeper-bin_3.4.8-1_amd64.deb ...
Unpacking zookeeper-bin (3.4.8-1) ...
Selecting previously unselected package zookeeperd.
Preparing to unpack .../zookeeperd_3.4.8-1_all.deb ...
Unpacking zookeeperd (3.4.8-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Setting up libevent-extra-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Setting up libevent-pthreads-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Setting up libevent-openssl-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Setting up libevent-dev (2.0.21-stable-2ubuntu0.16.04.1) ...
Setting up mesos (1.5.0-2.0.1) ...
Setting up aurora-scheduler (0.17.0) ...
Setting up libjline-java (1.0-2) ...
Setting up liblog4cxx10v5:amd64 (0.10.0-10ubuntu1) ...
Setting up libnetty-3.9-java (3.9.0.Final-1) ...
Setting up libzookeeper-java (3.4.8-1) ...
Setting up libzookeeper-mt2:amd64 (3.4.8-1) ...
Setting up zookeeper (3.4.8-1) ...
adduser: Warning: The home directory `/var/lib/zookeeper' does not belong to the user you are currently creating.
update-alternatives: using /etc/zookeeper/conf_example to provide /etc/zookeeper/conf (zookeeper-conf) in auto mode
Setting up zookeeper-bin (3.4.8-1) ...
Setting up zookeeperd (3.4.8-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...

上述命令运行完成后,即可成功执行aurora-scheduler的安装命令。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值