I am getting this error while executing
sudo apt-get remove postgresql-8.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
According to this thread:
After opening the file add