एक सॉफ्टवेयर अपग्रेड टूट गया, अन्य चीजों के अलावा, mysql और मैं इसे अभी तक वापस नहीं ले पाए हैं।
संदिग्ध कारण: मेरे पास एक पूर्ण-बूट डिस्क थी; नवीनीकरण ने डिस्क को पूरा करने से पहले भरा और इस तरह सब कुछ गड़बड़ हो गया। मैंने सिस्टम को अपने स्वयं के विभाजन के लिए अधिक डिस्क और स्थानांतरित / दिया है। मैं अभी भी असफल हो रहा हूं ताकि मैस्कल को पुनर्जीवित कर सकूं।
नीचे मैंने वही प्रयास किया है जो अब तक (सभी रूट के रूप में) किया गया है। सबसे पहले, mysql शुरू नहीं होता है (443)। (444, 445) को ठीक करने के प्रयास विफल। Mysql और (?) को हटाने का प्रयास विफल रहता है (446, 7, 8)। Mysql को हटाने का एक अधिक ऊर्जावान प्रयास सफल होता दिख रहा है (449) और पिछली त्रुटियों को अब नहीं देखा जाता है (450, 1, 2)। मैसकल को फिर से जोड़ा नहीं जा सकता है क्योंकि यह अब नहीं है (453) लेकिन इसे फिर से स्थापित करने का प्रयास पुरानी त्रुटि संदेश देता है और हम वापस वर्ग एक (454) पर आ जाते हैं।
मैंने इस प्रश्न को भी जांचा (भले ही मेरे मामले में यह 12.04 में अपग्रेड होने के कारण नहीं टूटा था: यह पहले से ही 12.10 पर काम कर रहा था) 12.04 में अपग्रेड होने के बाद टूटे हुए myslq-server पैकेज को ठीक करना और इसमें सुझावों की कोशिश की (458, 461) 462) कोई फायदा नहीं हुआ।
मुझे और क्या करना चाहिए?
यह 3.5.0-25-जेनेरिक # 39-उबंटू एसएमपी मोन पर 25 फरवरी, 18:26:58 यूटीसी 2013 x86_64 x86_64 x86_64 GNU / Linux है
443 service mysql start
start: Job failed to start
444 dpkg-reconfigure mysql-server-5.5
/usr/sbin/dpkg-reconfigure: mysql-server-5.5
is broken or not fully installed
445 apt-get -f install
...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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):
dependency problems - leaving unconfigured
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
446 apt-get remove mysql-server
...
Removing mysql-server ...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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
No apport report written because MaxReports is reached already
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
447 apt-get remove apparmor
...
Package 'apparmor' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
448 apt-get remove mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
449 dpkg -r mysql-server-5.5
(Reading database ... 322156 files and directories
currently installed.)
Removing mysql-server-5.5 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
450 apt-get remove mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
451 apt-get remove apparmor
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apparmor' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
452 apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
453 dpkg-reconfigure mysql-server-5.5
/usr/sbin/dpkg-reconfigure: mysql-server-5.5 is broken
or not fully installed
454 apt-get 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
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
mysql-server mysql-server-5.5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/8,851 kB of archives.
After this operation, 32.8 MB of additional disk space
will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 322081 files and directories
currently installed.)
Unpacking mysql-server-5.5 (from
.../mysql-server-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from
.../mysql-server_5.5.29-0ubuntu0.12.10.1_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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):
dependency problems - leaving unconfigured
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
458 apt-get remove --purge mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mysql-server*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 116 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 322159 files and directories
currently installed.)
Removing mysql-server ...
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
start: Job failed to start
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
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
461 touch /etc/apparmor.d/local/usr.sbin.mysqld
(no output)
462 service mysql start
start: Job failed to start