[MDEV-6640] Create repository with old versions of MariaDB Galera Cluster Created: 2014-08-26  Updated: 2021-04-15  Resolved: 2021-04-15

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Chris Calender (Inactive) Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
Relates
relates to MDEV-14888 Provide multi-version package reposit... Closed

 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.



 Comments   
Comment by Daniel Bartholomew [ 2016-02-17 ]

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.

Comment by Bram Noordzij [ 2016-09-07 ]

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

Comment by Daniel Black [ 2017-03-21 ]

Documented an existing way using the current archives:

https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/#installing-an-older-version

Comment by Daniel Bartholomew [ 2021-04-15 ]

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

Generated at Thu Feb 08 07:13:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.