I have an issue with dpkg and install-info. I cannot add any new packages without encountering a couple errors:
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 3: /etc/environment: source: not found
dpkg: error processing package install-info (--configure):
installed install-info package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
Clearly there is an issue with /etc/environment.
I have tried solutions from:
- Upgrade Problems - Ubuntu Forums
- Fix half-installed package - Ask Ubuntu
- How To Solve “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu - It's FOSS
I have also reinstalled and purged/reinstalled install-info. I have checked the paths for /etc/environments and they conform to the first url above.
Any help appreciated & Thanks John