- Plesk for Linux
Installing microupdates fails with the following error:
Setting up install-info (5.2.0.dfsg.1-2) ...
/etc/environment: line 1: unexpected EOF while looking for matching `"'
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Malformed file /etc/environment
In this particular case, dpkg errors out because of excess quotation mark, as it is stated in the STDOUT:
CONFIG_TEXT: /etc/environment: line 1: unexpected EOF while looking for matching `"'
To resolve the issue:
Connect to the server via SSH;
Edit the file and remove the excess character and start microupdate installation:
# cat /etc/environment