[
https://issues.apache.org/jira/browse/CASSANDRA-16478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-16478:
-----------------------------------------
Resolution: Fixed
Status: Resolved (was: Triage Needed)
Fixed in c775ea3fa77bb661f405d8ebba738546518ac18e
> Debian packages are broken since py3 migration
> ----------------------------------------------
>
> Key: CASSANDRA-16478
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16478
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Reporter: Alexander Dejanovski
> Assignee: Alexander Dejanovski
> Priority: Normal
> Fix For: 4.0-beta
>
>
> [Repair
> tests|https://app.circleci.com/pipelines/github/riptano/cassandra-rtest?branch=alex%2Fupgrade-tlp-cluster-python3]
> started to fail after the builds moved to Python3 in CASSANDRA-16396 due to
> deb packages failing to install on Ubuntu Bionic:
> {noformat}
> $ sudo dpkg -i cassandra_4.0~beta5-20210303git64f54f9fb0_all.deb
> Selecting previously unselected package cassandra.
> (Reading database ... 117650 files and directories currently installed.)
> Preparing to unpack cassandra_4.0~beta5-20210303git64f54f9fb0_all.deb ...
> Unpacking cassandra (4.0~beta5-20210303git64f54f9fb0) ...
> dpkg: dependency problems prevent configuration of cassandra:
> cassandra depends on python (>= 3.6); however:
> Package python is not installed.
> cassandra depends on python3 (>= 3.7~); however:
> Version of python3 on system is 3.6.7-1~18.04.{noformat}
> It seems like the following requirements are not correct:
> {noformat}
> Depends: openjdk-8-jre-headless | java8-runtime, adduser, python (>= 3.6),
> ${misc:Depends}, ${python3:Depends}{noformat}
> I've changed this line to the following and got the deb packages to install
> correctly:
> {noformat}
> Depends: openjdk-8-jre-headless | java8-runtime, adduser, python3 (>= 3.6),
> ${misc:Depends}{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]