Re: Installing a package

"Christopher L. Barnard" <[email protected]> Mon, 30 Mar 2009 15:30:12 -0500
Newsgroups gmane.linux.redhat.rhn.user
Organization Rush University Medical Center
Message-ID <[email protected]>
nope.  From an up2date --showall I see that I needed to add "i386" to
the end of the rpm name...

[root@webdev] /root # up2date --showall | grep gcc
[...]
gcc-3.2.3-59.i386
[...]

However, I still cannot add it...

[root@webdev] /root # up2date --install gcc-3.2.3-59.i386

Fetching Obsoletes list for channel: rhel-i386-as-3...

Fetching rpm headers...
########################################

Name                                    Version        Rel     
----------------------------------------------------------


The following packages you requested were not found:
gcc-3.2.3-59.i386
[root@webdev] /root # 


On Mon, 2009-03-30 at 12:45 -0600, Stephen John Smoogen wrote:
> On Mon, Mar 30, 2009 at 12:40 PM, Christopher L. Barnard
> <[email protected]> wrote:
> > I think this is a trivial problem...
> >
> > On a server that has gcc installed (also a fairly elderly RH3 server)
> >
> > asitest:~$ rpm --query --file /usr/bin/cc
> > gcc-3.2.3-59
> >
> > But on this server where I need to install gcc,
> > [root@webdev] /root # up2date --install gcc-3.2.3-59
> >
> > Fetching Obsoletes list for channel: rhel-i386-as-3...
> >
> > Fetching rpm headers...
> > ########################################
> >
> > Name                                    Version        Rel
> > ----------------------------------------------------------
> >
> >
> > The following packages you requested were not found:
> > gcc-3.2.3-59
> >
> 
> up2date does not like version numbers.. and gives cryptic answers when
> it doesn't find stuff. First of all see if oyu have it in any channels
> 
> up2date --showall | grep gcc
> 
> if it doesn't show up.. look on RHN to see that you have the box
> registered with the appropriate RHEL-3/4 channels it needs.
> 
> 
>