【发布时间】:2016-02-04 03:43:30
【问题描述】:
我完全按照 docs.datastax.com/en/datastax_enterprise/install/installDEBdse.html 中所述使用了 apt 存储库安装方法
密钥没有问题。我有 Oracle Server JDK 8(截至今天最新)。来自 Miniconda 的 Python 2.7(今天也全新安装),使用默认值并允许预先添加 PATH 变量。
安装后,出现未满足依赖关系的错误:
dse-full : Depends: dse (=4.8.4-1) but it is not going to be installed
Depends: dse-hive (=4.8.4-1) but it is not going to be installed
Depends: dse-pig (=4.8.4-1) but it is not going to be installed
Depends: dse-demos (=4.8.4-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
这台服务器完全被核弹了,所以 Ubuntu 环境很干净并且更新了。
我已经删除了 sources.list.d 文件夹,获得了一个新的密钥(删除这个文件夹也删除了与任何密钥对的关联),并发现了完全相同的错误。
这里不知道如何更正和继续。
可能相关的附加信息是 nuking 是因为在我之前的安装尝试中,apt 存储库抛出了 http 和 https 错误,因此下载文件并在使其可执行后安装。没有抛出任何错误。但是,在尝试安装最新的 OpsCenter 时,出现与丢失文件和文件夹有关的错误。我什至无法根据 DSE 文档卸载,因为从未创建 /usr/share/dse 文件夹。
更多信息:错误和环境
环境--
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
$ java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
$ python --version
Python 2.7.5
缓存内容--
$ apt-cache madison dse-full | grep 4.8
dse-full | 4.8.4-1 | https://debian.datastax.com/enterprise/ stable/main amd64 Packages
dse-full | 4.8.3-1 | https://debian.datastax.com/enterprise/ stable/main amd64 Packages
dse-full | 4.8.2-1 | https://debian.datastax.com/enterprise/ stable/main amd64 Packages
dse-full | 4.8.1-1 | https://debian.datastax.com/enterprise/ stable/main amd64 Packages
dse-full | 4.8.0-1 | https://debian.datastax.com/enterprise/ stable/main amd64 Packages
移除--
$ sudo apt-get purge "dse*" datastax-agent
Package 'datastax-agent' is not installed, so not removed
Package 'dse-demos' is not installed, so not removed
Package 'dse-full' is not installed, so not removed
Package 'dse-hive' is not installed, so not removed
Package 'dse-libcassandra' is not installed, so not removed
Package 'dse-libhadoop-native' is not installed, so not removed
Package 'dse-libhadoop' is not installed, so not removed
Package 'dse-libhive' is not installed, so not removed
Package 'dse-liblog4j' is not installed, so not removed
Package 'dse-libmahout' is not installed, so not removed
Package 'dse-libpig' is not installed, so not removed
Package 'dse-libsolr' is not installed, so not removed
Package 'dse-libspark' is not installed, so not removed
Package 'dse-libsqoop' is not installed, so not removed
Package 'dse-libtomcat' is not installed, so not removed
Package 'dse-pig' is not installed, so not removed
Package 'dse' is not installed, so not removed
新安装--
$ sudo apt-get install dse-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dse-full : Depends: dse (= 4.8.4-1) but it is not going to be installed
Depends: dse-hive (= 4.8.4-1) but it is not going to be installed
Depends: dse-pig (= 4.8.4-1) but it is not going to be installed
Depends: dse-demos (= 4.8.4-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
【问题讨论】:
标签: datastax datastax-enterprise