Thread: Error during update from version 6.5.3 to version 7.03

Error during update from version 6.5.3 to version 7.03

From
José Luiz
Date:
I made a download of postgresql packages .rpm for suse64.

I stoped postgresql and started to install the packages.

The first package I tried to install was   postgres-7.0.3-1suse64-i386.rpm

I received 1 error:
failed dependencies
pg_lib = 7.0.3 is needed by postgres-7.0.3-1suse64
libpq.so.2.1    is needed by postgres-7.0.3-1suse64

So, I tried to install package    pg_lib-7.0.3-1suse64.i386.rpm
I received 7 erros:
file /usr/lib/libecpg.so from install of pg_lib-7.0.3-1suse64 conflicts with
file from package pg_ifa-6.5.3-46
file /usr/lib/libecpg.so.3 from install of pg_lib-7.0.3-1suse64 conflicts
with file from package pg_ifa-6.5.3-46
file /usr/lib/libpg++.so from install of pg_lib-7.0.3-1suse64 conflicts with
file from package pg_ifa-6.5.3-46
file /usr/lib/libpg++.so.3 from install of pg_lib-7.0.3-1suse64 conflicts
with file from package pg_ifa-6.5.3-46
file /usr/lib/libpg.so from install of pg_lib-7.0.3-1suse64 conflicts with
file from package pg_ifa-6.5.3-46
file /usr/lib/libpg.so.2 from install of pg_lib-7.0.3-1suse64 conflicts with
file from package pg_ifa-6.5.3-46
file /usr/lib/libpg.so.2.0 from install of pg_lib-7.0.3-1suse64 conflicts
with file from package pg_ifa-6.5.3-46


What is the right order to install these packages ?

José Luiz Pedroza
jlp@macknight.com.br


Re: Error during update from version 6.5.3 to version 7.03

From
"ADBAAMD"
Date:
José Luiz wrote:

>
> So, I tried to install package    pg_lib-7.0.3-1suse64.i386.rpm
> I received 7 erros:
> file /usr/lib/libecpg.so from install of pg_lib-7.0.3-1suse64 conflicts with
> file from package pg_ifa-6.5.3-46

    You probably should first unistall pg_ifa... or switch altogether to
Debian, which takes care of all this!

    It looks like Conectiva would also do, once they release their own
version of Apt.  Not quite there yet, I suspect.

    But perhaps this would be a question for a SuSe mailing list?  Even for a
Conectiva list - they also use RPM and speak Portuguese in addition to that.



--
  _
/ \   Leandro Guimarães Faria Corsetti Dutra         +55 (11) 3040 8913
\ /   Amdocs at Bell Canada                          +1 (514) 786 87 47
  X    Support Center, São Paulo, Brazil          mailto:adbaamd@bell.ca
/ \   http://terravista.pt./Enseada/1989/    mailto:leandrod@amdocs.com



ADBAAMD schrieb:
> Jos� Luiz wrote:
>
> >
> > So, I tried to install package    pg_lib-7.0.3-1suse64.i386.rpm
> > I received 7 erros:
> > file /usr/lib/libecpg.so from install of pg_lib-7.0.3-1suse64 conflicts with
> > file from package pg_ifa-6.5.3-46
>
>     You probably should first unistall pg_ifa... or switch altogether to
> Debian, which takes care of all this!

Hi,

[ a bit OT, but maybe it can prevent others from doing the same mistake: ]

sometimes (only sometimes) some things on debian go wrong, too.

i updated a few systems from 6.5.x to 7.0.3 and after the third time, i
thought everything goes fine automatically (dpkg is warning and says not to
do that way... it's not the default, of course).

so i tried to switch back to 6.5.x and forward again -- that was the real
mistake: i overwrote /var/lib/postgres/data.old/ twice that way.

so, if you forgot to make a pg_dump manually and something goes wrong, take
a look at data.old.

bye,
knut