[Pkg-postgresql-private] Re: Bug#241873: Got it! [was: postgresql update kills the database]

Goswin von Brederlow brederlo@informatik.uni-tuebingen.de
11 Apr 2004 16:54:30 +0200


Martin Pitt <martin@piware.de> writes:

> Hi Goswin, hi Oliver!
> 
> On 2004-04-03 17:31 +0200, Goswin Brederlow wrote:
> > Package: postgresql
> > Version: 7.4.2-3
> > [...]
> > Versions of packages postgresql depends on:
> > [...]
> > ii  postgresql-cl 7.3.3-1                    Front-end programs for PostgreSQL
> 
> I just spotted this: postgresql-client is still an old version because
> postgresql does only depend on postgresql-client >= 7.3
> 
> I installed 7.3.4-9, imported your db dump and then did 'apt-get
> install postgresql' (I suppose you did sth similar). This did not
> upgrade p-client and indeed I got the same error as you.
> 
> In the second attempt (again from a clean 7.4.3-9 installation) I
> upgraded both postgresql and p-client and it worked like charm :-)
> 
> So:
> 
> - Goswin: Sorry for the mess and thanks for your help.
> 
> - Oliver: I propose to make postgresql depend on 
>   postgresql-client (= ${Source-Version}). This might be stricter than
>   actually necessary but should prevent such failures.
> 
> Thanks and happy Easter holidays!
> 
> Martin

It should still catch the dump failure in case in future versions
somethng goes wrong again.

MfG
        Goswin