scylladb / scylla-cqlsh

A fork of the cqlsh code
Apache License 2.0
16 stars 30 forks source link

dist: debian package replaces/breaks only OSS versions #65

Open fruch opened 9 months ago

fruch commented 9 months ago

https://github.com/scylladb/scylla-cqlsh/blob/a7c31c02a91d2a6dbaf11e89112d278da1ece302/dist/debian/control.template#L14

this upgrades such this to break:

sdcm.remote.libssh2_client.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: 'sudo apt-get dist-upgrade scylla-enterprise -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" '
Exit code: 100
Stdout:
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:
scylla-enterprise : Depends: scylla-enterprise-jmx (= 2022.2.15-0.20231129.8e6c47831239-1) but 2024.1.0~rc3-0.20231220.b53625199299-1 is to be installed
Depends: scylla-enterprise-tools (= 2022.2.15-0.20231129.8e6c47831239-1) but 2024.1.0~rc3-0.20231220.b53625199299-1 is to be installed
Depends: scylla-enterprise-tools-core (= 2022.2.15-0.20231129.8e6c47831239-1) but 2024.1.0~rc3-0.20231220.b53625199299-1 is to be installed
Stderr:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

need to check if we can specify multiple versions in break/replace