安装dse 3.1依赖项

时间:2013-10-20 11:11:39

标签: datastax-enterprise

当我运行' sudo apt-get install dse-full '时,我遇到了依赖/配置问题,下面列出了完整输出。

我有一个以前版本的dse&安装了opscenter,我手动删除了之前位于/ etc / dse中的配置文件,这可能是我问题的根本原因。

我对linux比较陌生有没有人知道我能做什么,我可以在哪里解决这个问题?

非常感谢任何帮助,

由于

NJF

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dse dse-demos dse-hive dse-pig
Recommended packages:
  sun-java6-jre
The following NEW packages will be installed:
  dse dse-demos dse-full dse-hive dse-pig
0 upgraded, 5 newly installed, 0 to remove and 323 not upgraded.
Need to get 31.9 MB of archives.
After this operation, 39.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.datastax.com/enterprise/ stable/main dse all 3.1.4-1 [5,638 kB]
Get:2 http://debian.datastax.com/enterprise/ stable/main dse-hive all 3.1.4-1 [1,392 B]                                                                     
Get:3 http://debian.datastax.com/enterprise/ stable/main dse-demos all 3.1.4-1 [26.3 MB]                                                                    
Get:4 http://debian.datastax.com/enterprise/ stable/main dse-pig all 3.1.4-1 [1,386 B]                                                                      
Get:5 http://debian.datastax.com/enterprise/ stable/main dse-full all 3.1.4-1 [9,840 B]                                                                     
Fetched 31.9 MB in 43s (726 kB/s)                                                                                                                           
Selecting previously unselected package dse.
(Reading database ... 188939 files and directories currently installed.)
Unpacking dse (from .../archives/dse_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-hive.
Unpacking dse-hive (from .../dse-hive_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-demos.
Unpacking dse-demos (from .../dse-demos_3.1.4-1_all.deb) ...  
Selecting previously unselected package dse-pig.
Unpacking dse-pig (from .../dse-pig_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-full.
Unpacking dse-full (from .../dse-full_3.1.4-1_all.deb) ...
Processing triggers for ureadahead ...
Setting up dse (3.1.4-1) ...
chgrp: cannot access `/etc/dse/hadoop/taskcontroller.cfg': No such file or directory   
dpkg: error processing dse (--configure):  
 subprocess installed post-installation script returned error exit status 1
 dpkg: dependency problems prevent configuration of dse-hive:
 dse-hive depends on dse (= 3.1.4-1); however:
  Package dse is not configured yet.

dpkg: error processing dse-hive (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-demos:
 dse-demos depends on dse-hive (= 3.1.4-1); however:
  Package dse-hive is not configured yet.

dpkg: error processing dse-demos (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-pig:
 dse-pig depends on dse (= 3.1.4-1); however:
  Package dse is not configured yet.

dpkg: error processing dse-pig (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-full:
 dse-full depends on dse (= 3.1.4-1); however:
  Package dse is not configured yet.
 dse-full depends on dse-hive (= 3.1.4-1); however:
  Package dse-hive is not configured yet.
 dse-full depends on dse-pig (= 3.1.4-1); however:
  Package dse-pig is not configured yet.
 dse-full depends on dse-demos (= 3.1.4-1); however:
  Package dse-demos is not configured yet.

dpkg: error processing dse-full (--configure):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:
 dse
 dse-hive
 dse-demos
 dse-pig
 dse-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

1 个答案:

答案 0 :(得分:1)

您似乎在系统上进行了部分安装。让我们看看现在有什么:

dpkg --get-selections | grep dse

根据具体内容,删除剩余的包和数据(我假设你完全卸载了):

apt-get purge dse-libcassandra dse-libhadoop  dse-libhive dse-liblog4j dse-libmahout dse-libpig dse-libsqoop dse-libsolr dse-libtomcat dse

应该允许你重新安装。