How to solve Dpkg:error processing install-info

Source: Internet
Author: User

Setting Install-info (5.2.0.dfsg.1-2) .../etc/environment:line 2:class_path:command not founddpkg:error processing packag E Install-info (--configure): Child process installed post-installation script returns error number 127e:sub-process/usr/bin/dpkg returned an error code ( 1)


Workaround:

1. Rename the Info folder:mv/var/lib/dpkg/info//var/lib/dpkg/info_old/

2. Create a new info folder :mkdir/var/lib/dpkg/info/

3.apt-get Update:apt-get Update

4. Reinstall :apt-get-f Install

5. After performing the previous step, some files are generated under the new Info folder, and these files are now moved to the Info_old folder:mv/var/lib/dpkg/info/*/var/lib/dpkg/info_old/

6. Delete your new info folder :rm-rf/var/lib/dpkg/info

7. Re-change the Info_old folder back to info :mv/var/lib/dpkg/info_old//var/lib/dpkg/info/

8. Reinstall the software that needs to be installed

How to solve Dpkg:error processing install-info

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.