Hi Andreas,

Andreas Koch [2006-07-03 14:27 +0200]:
> > Can you please describe me how you attempted the first upgrade and
> > what failed? Any recipe for reproducing this?
> 
> As far as I remember I made an dist-upgrade from stable to etch and 
> ended up with the problem describted. I fixed the data structure from
> hand and started apt-get upgrade again ending with the same result. 

Any chance to reproduce the initial problem again? Once the data
structure is wrecked, there is little hope of automatically bringing
it into a good state again. So we have to find out what went wrong
initially.

> The upgrade still don't work but the data structure was untouched
> this time:

This is because nothing is done if the clusters 'main', 'transition',
and 'legacy' all exist already. If the upgrade failed three times in a
row, I do not have any hope that it works the fourth thime.

> Is there a way to find out why the post-installation script returned
> with an error ?
> Can I put some debug lines into /var/lib/dpkg/info/postgresql.postinst
> and run it by hand ? (what parameters ?)

You can add 'set -x' at the top of the file (below the very first
line). However, I'm afraid your current installation is FUBAR for the
transition package. If you need the data from the databases, I can
tell you how to fix it manually. If not, I'd suggest to just purge all
packages and reinstall from scratch.

Thanks, and sorry for the mess,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to