安装DSE 3.1依赖(Installing dse 3.1 dependency)

2019-10-29 16:35发布

当我运行“ 命令和apt-get安装DSE满 ”,我越来越依赖/配置问题,下面列出的全部输出。

我有DSE与OpsCenter中安装了以前版本的,我并手动删除/位于config文件等/较早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)

Answer 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

这应该让你重新安装。



文章来源: Installing dse 3.1 dependency