无法安装早期版本的Datastax DSE

时间:2015-06-17 11:43:34

标签: datastax datastax-enterprise

试图:

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.

我做错了什么?

1 个答案:

答案 0 :(得分:2)

执行命令

$ 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