Linux Apt-get Error

Source: Internet
Author: User
Tags rabbitmq

[Email protected]:~/ejabberd-15.03$ sudo apt-get install MySQL
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
E:unable to locate package MySQL
[Email protected]:~/ejabberd-15.03$ sudo apt-get install mysql-client
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 has unmet dependencies:
mysql-client:depends:mysql-client-5.5 but it isn't going to being installed
Rabbitmq-server:depends:erlang-nox (>= 1:13.b.3) but it isn't going to be installed or
Esl-erlang but it's not installable
E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).

Workaround:
Use the Aptitude command to install mysql-client-5.1

With this tool, when a library relies on a library that is inconsistent with the current version, aptitude attempts to downgrade the current version of the library while addressing the impact of downgrading the library on other software dependencies, and finally successfully installing Apt-get software that cannot be installed.

sudo Install mysql-client-5.1

The following NEW packages'll be installed:
Libdbd-mysql-perl{a} Libdbi-perl{a} Libmysqlclient16{a}
Libnet-daemon-perl{a} Libplrpc-perl{a} mysql-client-5.1
Mysql-client-core-5.1{a} Mysql-common{a}
The following partially installed packages would be configured:
RABBITMQ-SERVER{B}
0 Packages upgraded, 8 newly installed, 0 to remove and no upgraded.
Need to get 11.3MB of archives. After unpacking 27.6MB would be used.

Linux Apt-get Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.