• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Maria DB update fail, autoupdate no longer works

Hello @dgarcia90

Unfortunately, I can't get it to work on my Ubuntu 20 server.

Would you be so kind to share the content of your finally working mariadb.list?

Thank you! :)
Hey, this is what I've got:


# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main/debug


# MariaDB Tools
deb [arch=amd64] Tools/ubuntu/ - MariaDB focal main

When I run apt-get update I don't have any error now

Hope it helps! :)
 
Hi

Thank you very much! I have tried it like this:

Code:
# MariaDB Server
# To use a different major version of the server, or to pin to a specific minor version, change URI below.
#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

#deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal main/debug


# MariaDB Tools
deb [arch=amd64] Tools/ubuntu/ - MariaDB focal main

After apt-get update I Get following error:
Code:
E: Malformed entry 4 in list file /etc/apt/sources.list.d/mariadb.list (URI parse)
E: The list of sources could not be read.

I think "Entry 4" refers to line 4:
Code:
deb [arch=amd64,arm64] Index of /mariadb/repo/10.11/ubuntu focal main

I notice that this does not contain an URI but "Index of" etc.

Do you or does anybody know how to solve this?

Thanks a lot!
 
Okay, I found a solution that worked for me:

I entered following commands:
Code:
sudo apt-get install apt-transport-https curl
sudo mkdir -p /etc/apt/keyrings
sudo curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'

Then I put following content into /etc/apt/sources.list.d/mariadb.list:
Code:
# MariaDB 10.11 repository list - created 2024-06-07 13:12 UTC
# https://mariadb.org/download/
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://deb.mariadb.org/10.11/ubuntu focal main
deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.wtnet.de/mariadb/repo/10.11/ubuntu focal main
# deb-src [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.wtnet.de/mariadb/repo/10.11/ubuntu focal main

Then apt-get update worked without errors. And I can also search for system updates from within Plesk without error messages.

So basically I just went through these steps:

Cheers!
 
Back
Top