RPM contents for 9.2 community release.

Поиск
Список
Период
Сортировка
От Jeremy Whiting
Тема RPM contents for 9.2 community release.
Дата
Msg-id 5050A8E5.7080702@redhat.com
обсуждение исходный текст
Ответы Re: RPM contents for 9.2 community release.
Список pgsql-general
Hi,
 I tried installing using the Direct Download RPMs for two systems I am
using. The installation using the rpm files did not install in one case
and the other did not install all files to the target directory I was
expecting.

1) Upgrading postgresql on a 64 bit Fedora 16 desktop from 9.1.5 to 9.2
using the rpms provided in the download section. I tried installing with
yum the rpm files but getting an error message.

$ ls
postgresql92-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-devel-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-server-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-contrib-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-docs-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-test-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-debuginfo-9.2.0-1PGDG.f16.x86_64.rpm
postgresql92-libs-9.2.0-1PGDG.f16.x86_64.rpm
$ sudo yum install ./postgresql92-*
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, presto,
refresh-packagekit
Examining ./postgresql92-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-9.2.0-1PGDG.f16.x86_64
./postgresql92-9.2.0-1PGDG.f16.x86_64.rpm: does not update installed
package.
Examining ./postgresql92-contrib-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-contrib-9.2.0-1PGDG.f16.x86_64
./postgresql92-contrib-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-debuginfo-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-debuginfo-9.2.0-1PGDG.f16.x86_64
./postgresql92-debuginfo-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-devel-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-devel-9.2.0-1PGDG.f16.x86_64
./postgresql92-devel-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-docs-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-docs-9.2.0-1PGDG.f16.x86_64
./postgresql92-docs-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-libs-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-libs-9.2.0-1PGDG.f16.x86_64
./postgresql92-libs-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-server-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-server-9.2.0-1PGDG.f16.x86_64
./postgresql92-server-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Examining ./postgresql92-test-9.2.0-1PGDG.f16.x86_64.rpm:
postgresql92-test-9.2.0-1PGDG.f16.x86_64
./postgresql92-test-9.2.0-1PGDG.f16.x86_64.rpm: does not update
installed package.
Error: Nothing to do

http://yum.postgresql.org/9.2/fedora/fedora-16-x86_64/repoview/

 Did I down the correct rpms ?



2) The second install was to a 64 bit RHEL6 server. The RPM files
installed using yum successfully. Downloaded the files from

http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/repoview/

 However the files to provide postgresql tooling and server execution
were not installed into

/usr/bin

 I was trying to execute initdb. I did find it in an the
'postgresql92-9.2.0-1PGDG.rhel6.x86_64.rpm' file but the installation
target directory is

/usr/pgsql-9.2/bin

$ ls
postgresql92-9.2.0-1PGDG.rhel6.x86_64.rpm
postgresql92-docs-9.2.0-1PGDG.rhel6.x86_64.rpm
postgresql92-contrib-9.2.0-1PGDG.rhel6.x86_64.rpm
postgresql92-libs-9.2.0-1PGDG.rhel6.x86_64.rpm
postgresql92-devel-9.2.0-1PGDG.rhel6.x86_64.rpm
postgresql92-server-9.2.0-1PGDG.rhel6.x86_64.rpm
$ ls /usr/pgsql-9.2/bin
clusterdb   droplang  pg_archivecleanup  pg_ctl          pg_restore
postgres    vacuumlo
createdb    dropuser  pg_basebackup      pg_dump         pg_standby
postmaster
createlang  ecpg      pgbench            pg_dumpall      pg_test_fsync
psql
createuser  initdb    pg_config          pg_receivexlog  pg_test_timing
reindexdb
dropdb      oid2name  pg_controldata     pg_resetxlog    pg_upgrade
vacuumdb
[postgres@benchserver2 tmp]$

 That means users on the system cannot immediately execute these files.

 Was there a mistake in the packaging paths of these files in the RPM ?

Regards,
Jeremy


--
Jeremy Whiting



В списке pgsql-general по дате отправления:

Предыдущее
От: "Devrim GUNDUZ"
Дата:
Сообщение: Re: CentOS initd Script
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: CentOS initd Script