Re: removing postgres
On Tue, Nov 2, 2010 at 6:21 PM, Sthu Deus <sthu.deus@gmail.com> wrote:
> Good day.
>
> I can not remove the following:
>
> $ sudo /usr/bin/dpkg -r postgresql-8.3 postgresql-client-8.3
> Removing postgresql-8.3 ...
> /var/lib/dpkg/info/postgresql-8.3.prerm: line
> 17: /usr/share/postgresql-common/maintscripts-functions: No such file
> or directory dpkg: error processing postgresql-8.3 (--remove):
> subprocess pre-removal script returned error exit status 1 dpkg:
> dependency problems prevent removal of postgresql-client-8.3:
> postgresql-8.3 depends on postgresql-client-8.3. dpkg: error processing
> postgresql-client-8.3 (--remove): dependency problems - not removing
> Errors were encountered while processing:
> postgresql-8.3
> postgresql-client-8.3
>
> Is there a way I can perform this? (Or it is just my destiny - to live
> w/ it? :)
Try reinstalling and uninstalling:
aptitude reinstall postgresql-client-8.3 postgresql-8.3
aptitude remove postgresql-client-8.3 postgresql-8.3
Regards,
Reply to: