Re: Basic yum question- latest version isn't latest version.



On Jul 11, 9:59 pm, dterr...@xxxxxxxxxxx wrote:
On Jul 11, 4:15 pm, tblanchard...@xxxxxxxxx wrote:





On Jul 11, 3:54 pm, dterr...@xxxxxxxxxxx wrote:

If I want to install the latest stable version of something, yum
doesn't always have it. For example, right now yum has postgres 8.1.9
but the latest stable on postgres.org is 8.2.4.

If I install 8.2.4 from postgres.org that will mess up yum right? Or
be outside of yum...

This is my basic problem with these intsaller things, yum, apt,
whatever...

try reading: man yum
Look at the localupdate option to install a local rpm file, that way
yum database gets updated.
You could run: rpm -Uvh postgreswhatever.rpm then yum update

Thanks. But I get:

# yum localupdate ./postgresql-8.2.4-1PGDG.i686.rpm ./postgresql-
server-8.2.4-1PGDG.i686.rpm . /postgresql-libs-8.2.4-1PGDG.i686.rpm

Loading "installonlyn" plugin
Setting up Local Package Process
Examining ./postgresql-8.2.4-1PGDG.i686.rpm: postgresql -
8.2.4-1PGDG.i686
Examining ./postgresql-server-8.2.4-1PGDG.i686.rpm: postgresql-server
- 8.2.4-1PGDG.i686
Examining ./postgresql-libs-8.2.4-1PGDG.i686.rpm: postgresql-libs -
8.2.4-1PGDG.i686
Marking ./postgresql-8.2.4-1PGDG.i686.rpm as an update to postgresql -
8.1.9-1.el5.i386
Marking ./postgresql-server-8.2.4-1PGDG.i686.rpm as an update to
postgresql-server - 8.1.9-1.el5.i386
Marking ./postgresql-libs-8.2.4-1PGDG.i686.rpm as an update to
postgresql-libs - 8.1.4-1.1.i386
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql-libs.i686 0:8.2.4-1PGDG set to be updated
---> Package postgresql.i686 0:8.2.4-1PGDG set to be updated
---> Package postgresql-server.i686 0:8.2.4-1PGDG set to be updated
--> Running transaction check
Setting up repositories
Reading repository metadata in from local files
--> Processing Dependency: libpq.so.4 for package: apr-util
--> Processing Dependency: libpq.so.4 for package: dovecot
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql-libs.i386 0:8.1.9-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libpq.so.4 for package: apr-util
--> Processing Dependency: libpq.so.4 for package: dovecot
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql-libs.i386 0:8.1.9-1.el5 set to be updated
--> Running transaction check
Error: Unable to satisfy dependencies
Error: Package apr-util needs libpq.so.4, this is not available.
Error: Package dovecot needs libpq.so.4, this is not available.
[root@lanny arrived]#

Is this going to turn into a neverending downward spiral of
dependencies?

I hate shared libs.- Hide quoted text -

- Show quoted text -

Yes it will be one of those. You can try and google a different
repository that carries the latest version online and then add that to
your yum configuration, that's the best way around this situation. It
looks like you only need one library, try googling that library and
adding it to your system. What linux are you running? I've got that
library on fc6 in /usr/lib.

.



Relevant Pages