Ubuntu 10.04: mysqldump: команда не найдена и не будет устанавливать mysql-клиент

1613
Sharj

Некоторые пакеты пропали с моего сервера Ubuntu, и мало что из-за этого не работает.

Когда я пытаюсь установить, mysql-clientя получаю эту ошибку:

# sudo apt-get install mysql-client-5.1 Reading package lists... Done Building dependency tree  Reading state information... Done  You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libauthen-pam-perl : Depends: perlapi-5.14.2 libdbi-perl : Depends: perlapi-5.14.2 libio-pty-perl : Depends: perlapi-5.14.2 libnet-ssleay-perl : Depends: perlapi-5.14.2 libperl5.14 : Depends: perl-base (= 5.14.2-13) but 5.10.1-8ubuntu2 is to be installed libsub-name-perl : Depends: perlapi-5.14.2 libtext-charwidth-perl : Depends: perl-base (>= 5.14.2-3) but 5.10.1-8ubuntu2 is to be installed Depends: perlapi-5.14.2 libtext-iconv-perl : Depends: perl-base (>= 5.14.2-5) but 5.10.1-8ubuntu2 is to be installed Depends: perlapi-5.14.2 mysql-client : Depends: mysql-client-5.5 but it is not going to be installed mysql-client-5.1 : Depends: mysql-common (>= 5.1.63-0ubuntu0.10.04.1) but 5.1.41-3ubuntu12 is to be installed Depends: libmysqlclient16 (>= 5.1.63-0ubuntu0.10.04.1) but 5.1.41-3ubuntu12 is to be installed Depends: mysql-client-core-5.1 (>= 5.1.63-0ubuntu0.10.04.1) but 5.1.41-3ubuntu12 is to be installed perl : Depends: perl-base (= 5.14.2-13) but 5.10.1-8ubuntu2 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

Когда я запускаю apt-get -f install, получаю следующую ошибку.

The following packages will be REMOVED: mysql-server-5.1 mysql-server-core-5.1 The following NEW packages will be installed: libmysqlclient18 mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5 The following packages will be upgraded: ifupdown initscripts libdbd-mysql-perl liblocale-gettext-perl mysql-common mysql-server netbase perl-base rsyslog 9 upgraded, 4 newly installed, 2 to remove and 172 not upgraded. 15 not fully installed or removed. Need to get 0 B/10.7 MB of archives. After this operation, 64.8 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_CTYPE = "UTF-8", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). /usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol: Perl_xs_apiversion_bootcheck (Reading database ... 43650 files and directories currently installed.) Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.24+dfsg-8_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/mysql-client-5.5_5.5.24+dfsg-8_amd64.deb (--unpack): trying to overwrite '/usr/bin/mysqlcheck', which is also in package mysql-client-core-5.1 5.1.41-3ubuntu12 configured to not write apport reports dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mysql-client-5.5_5.5.24+dfsg-8_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 
1
Вы пробовали `apt-get -f install`? m4573r 12 лет назад 1
@ m4573r да, я обновил ответ об ошибке, которую получаю при запуске apt-get -f install Sharj 12 лет назад 0
попробуйте установить localepurge. он должен запускаться сразу после установки, и вы можете выбрать языки, которые вы хотите использовать в системе. похоже, некоторые из них отсутствуют. d4v3y0rk 12 лет назад 0
также вы недавно изменяли свой файл sources.list? d4v3y0rk 12 лет назад 1
I didn't change that and installing localepurge also gives error. # sudo apt-get install localepurge Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.41-3ubuntu12) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Sharj 12 лет назад 0

0 ответов на вопрос

Похожие вопросы