Asking the same question, except in my installation, /etc/apt/sources.list.d/mariadb_repo.list does not exist.
Trying to update the Wordpress MariaDB server from 10.3.38 to at least 10.4.xx (or higher, if possible -- 10.11.xx would be ideal).
This is a DigitalOcean droplet running Ubuntu...