Based on:

https://launchpadlibrarian.net/455937522/DpkgTerminalLog.txt

Looks like the instance (of mysql about to be upgraded) wasn't shutdown
correctly:

dic 16 13:19:15 gustavo-net mysqld[16999]: 2019-12-16T16:19:15.241819Z 0 [Note] 
/usr/sbin/mysqld: Shutdown complete
dic 16 13:19:15 gustavo-net systemd[1]: 
mysql.service: Failed with result 'exit-code'.
dic 16 13:19:15 gustavo-net systemd[1]: Failed to 
start MySQL Community Server.
dic 16 13:19:15 gustavo-net systemd[1]: mysql.service: Service hold-off time 
over, scheduling restart.
dic 16 13:19:15 gustavo-net systemd[1]: mysql.service: Scheduled restart job, 
restart counter is at 3.
dic 16 13:19:15 gustavo-net systemd[1]: Stopped MySQL Community Server.
dic 16 13:19:15 gustavo-net systemd[1]: Starting MySQL Community Server...

And when the new instance (of upgraded mysql) tried to start:

dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596722Z 0 [Note] 
Server hostname (bind-address): '*'; port: 3306
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596800Z 0 [Note] 
IPv6 is available.
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596818Z 0 [Note] 
  - '::' resolves to '::';
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596862Z 0 [Note] 
Server socket created on IP: '::'.
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596897Z 0 
[ERROR] Can't start server: Bind on TCP/IP port: Address already in use
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596910Z 0 
[ERROR] Do you already have another mysqld server running on port: 3306 ?
dic 16 13:19:16 gustavo-net mysqld[17036]: 2019-12-16T16:19:16.596934Z 0 
[ERROR] Aborting
dic 16 13:19:16 gustavo-net mysqld[17036]: Initialization of mysqld failed: 0

it couldn't bind() 3306 because it was already in use (or TIME_WAIT,
perhaps, because of bad on-going connection closures).

Subscribing ubuntu-server to check if upgrade scripts can do anything
regarding this, hopefully reducing the possibility of this happening
during upgrades (or checking if it is worth).

** Changed in: mysql-5.7 (Ubuntu)
       Status: New => Triaged

** Changed in: mysql-5.7 (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856597

Title:
  sepackage mysql-server-5.7 5.7.28-0ubuntu0.18.04.4 failed to
  install/upgrade: instalado mysql-server-5.7 paquete post-installation
  guión el subproceso devolvió un error con estado de salida 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1856597/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to