Re: Yum in RHEL5

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1205387763.8040.130.camel@cutter>
On Thu, 2008-03-13 at 11:22 +0530, Binand Sethumadhavan wrote:
> On 13/03/2008, seth vidal <[email protected]> wrote:
> >  >
> >  > That's all. What am I doing wrong or missing? Any pointers will be appreciated.
> >  >
> >
> >  2. what arch is the machine where you're running yum? run these two
> >  commands for me:
> >     a. uname -m
> >     b. cat /etc/rpm/platform
> 
> That served as a pointer to the root cause. The machine (as you saw, I
> am running the repository as well as the client on the same machine
> during testing) has these details:
> 
> [root@meibok ~]# uname -m
> x86_64
> [root@meibok ~]# cat /etc/rpm/platform
> i686-redhat-linux
> 
> I changed /etc/rpm/platform to read x86_64-redhat-linux and now it
> works. Thanks!
> 
> Since /etc/rpm/platform doesn't belong to any package, now I guess I
> need to trace what creates it and see why it got a wrong entry.
> 

How did you end up with that /etc/rpm/platform file?

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.