<div style="DIRECTION: ltr">&gt;What errors are you getting? Until you state the exact error messages<br>&gt;got during installation or re-installation it is not easy to guess<br>&gt;what might have gone wrong.<br>&nbsp;</div><br>

<p>Since it was taking long time to install postgresql-common (dependency of postgresql), I closed that window (installing window) but not able to close the GDebi package installer (it was not responding) so that package postgresql-common itself not installed in system. 
</p>
<p>Then I restarted my system. Now, I tried to install packages (postgresql-common also others) GDebi installer reporting error </p>
<p>&nbsp;"only one software management tool is allowed to run at the same time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Please close the other application e.g. Update manager ……."<br>&nbsp;<br>I opened synaptic it's showing error like <br>&nbsp;<br>
&nbsp;"E:dpkg was interrupted, you must manually run 'dpkg --configure –a' to correct &nbsp;the problem"</p>
<p>I did this in my terminal with sudo. Then restarted my system again. Now GDebi showing error like <br>&nbsp;"could not open package. This might be corrupted&quot; (for all the package even for &nbsp;those which are installed correctly by me previous)
</p>
<p>Now synaptic. Reporting errors like <br>&nbsp;"E: the package postgresql-common needs to be reinstalled, but I cannot fins an &nbsp;archive for it&quot; <br>&nbsp;&quot;E: Interpol error opening cache (1). Please report"</p>
<p>So then I was not able to do any kind of package management. I re-installed my whole ubuntu (6.10) system, and then made a fresh download from packages. <a href="http://Ubuntu.com">Ubuntu.com</a> but the problem continues.
<br>&nbsp;<br>I have reinstalled my system three times for post two days but cannot find the answer for this. <br>&nbsp;Actually I want to use postgresql as back-end for Gambas application I have no knowledge with postgresql and with any other dB packages.
</p>