【问题标题】:Can't install Previous version of Datastax DSE无法安装以前版本的 Datastax DSE
【发布时间】:2015-07-29 01:19:23
【问题描述】:

尝试:

apt-get install 'dse-full=4.6.5-1'

得到:

failed: [dsenode01] => {"failed": true}
stderr: E: Unable to correct problems, you have held broken packages.

stdout: Reading package lists...
Building dependency tree...
Reading state information...
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.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-hive (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-pig (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-demos (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-libsolr (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-libtomcat (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-libsqoop (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-liblog4j (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-libmahout (= 4.6.5-1) but 4.7.0-1 is to be installed
            Depends: dse-libspark (= 4.6.5-1) but 4.7.0-1 is to be installed

msg: 'apt-get install 'dse-full=4.6.5-1' ' failed: E: Unable to correct problems, you have held broken packages.

我做错了什么?

【问题讨论】:

    标签: datastax datastax-enterprise


    【解决方案1】:

    运行:

    $ sudo apt-get update $ sudo apt-get install dse-full=version-1 dse=version-1 dse-hive=version-1 dse-pig=version-1 dse-demos=version-1 dse- libsolr=version-1 dse-libtomcat=version-1 dse-libsqoop=version-1 dse-liblog4j=version-1 dse-libmahout=version-1 dse-libhadoop-native=version-1 dse-libcassandra=version-1 dse -libhive=version-1 dse-libpig=version-1 dse-libhadoop=version-1

    或者感谢@Ian Evans,使用 aptitude:

    sudo aptitude install dse-full=4.6.5-1

    http://docs.datastax.com/en/datastax_enterprise/4.6/datastax_enterprise/install/installDEBdse.html

    【讨论】:

    • 谢谢!我已经使用 ansible 来设置 C*。 5月份还可以,两个月后就不行了。我之前没有将这些命令放入 Ansible。有点惊讶... P.S.最后更新时间:2015 年 6 月 12 日天啊...谢谢...您拯救了我的一天。
    • 必须从 4.7 开始删除
    • 使用 aptitude 使这变得容易得多。 sudo aptitude install dse-full=4.6.5-1 然后选择安装所有依赖的4.6.5版本的安装计划。
    猜你喜欢
    • 2017-05-21
    • 1970-01-01
    • 1970-01-01
    • 2023-03-28
    • 1970-01-01
    • 2020-07-30
    • 2016-12-25
    • 1970-01-01
    • 2020-09-26
    相关资源
    最近更新 更多