[CentOS] problem with "yum install libXmu.so.6"

Jim Perrin jperrin at gmail.com
Wed Apr 26 00:45:43 UTC 2006


> > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> Quick question before getting into the real stuff. I put the file into
> /root. But do not understand what you meant to also put this file in
> 'user'.

You don't run as root all the time do you? You should have a user
account that you use for most things, and if you want the same
formatting options when querying rpm, you need to add this for your
every-day user account also.



> The output shows that I have it installed?
>
> First it shows:
> -------------------------------------
> xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> Matched from:
> libXmu.so.6
> -----------------------------------

If you had it installed already you'd see
xorg-x11-libs.i386                       6.8.2-1.EL.13.25       installed

instead, you see base, which tells you which repository the package is in.

> --------------------------------------
> xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       base
> Matched from:
> /usr/X11R6/lib64/libXmu.so.6.2
> /usr/X11R6/lib64/libXmu.so.6
> libXmu.so.6()(64bit)
>
> xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> Matched from:
> /usr/X11R6/lib/libXmu.so.6
> /usr/X11R6/lib/libXmu.so.6.2
> libXmu.so.6
>
> xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       base
> Matched from:
> /usr/X11R6/lib64/libXmu.so.6.2
> /usr/X11R6/lib64/libXmu.so.6
> libXmu.so.6()(64bit)
>
> xorg-x11-libs.i386                       6.8.2-1.EL.13.25       base
> Matched from:
> /usr/X11R6/lib/libXmu.so.6
> /usr/X11R6/lib/libXmu.so.6.2
> libXmu.so.6
>
> xorg-x11-libs.x86_64                     6.8.2-1.EL.13.25       installed
> Matched from:
> /usr/X11R6/lib64/libXmu.so.6
> /usr/X11R6/lib64/libXmu.so.6.2
> libXmu.so.6()(64bit)
> #
> --------------------------------------
> Please help clarify.

It lists the same packages a couple times, because there are multiple
files in those packages that match the query you gave it.

You need to figure out if you need the i386 version or the x86_64
version. Once you know this, then install it with yum install
packagename.i386 or packagename.x86_64

Clear? ( probably not entirely... welcome to the x86 vs x86_64 version of hell.)

--
This message has been double ROT13 encoded for security. Anyone other
than the intended recipient attempting to decode this message will be
in violation of the DMCA



More information about the CentOS mailing list