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