Keith wrote:
Sounds like apt thinks that postgresql is already installed at the latest release. You could try;
- doing and uninstall followed by an installl (but I'm a bit
wary of that as uninstall can also clobber other packes you don't want uninstalled)
- try reconfiguring the package with dpkg --configure
[package name] - check the syntax of that via the man page
- I think there's an apt-get option that will force a
re-install of an existing package, again check the apt-get man page.
Keith ____________
Yes, the full story is that I had postgresql v7.2 installed, and when I upgraded to testing from stable postgresql attempted to upgrade to v7.4. Halfway through the upgrade it failed becuase it couldn't upgrade the data from 7.2 to the latest format. I apt-get removed postgresql and ripped out the existing data directory. Now it keeps giving this error when i try to install, as in your option (1). I get the same error with option (2). Re. option (3) - I've just done and apt-get clean, an apt-get check and tried using the f to force option, but with the same error.
Any option (4) suggestions? :-))
I shudder to think what would have happened if this was my live box and not the playpen. Thanks, Jen
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Hi Jen
At a push, you could try "touch /etc/init.d/postgresql.dpkg-dist" and try the apt-get force again. Alternatively, try dpkg with the purge option before attempting the install.
Regards, Paul.
On Wednesday 30 June 2004 12:29 pm, Jenny Hopkins wrote:
Any option (4) suggestions? :-))
On Wed, Jun 30, 2004 at 12:29:26PM +0100, Jenny Hopkins wrote:
Yes, the full story is that I had postgresql v7.2 installed, and when I upgraded to testing from stable postgresql attempted to upgrade to v7.4. Halfway through the upgrade it failed becuase it couldn't upgrade the data from 7.2 to the latest format. I apt-get removed postgresql and ripped out the existing data directory.
I shudder to think what would have happened if this was my live box and not the playpen. Thanks, Jen
I shudder to think anyone would think to upgrade from stable to testing on a live box at all!
"Jenny Hopkins" Jenny@toby-churchill.com writes:
I shudder to think what would have happened if this was my live box and not the playpen.
You'd have restored from backups.