Sub-process/usr/bin/dpkgreturnedanerrorcode (1) Ubantudpkg install mysql-server-5.5 package report error solution

Source: Internet
Author: User
Sub-process/usr/bin/dpkgreturnedanerrorcode (1) Ubantudpkg install the mysql-server-5.5 package reports an error workubantuMySQLlinuxmysql-server-5.5dpkg und mysql-server-5.5 when I am installing, error Sub-pro Sub-process/usr/bin/dpkg returned an error code (1) Ubantu dpkg install mysql-server-5.5 package report error solution ubantuMySQLlinuxmysql-server-5.5dpkg I was installing mysql-server-5.5, the following error occurs: Sub-process/usr/bin/dpkg returned an error code (1). uninstall all the previous software packages and reinstall them, sudo apt-get autoremove mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 libnet-daemon-perl libplrpc-perl libterm-readkey-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 sudo apt-get install mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 libnet-daemon-perl libplrpc-perl libterm-readkey-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 Sub- process/usr/bin/dpkg returned an error code (1) solution: $ cd/var/lib/dpkg/info $ sudo rm-rf mysql-* $ sudo apt-get autoremove mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 libnet-daemon-perl libplrpc-perl libterm -readkey-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 $ sudo apt-get install mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 libnet-daemon-perl libplrpc-perl libterm -readkey-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 $ mysql> exitBye OK: $ cd/var/lib/dpkg/info $ sudo rm-rf mysql * $ sudo apt-get-f install $ sudo apt-get update
Related Article

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.