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

Provide multi-version package repositories instead of just latest version only

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.12
    • N/A
    • Packaging
    • None
    • Linux with yum/zypper/apt repositories

    Description

      Currently we only provide the latest "point" release of our release series in our rpm and deb repositories only.

      yum and apt-get (probably zypper, too) allow to specify a specific package version instead of the latest one. For this the requested version has to still be available on the repository server, or in the local package cache, though.

      When we recommend to not install the latest version for a while, like we just recently did with MDEV-14799 in some cases, this is only possible by manual download and installation of packages using rpm or dpkg directly, but not via repository tools like apt-get, yum (, zypper?)

      By keeping the last n point releases around, with n > 1, (e.g. 3 or 4 sounds like a sensible amount to me) "do not install the latest for now" would be possible in a much more convenient way.

      Attachments

        Issue Links

          Activity

            Documentation on how to show available versions and install a specific version added to: https://mariadb.com/kb/en/library/yum/

            dbart Daniel Bartholomew added a comment - Documentation on how to show available versions and install a specific version added to: https://mariadb.com/kb/en/library/yum/

            There's a fork of reprepro that adds support for multi-version deb repositories here. The author says they are working to get his patches merged upstream. I'll install it locally and create some test repos.

            dbart Daniel Bartholomew added a comment - There's a fork of reprepro that adds support for multi-version deb repositories here . The author says they are working to get his patches merged upstream. I'll install it locally and create some test repos.

            My tests with a locally compiled version of reprepro patched for multiversion and ddeb support have not yielded anything we can use. The binary throws all sorts of errors and refuses to include new packages.

            I will try again later, but for now we're still unable to have multi-version repositories for Debian/Ubuntu.

            dbart Daniel Bartholomew added a comment - My tests with a locally compiled version of reprepro patched for multiversion and ddeb support have not yielded anything we can use. The binary throws all sorts of errors and refuses to include new packages. I will try again later, but for now we're still unable to have multi-version repositories for Debian/Ubuntu.

            This was fixed a while ago, but neglected to close the task.

            dbart Daniel Bartholomew added a comment - This was fixed a while ago, but neglected to close the task.

            Basically, the fix was to use a patched version of reprepro that adds the multi-version capability and the ability to import Ubuntu's .ddeb packages. A README for how I compiled it is here: https://gist.github.com/dbart/0ba0f991e9b86d472e28e02998fce835

            dbart Daniel Bartholomew added a comment - Basically, the fix was to use a patched version of reprepro that adds the multi-version capability and the ability to import Ubuntu's .ddeb packages. A README for how I compiled it is here: https://gist.github.com/dbart/0ba0f991e9b86d472e28e02998fce835

            People

              dbart Daniel Bartholomew
              hholzgra Hartmut Holzgraefe
              Votes:
              3 Vote for this issue
              Watchers:
              7 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.