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)

link|improve this question
feedback

1 Answer

According to this thread:

gksudo gedit /var/lib/dpkg/info/postgresql-8.4.prerm

After opening the file add exit 0 after #/bin/sh -e and try to remove again.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.