From: | Keary Suska <hierophant(at)pcisys(dot)net> |
---|---|
To: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Upgrade |
Date: | 2001-10-22 22:24:19 |
Message-ID: | B7F9F8B3.5106%hierophant@pcisys.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
--force doesn't work with upgrades. use --nodeps.
Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
> From: "Mihai Gheorghiu" <tanethq(at)earthlink(dot)net>
> Date: Mon, 22 Oct 2001 10:54:19 -0400
> To: <pgsql-general(at)postgresql(dot)org>
> Subject: Re: [GENERAL] Upgrade
>
> Thank you very much.
> I copied all rpms in /root/pg and proceeded as root.
>
> [root(at)localhost pg]# rpm -U --force postgresql*
> error: failed dependencies:
> mx is needed by postgresql-python-7.1.3-1PGDG
>
> I don't need python, so I remove it:
>
> [root(at)localhost pg]# rm postgresql-python-7.1.3-1PGDG.i386.rpm
> rm: remove `postgresql-python-7.1.3-1PGDG.i386.rpm'? y
> [root(at)localhost pg]# rpm -U --force postgresql*
> error: failed dependencies:
> postgresql = 7.0.3 is needed by postgresql-python-7.0.3-8
>
> Same without --force.
>
> What would you suggest :-) Thanks in advance.
>
>
> -----Original Message-----
> From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
> To: Mihai Gheorghiu <tanethq(at)earthlink(dot)net>; pgsql-general(at)postgresql(dot)org
> <pgsql-general(at)postgresql(dot)org>
> Date: Friday, October 19, 2001 7:34 PM
> Subject: Re: [GENERAL] Upgrade
>
>
>> On Friday 19 October 2001 02:56 pm, Mihai Gheorghiu wrote:
>>> A new system came in with RH7.1 and PG7.0.3 installed (no data).
>>> I want to upgrade to PG7.1.3 After reading README.rpm-dist, it is my
>>> understanding that rpm -U postgresql713 followed by the db initialization
>>> is enough.
>>
>> If /etc/rc.d/init.d/postgresql has never been run, you are correct.
>>
>> Simply chkconfig --level xyz postgresql on (where xyz is the set of levels
> in
>> which postmaster should) will make it automatically start on the next boot.
>> If you just want it in the current level, you may omit the --level and the
>> xyz.
>>
>> The first time /etc/rc.d/init.d/postgresql start is run, an initdb will be
>> performed for you automagically.
>> --
>> Lamar Owen
>> WGCR Internet Radio
>> 1 Peter 4:11
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 4: Don't 'kill -9' the postmaster
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-10-22 22:40:11 | Re: Corrupted end of Record |
Previous Message | Rich Shepard | 2001-10-22 22:13:02 | Re: Upgrade |