You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexander Dejanovski (Jira)" <ji...@apache.org> on 2021/03/03 10:30:00 UTC

[jira] [Created] (CASSANDRA-16478) Debian packages are broken since py3 migration

Alexander Dejanovski created CASSANDRA-16478:
------------------------------------------------

             Summary: 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


Repair tests 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org