I followed this article to install mariadb on Ubuntu 20.04.4 LTS. However, I was shown these messages
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.34-0ubuntu0.20.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Thus, I couldn't start the server or check its status. I've tried to remove repos of mariadb as this post suggested, but no repos available. What should I do?
UPDATED: When I use sudo apt update
, the following appear
Hit:1 http://vn.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://vn.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://vn.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
sudo apt update
– user535733 Apr 03 '22 at 18:2910 packages can be upgraded
. Runsudo apt upgrade
. If there are any errors, post the entire output. If there are no errors, then try installingmariadb-server
again. – user535733 Apr 05 '22 at 11:53