Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6640

Create repository with old versions of MariaDB Galera Cluster

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • N/A
    • Packaging
    • None

    Description

      I think it would be prudent to have a repository that contained older versions of MariaDB Galera Cluster, and not just the very latest version.

      This is quite a complicated beast to install, as outlined by my request to update the documentation here:

      https://mariadb.atlassian.net/browse/MDEV-6639
      https://mariadb.com/kb/en/mariadb/documentation/getting-started/mariadb-binary-packages/installing-mariadb-deb-files/

      For instance, if one wants to install MariaDB Galera Cluster 5.5.38 (5.5.39 is the current latest), then one must jump through many hoops, and know many other details, in order to successfully pull this off, at the moment.

      For instance, the recommended way to install MariaDB Galera Cluster is:

      apt-get install mariadb-galera-server

      In fact, the docs even say (above link), that one shouldn't even try to install them in the manual way - but not everyone can run the latest and greatest:

      "While it is not recommended, it is possible to download and install the packages manually (i.e. without a package manager like apt-get)."

      Thus given that, and given the complexity of installing it manually, even when the documentation is cleared up, it would be much easier/safer to run something like (per apt-get man page info):

      apt-get install mariadb-galera-server=5.5.38

      But, for this to work, the older packages must be available. Hence this request.

      Perhaps we could even have our own for just this case.

      Attachments

        Issue Links

          Activity

            I've looked into this a little and it appears to be technically doable, but not using the current tools we use to create our repositories. We currently use the reprepro tool to create and update our repositories. It's simple and works well. But, AFAIK it only supports a single version of a given package at a time in the repositories it creates and updates. When a package is updated to a new version it removes any old version of the package it finds. I'll read up on other APT repository management tools and see if one of the alternatives can be used to support multiple package versions in the same repository.

            dbart Daniel Bartholomew added a comment - I've looked into this a little and it appears to be technically doable, but not using the current tools we use to create our repositories. We currently use the reprepro tool to create and update our repositories. It's simple and works well. But, AFAIK it only supports a single version of a given package at a time in the repositories it creates and updates. When a package is updated to a new version it removes any old version of the package it finds. I'll read up on other APT repository management tools and see if one of the alternatives can be used to support multiple package versions in the same repository.
            bram Bram Noordzij added a comment -

            The excellent freight repository manager is the right tool for the job. Simple to use and does support multiple versions of deb packages:
            https://github.com/freight-team/freight

            It would be much appreciated to have easy access to specific versions of MariaDB...

            bram Bram Noordzij added a comment - The excellent freight repository manager is the right tool for the job. Simple to use and does support multiple versions of deb packages: https://github.com/freight-team/freight It would be much appreciated to have easy access to specific versions of MariaDB...
            danblack Daniel Black added a comment - Documented an existing way using the current archives: https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/#installing-an-older-version

            This was fixed a while back as part of MDEV-14888.

            dbart Daniel Bartholomew added a comment - This was fixed a while back as part of MDEV-14888 .

            People

              dbart Daniel Bartholomew
              ccalender Chris Calender (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.