'mysql-server' não será instalado

0

Estou tentando instalar mysql-server por duas horas. O sistema está no Ubuntu Wily.

Não há nada adicionado nos arquivos de log.

root@Erman:~# dpkg --configure mysql-server-5.6
Setting up mysql-server-5.6 (5.6.28-0ubuntu0.15.10.1) ...
2016-02-13 18:15:50 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-02-13 18:15:50 0 [Note] /usr/sbin/mysqld (mysqld 5.6.28-0ubuntu0.15.10.1) starting as process 25352 ...
2016-02-13 18:15:50 25352 [Note] Plugin 'FEDERATED' is disabled.
2016-02-13 18:15:50 25352 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-02-13 18:15:50 25352 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-13 18:15:50 25352 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-13 18:15:50 25352 [Note] InnoDB: Memory barrier is not used
2016-02-13 18:15:50 25352 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-13 18:15:50 25352 [Note] InnoDB: Using Linux native AIO
2016-02-13 18:15:50 25352 [Note] InnoDB: Using CPU crc32 instructions
2016-02-13 18:15:50 25352 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-02-13 18:15:50 25352 [Note] InnoDB: Completed initialization of buffer pool
2016-02-13 18:15:50 25352 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-13 18:15:50 25352 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-13 18:15:50 25352 [Note] InnoDB: Waiting for purge to start
2016-02-13 18:15:50 25352 [Note] InnoDB: 5.6.28 started; log sequence number 1626183
2016-02-13 18:15:50 25352 [Note] Binlog end
2016-02-13 18:15:50 25352 [Note] InnoDB: FTS optimize thread exiting.
2016-02-13 18:15:50 25352 [Note] InnoDB: Starting shutdown...
2016-02-13 18:15:52 25352 [Note] InnoDB: Shutdown completed; log sequence number 1626193
insserv: warning: script 'K01vncserver' missing LSB tags and overrides
insserv: warning: script 'vncserver' missing LSB tags and overrides
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.6
    
por Duncan 13.02.2016 / 18:27

2 respostas

1

Eu mudei do upstart para o systemd e agora posso instalá-lo sem problemas.

    
por Duncan 13.02.2016 / 20:06
0

O erro diz que faltam dois scripts sobre o Virtual Network Computing Server ( vncserver ) que deveriam ser da Base Padrão do Linux ( LSB ). Tente fazer alguma limpeza, especificamente:

sudo sh -c "apt-get update; apt-get dist-upgrade; apt-get -f install"

e, em seguida, tentando instalar novamente.

Eu tive a idéia de: link , mas não me sinto à vontade para recomendar a exclusão coisas em uma suposição.

    
por Uberhumus 13.02.2016 / 19:26