Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16478

Debian packages are broken since py3 migration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • Packaging
    • None
    • All
    • None

    Description

      Repair tests started to fail after the builds moved to Python3 inĀ CASSANDRA-16396 due to deb packages failing to install on Ubuntu Bionic:

      $ 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.

      It seems like the following requirements are not correct:

      Depends: openjdk-8-jre-headless | java8-runtime, adduser, python (>= 3.6), ${misc:Depends}, ${python3:Depends}

      I've changed this line to the following and got the deb packages to install correctly:

      Depends: openjdk-8-jre-headless | java8-runtime, adduser, python3 (>= 3.6), ${misc:Depends}

      Attachments

        Activity

          People

            adejanovski Alexander Dejanovski
            adejanovski Alexander Dejanovski
            Alexander Dejanovski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: