Closed kbruner closed 6 years ago
Actually, this seems to be related to a larger problem. The dse version is totally different from the C* version it contains. (dse 4.7.2 has C* 2.1.18 or so). This is also causing issues with the jamm version calculations, because node['cassandra']['version']
that I need to specify the dse package is being used to decide the jamm version, resulting in the wrong version (and preventing startup).
One of the workarounds for the jamm issue would be to override the jamm version, source in your wrapper cookbook.
Any solutions to the original problem here? I started facing these issues yesterday in my kitchen tests for no apparent reason. EDIT: seems like trying to install the non-latest version causes this issue. If I use the latest available (5.0.4 in this case) I don't get any dependency problems...
@eyalzek the message comes from apt
. Try to make apt-get install
work first as it very well may be a system-specific dependency resolution problem that this cookbook is not responsible for.
From googling around it seems like this issue comes up every time a new version of cassandra-dse
is released and you try to install an older version. I agree, it doesn't seem to be your problem.
@eyalzek this cookbook does not do anything particularly clever with Debian package dependencies. If what you claim to happen is true, something is wrong with the Debian package we use.
@michaelklishin the problem and solution are described here: https://stackoverflow.com/questions/30890610/cant-install-previous-version-of-datastax-dse
If I specify the following:
and
include_recipe 'cassandra-dse'
, on Ubuntu-14.04, I get the following:The only workaround I can see for trying to install a specific version of dse-full to get the dependencies to work out is, in my wrapper recipe, add apt_preference resources for each one, setting the correct version. Am I missing something?
(This is a clean system, with no strange apt configs.)