[MDBF-264] downloads.mariadb.org - repo tools - ubuntu instructions Created: 2021-08-11  Updated: 2022-06-17  Resolved: 2022-06-17

Status: Closed
Project: MariaDB Foundation Development
Component/s: Downloads
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Critical
Reporter: Daniel Black Assignee: Andreia Hendea
Resolution: Fixed Votes: 0
Labels: download
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

XHR GET https://downloads.mariadb.org/rest-api/repo-instructions/?distro=Ubuntu&distroRelease=focal&releaseVersion=10.6&builtin=false&mirror=realworldgroup
[HTTP/1.1 200 OK 1023ms]
 
Here are the commands to run to install MariaDB 10.6 from the MariaDB repository on your Ubuntu system:
 
        sudo apt-get install software-properties-common dirmngr apt-transport-https
        sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
        sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirror.realcompute.io/mariadb/repo/10.6/ubuntu focal main'
      
 
Once the key is imported and the repository added you can install MariaDB 10.6 from the MariaDB repository with:
 
        sudo apt update
        sudo apt install mariadb-server
      
 
See Installing MariaDB .deb Files for more information and for instructions on installing MariaDB Galera Cluster. You can also create a custom MariaDB sources.list file. To do so, after importing the signing key as outlined above, copy and paste the following into a file under /etc/apt/sources.list.d (we suggest naming the file MariaDB.listt or something similar), or add it to the bottom of your /etc/apt/sources.list file.
 
        # MariaDB 10.6 repository list - created  UTC
        # https://mariadb.org/download/
        deb [arch=amd64] https://mirror.realcompute.io/mariadb/repo/10.6/ubuntu focal main
        deb-src https://mirror.realcompute.io/mariadb/repo/10.6/ubuntu focal main
      
 
If you need debug packages, add the debug component to your sources.list with:
 
        sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirror.realcompute.io/mariadb/repo/10.6/ubuntu focal main/debug'
      
 
MariaDB debug packages will now show up when searching for 'mariadb' with apt or apt-cache and are distinguished by the '-dbgsym' suffix. Debug packages are generally only needed during development and usually should not be installed unless you know that you need them.

On the API:

1. The middle cut/paste only lists amd64 - it should be all arches (or none?).
2. "created UTC" looks odd. Either include a time identifier or omit.
3. From 10.5 and 10.6 now includes s390x as an architecture (for Ubuntu 20.04 focal only), others probably next release.

On UI:

After "Choose a distribution" and selecting one, and then "Choose a MariaDB Server version" and choosing one. If I change the distro, the MariaDB version is also cleared. Couldn't we keep this if its supported on the changed distro?



 Comments   
Comment by Faustin Lammler [ 2022-05-24 ]

danblack please take a look at https://gitlab.com/mariadb/downloads-mariadb-python3/-/merge_requests/1.
I suggest we drop arch from sources.list

Comment by Daniel Black [ 2022-05-25 ]

fine by me

Comment by Faustin Lammler [ 2022-06-07 ]

https://gitlab.com/mariadb/downloads-mariadb-python3/-/merge_requests/1 was merged and deployed in production today by cvicentiu.
So, I believe that this could be closed.

Generated at Thu Feb 08 03:36:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.