A instalação do Trusty Tar limpo com MySQL 5.6 pode conter pacote corrompido

A instalação do Trusty Tar limpo com MySQL 5.6 pode conter pacote corrompido

Tentei instalar o mysql-server-5.6 na minha caixa vagrantubuntu/confiável64 No entanto, funciona com issocaixa. Além de outras fontes.list, não consigo identificar a diferença. Mas eu me pergunto por que esse erro ocorre, já que a primeira caixa é a imagem oficial do Ubuntu e usa o arquivo source.list principal....

sudo apt-get install mysql-server-5.6

Setting up mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
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
Processing triggers for ureadahead (0.100.0-16) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)

Limpar e reinstalar não altera a saída. Deixar a senha do “root” em branco, na hora de configurar não muda nada. A remoção manual /var/lib/mysqlapós a purga não faz nada. /var/lib/mysqlparece não existir ao configurar uma instalação limpa, então isso não deve ser um problema.

/var/log/mysql/error.log é isso, mas não tenho ideia do que significa:

2015-09-29 18:05:21 6911 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-09-29 18:05:21 6911 [Note] Plugin 'FEDERATED' is disabled.
2015-09-29 18:05:21 6911 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-29 18:05:21 6911 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-29 18:05:21 6911 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-09-29 18:05:21 6911 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-09-29 18:05:21 6911 [Note] InnoDB: Using Linux native AIO
2015-09-29 18:05:21 6911 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-29 18:05:21 6911 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-09-29 18:05:21 6911 [Note] InnoDB: Completed initialization of buffer pool
2015-09-29 18:05:21 6911 [Note] InnoDB: Highest supported file format is Barracuda.
2015-09-29 18:05:21 6911 [Note] InnoDB: 128 rollback segment(s) are active.
2015-09-29 18:05:21 6911 [Note] InnoDB: Waiting for purge to start
2015-09-29 18:05:21 6911 [Note] InnoDB: 5.6.19 started; log sequence number 1626097
ERROR: 1062  Duplicate entry 'innodb' for key 'PRIMARY'
2015-09-29 18:05:21 6911 [ERROR] Aborting

2015-09-29 18:05:21 6911 [Note] Binlog end
2015-09-29 18:05:21 6911 [Note] InnoDB: FTS optimize thread exiting.
2015-09-29 18:05:21 6911 [Note] InnoDB: Starting shutdown...
2015-09-29 18:05:23 6911 [Note] InnoDB: Shutdown completed; log sequence number 1626107
2015-09-29 18:05:23 6911 [Note] /usr/sbin/mysqld: Shutdown complete

Esta ERROR: 1062 Duplicate entry 'innodb' for key 'PRIMARY'parece ser uma das causas do erro? Encontrei um bug no Ubuntu Launchpad, mas ele nunca foi corrigido e apenas "expirou".

Responder1

Provavelmente isso se deve à falta de memória suficiente para o MySQL Server 5.6. Tente adicionar mais RAM à sua máquina virtual no Vagrant:

config.vm.provider "virtualbox" do |v|
    v.memory = 1024
end

Testado com Vagrant 1.7.4 e imagem ubuntu/trusty64.

informação relacionada