long hang apt install mariadb-server on Ubuntu 20.04 server
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| mariadb-10.3 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Ubuntu 20.04 server => no graphical user interface
MariaDb is functional: mysqlshow works, mysqladmin create xxx works
After 10 Minutes
- the installation terminates
- dbms terminates
Oct 12 12:38:19 host systemd[1]: Starting MariaDB 10.3.22 database server...
Oct 12 12:38:19 host mysqld[124254]: 2020-10-12 12:38:19 0 [Note] /usr/sbin/mysqld (mysqld 10.3.22-
Oct 12 12:53:19 host systemd[1]: mariadb.service: start operation timed out. Terminating.
Oct 12 12:53:20 host systemd[1]: mariadb.service: Failed with result 'timeout'.
Oct 12 12:53:20 host systemd[1]: Failed to start MariaDB 10.3.22 database server.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 2.0.2ubuntu0.1
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
Date: Mon Oct 12 12:43:49 2020
ExecutablePath: /usr/bin/apt
InstallationDate: Installed on 2020-05-11 (154 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=xterm-
PATH=(custom, no user)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
| Changed in mariadb-10.3 (Ubuntu): | |
| status: | Incomplete → Confirmed |

After failed installation command 'service mysql start' hangs endless, but mysqlshow and mysql are working.
$ ps -f -t pts/4 tty-ask- password- agent --watch
UID PID PPID C STIME TTY TIME CMD
root 107880 107877 0 12:46 pts/4 00:00:00 -bash
root 125389 107880 0 13:01 pts/4 00:00:00 systemctl start mysql.service
root 125396 125389 0 13:01 pts/4 00:00:00 /bin/systemd-
$ ps -f -u mysql
mysql 125461 1 0 13:01 ? 00:00:00 /usr/sbin/mysqld