[MDEV-22314] Ubuntu Focal 20.04 cannot install 10.4 series Created: 2020-04-20  Updated: 2020-05-13  Resolved: 2020-05-12

Status: Closed
Project: MariaDB Server
Component/s: Server
Fix Version/s: 10.3.23, 10.4.13

Type: Task Priority: Major
Reporter: Mitch S Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 1
Labels: installation, repository

Issue Links:
Relates
relates to MDEV-22547 Update tools repo for Ubuntu Focal Closed

 Description   

I'm not sure where to post this, so, hopefully I'm not too far off here.

The webpage:
https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=focal--ubuntu_focal&mirror=biznetgio&version=10.5

Doesn't offer the ability to install version 10.4 on Ubuntu 20.04/Focal. Not only that, there's no actual repos for Ubuntu 20.04/Focal with MariabDB 10.4, so manually adjusting the apt repo string doesn't work. Manually adjusting then doing 'apt update', results in:

The repository 'http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu focal Release' does not have a Release file.



 Comments   
Comment by Yitzchak [ 2020-04-22 ]

Note that the mariadb_repo_setup tool currently fails on 20.04 too, because 10.4 isn't available.

Comment by Daniel Bartholomew [ 2020-04-30 ]

10.4 repositories for Focal will be added with the next 10.4 release of MariaDB, which should happen in just a few days.

Comment by Michele Locati [ 2020-05-03 ]

Any ETA?

Comment by Daniel Bartholomew [ 2020-05-04 ]

We're working on the releases. Hopefully just a few days, barring any unforeseen issues.

Comment by Michele Locati [ 2020-05-13 ]

Is this fixed? I just tried it with an ubuntu:20.04 docker image and it still seems to be broken:

$ curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash -s -- --skip-maxscale --mariadb-server-version=mariadb-10.4
[info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
[info] Adding trusted package signing keys...
[info] Running apt-get update...
E: The repository 'http://downloads.mariadb.com/Tools/ubuntu focal Release' does not have a Release file.
[error] Failed to add trusted package signing keys
 
$ cat /etc/apt/sources.list.d/mariadb.list
# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
deb http://downloads.mariadb.com/MariaDB/mariadb-10.4/repo/ubuntu focal main
 
# MariaDB Tools
deb http://downloads.mariadb.com/Tools/ubuntu focal main

Comment by Daniel Bartholomew [ 2020-05-13 ]

It's fixed for the MariaDB repository. But the MaxScale and Tools repostories don't have focal packages yet. So in your example you'll need to add --skip-tools to the options:

curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash -s -- --skip-maxscale --skip-tools --mariadb-server-version=mariadb-10.4

Comment by Daniel Bartholomew [ 2020-05-13 ]

Fixed the issue with the Tools repository as part of MDEV-22547. So you don't need to include `--skip-tools` any more.

I don't know when the MaxScale repository will be updated with support for Ubuntu 20.04 Focal, so you still need `--skip-maxscale`.

Comment by Michele Locati [ 2020-05-13 ]

Great! I can confirm that everything is working flawlessly, thanks!

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