私はこの問題を抱えています。私はMYSQLサーバをアンインストールしましたが、私はそれをインストールすることはできません。私はすべての方法を試みましたが、うまくいかないようです。誰でも助けてくれます。私は以下を試しました: 私はすべてのことを試しました、不思議に思っていた、スペースが問題になる可能性がありますか? 須藤はapt-getをパージのMySQLサーバのmysql-クライアントのmysql-共通のMySQLサーバコア-5.5のmysql-クライアントコア-5.5はMySQL用のディスクスペースが不足している可能性のようなMysqlのインストールの問題
sudo apt-get autoremove
sudo apt-get autoclean
[email protected]:~$ sudo service mysql start
mysql: unrecognized service
[email protected]:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[email protected]:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[email protected]:~$
[email protected]:~$ sudo service mysql start
mysql: unrecognized service
[email protected]:~$
[email protected]:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... 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-5.5
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
8 not fully installed or removed.
Need to get 0 B/1845 kB of archives.
After this operation, 32.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 201373 files and directories currently installed.)
Preparing to unpack .../mysql-server- 5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb ...
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
egrep: /etc/mysql/: No such file or directory
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[email protected]:~$
パッケージなしで 'apt-get -f install'を実行しようとしましたか?もしそうなら、何が起こったのですか? –
それはどういう意味ですか?私は "apt-get -f install"と入力するだけですか? – Bob