On Friday 11 August 2006 10:37, you wrote:
> Hi,
>
> Kjetil Kjernsmo [2006-08-11  8:06 +0200]:
> > >   dpkg -s postgresql
> >
> > Status: deinstall ok config-files
> > Config-Version: 7.4.7-6sarge1
>
> Hah, exactly what I wanted to see. :)

Gooooood! :-)

> > Aha, I don't quite remember what I did, but since the only db I
> > needed to preserve was the SA db, and sa-learn has a clean upgrade
> > path for that, I might have deleted stuff by hand too... But you
> > can probably draw your conclusions from what you see here :-)
>
> Yep, actually it behaves exactly as intended. ;) So, I recommend to
> just do
>
>   dpkg -P postgresql postgresql-client

Ah, this could be the reason why this didn't go cleanly: I have a 
partition for pg, so it goes:

[EMAIL PROTECTED]:~> dpkg -P postgresql postgresql-client
(Reading database ... 81794 files and directories currently installed.)
Removing postgresql ...
Purging configuration files for postgresql ...
rmdir: /var/lib/postgres: Device or resource busy
/var/lib/postgres not empty so not removed.
rmdir: /etc/postgresql: Directory not empty
/etc/postgresql not empty so not removed.
dpkg - warning: while removing postgresql, directory 
`/etc/logcheck/ignore.d.workstation' not empty so not removed.
dpkg - warning: ignoring request to remove postgresql-client which isn't 
installed.

I can of course remove these dirs manually, is that a good idea to do?

> to get rid of the ancient stuff and then do a clean install of
> postgresql-8.1

*nods*

> Thank you for your report!

You're welcome, and thanks for all the help!

Kjetil

Reply via email to