On Friday 01 September 2006 16:50, O'Flanagan Justine wrote:
> Thanks Conor. Unfortunately the box I'm using doesn't have a direct
> connection to the internet, so I'm downloading the rpms individually onto a
> PC and working from there. Antiquated I know!
>
Can you get it to go through a proxy?
If so you can usually configure the proxy via the http_proxy env var.
> Justine
>> -----Original Message-----
> From: Conor Wynne [mailto:conor at discuskeeping.com]
> Sent: 01 September 2006 16:46
> To: Conor Wynne; O'Flanagan Justine; ilug at linux.ie> Subject: Re: [ILUG] rpm
>> I'm slow today :
>> You should use up2date -f packagename (without the revision numbers or
> .rpm) To get those you mentioned below.
>> Conor
>> On 01/09/2006 16:33, "Conor Wynne" <conor at discuskeeping.com> wrote:
> > 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.
--
John Allen, mailto:john.allen at moyville.net
MandrakeClub Silver Member. http://www.moyville.net
Site of the day: http://www.fr-ray.org/
Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-12mdk
22:18:32 up 12:57, 3 users, load average: 0.20, 0.15, 0.17
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!