Yum problem -

Michael Schwendt mschwendt at gmail.com
Sat Feb 8 17:30:13 UTC 2014


On Sat, 08 Feb 2014 10:41:13 -0500, Bob Goodwin - Zuni, Virginia, USA wrote:

> >    # yum install 'libunique-1.0.so.0()(64bit)'
> >    …
> >
> >> > Is my
> >> > command wrong, that's what the rpm shows as a missing dependency so I
> >> > just try to yum install that?
> > Yes, it's wrong.;-)
> >
> This appears to be an exceptional case,

It has always been like that.

> I've done this many times and 
> yum has always provided the 64 bit file or at least a file that works.

You likely confuse library package names with library file names
and with library names. You've asked Yum for a library name:

  [root at box10 bobg]# yum install libunique-1.0.so.0

No x86_64 package will provide that in its RPM package metadata. And while
the actual file name may end like that, in packages only the full path to
a file matters, e.g. "yum install /usr/lib64/libunique-1.0.so.0" which will
find the package based on the huge filelists metadata available in repositories.
When you're unsure about the path, you may use wildcards (see further below).

And it is different from asking Yum for a library package name,

  yum install libsomething

which would succeed, if such a package "libsomething" existed. For
libunique, the package is named "unique" however. ;)

> Is there some way to know this before simply doing yum install and 
> seeing the result? 

Since it has always been like that, you either get accustomed to it,
or you use wildcards and then specify the _package_ to install, e.g.
"yum install unique" based on the results of this query. For the primary
arch it is not necessary to run "yum install unique.x86_64".

    # yum whatprovides libunique-1.0.so.0*
    Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
    unique-1.1.6-10.fc20.i686 : Single instance support for applications
    Repo        : fedora
    Matched from:
    Provides    : libunique-1.0.so.0



(!) unique-1.1.6-10.fc20.x86_64 : Single instance support for applications
    Repo        : fedora
    Matched from:
    Provides    : libunique-1.0.so.0()(64bit)




More information about the users mailing list