[ILUG] rpm

Conor Wynne conor at discuskeeping.com
Fri Sep 1 16:33:53 IST 2006


On 01/09/2006 14:44, "O'Flanagan Justine"
<Justine.O'Flanagan at ie.fujitsu.com> wrote:
> 
> Hello all
> 
> I'm an Oracle DBA trying to administer an ancient Linux box and get it up to
> speed to cope with some of the newer Oracle software.  I'm not very au fait
> with Linux and would appreciate your advice.
> 
> The Oracle installer has advised me that a number of rpm packages on my
> Linux system (kernel 2.4.9-e3.smp which I think is 7.2 AS running on Intel
> i686 architecture) need to be updated.  So I faithfully go out to
> rpmfind.net and get some of the required packages.
> 
> I have been trying to run rpm -i, rpm -U, rpm --freshen followed by package
> name, but when I query back the package version number, it simply remains
> unchanged. Worse, I de-installed one package, then tried a new install of
> it, and now it shows "not installed" (please see example below).
> 
> What should I be doing to get these things upgraded?

Its a rhel box, so just run
up2date -u ; up2date -f kernel-smp

That gold release kernel is really bad. All sorts of bugs long fixed.

You need to check on metalink.oracle.com for the
minimum/maximum supported kernel.
If memory serves, its 2.4.9-e.62smp.
 
> Thanks a million
> Justine
> 
> Eg:
> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n'
> pdksh 
> pdksh-5.2.14-13 (i386)
> [root at rhubarb tmp]# rpm -ev pdksh
> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n'
> pdksh 
> package pdksh is not installed
> [root at rhubarb tmp]# ls -alrt pdksh*.rpm
> -rw-r--r--    1 root     root       494256 Aug 31 10:47
> pdksh-5.2.14-30.3.src.rp
> m
> [root at rhubarb tmp]# rpm -ivh pdksh-5.2.14-30.3.src.rpm
>    1:pdksh                  ###########################################
> [100%]
> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n'
> pdksh 
> package pdksh is not installed

No worries
Conor.





More information about the ILUG mailing list