Ho letto un numero di post qui e tutti dichiarano di eseguire i seguenti comandi:
- Apt-get -f remove * *
- apt-get update
- apt-get upgrade
- apt-get -f install * *
Ho visto questi in vari ordini ecc., E nessuno risolve il problema. Non importa cosa provo, ottengo:
apt-get -f install mysql-server Reading package
lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
mysql-server mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.9 MB of archives.
After this operation, 53.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously unselected package mysql-server-core-5.5.
(Reading database ... 83134 files and directories currently installed.)
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.29-
0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-server-5.5.
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.29-0ubuntu0.12.04.1_amd64.deb)
...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.29-0ubuntu0.12.04.1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.04.1) ...
invoke-rc.d: initscript mysql, action "start" failed.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
No apport report written because the error message indicates its a followup error from a
No apport report written because the error message indicates its a followup error from a
previous failure.
Errors were encountered while processing:
mysql-server-5.5
mysql-server
Ho provato diverse cose la scorsa settimana e non riesco a risolverlo, qualsiasi assistenza sarebbe apprezzata. Ho notato il messaggio:
Il pacchetto mysql-server-5.5 non è ancora configurato.
e devo ancora configurarlo, quindi sto lavorando su quell'aspetto. Qualsiasi altra assistenza sarà molto apprezzata.
sudo invoke-rc.d mysql start Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service mysql start Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start mysql start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed.
dpkg: dependency problems prevent configuration of mysql server:
mysql-server depends on mysql-server-5.5; however:
`Il pacchetto mysql-server-5.5 non è ancora configurato. Mi sono imbattuto in questo thread che mi ha portato a questo vecchio thread che conteneva la risposta di cui avevo così disperatamente bisogno. Ho dovuto correre dpkg -S etc/mysql
per ottenere le informazioni e ho scoperto che mysql-common era ancora installato e mi faceva venire il mal di testa.
aptitude purge mysql-server --purge-unused
per pulire i file. Questo ha funzionato come un fascino. Spero che questa soluzione aiuti qualcun altro lungo la strada!
sudo invoke-rc.d mysql start
alla tua domanda.