我试图在我的Hadoop集群(Ubuntu 14.04),following these steps上安装最新版本的Cloudera管理器。我将Ubuntu Trusty Cloudera Manager列表文件移动到了/etc/apt/sources.list.d/
目录,并没有意识到其他人已经将Ubuntu Precise列表也移到了那里。我通过尽可能多的安装尽可能的跑了,我现在越来越有Oozie的一些奇怪的依赖错误:尝试安装Cloudera Manager时出现错误的Oozie依赖关系5
% sudo apt-get install cloudera-manager-daemons
Reading package lists... Done
Building dependency tree
Reading state information... Done
cloudera-manager-daemons is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
oozie : Depends: oozie-client (= 3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1) but 4.1.0+cdh5.6.0+235-1.cdh5.6.0.p0.108~trusty-cdh5.6.0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
当我列出安装了Oozie的包我得到:
% dpkg --list | grep "oozie"
ii oozie 3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1 all A workflow and coordinator sytem for Hadoop jobs.
ii oozie-client 4.1.0+cdh5.6.0+235-1.cdh5.6.0.p0.108~trusty-cdh5.6.0 all Client for Oozie Workflow Engine
所以oozie
是使用精确安装和oozie-client
正在使用Trusty。我不能删除其中任何(purge
给出了相似的结果):
% sudo apt-get remove oozie-client
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:
oozie : Depends: oozie-client (= 3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
如果我尝试继续与Cloudera的安装我不断收到奇怪的Oozie的相关性错误。思考?