how to solve packages dependency with one yum command?

Latest response

i am wondering if there any expert who can give us one solution that can solve any kind of packages dependency
especially if the dependency between i680 and x86_64 packages?
i need one command to do so
thank you

Responses

Hi Tayeb,

Unfortunately your question is a little bit broad, but what we can say is that when you install a package, yum solves the dependencies all by itself and installs everything that is needed automatically. In case that you receive an error message, it's most likely that you've tried to add something to your system which is not matching - the architecture for example ... e.g. you tried to install a 32-bit application on your 64-bit operating system that needs dependent 32-bit packages (or special versions of those packages) which are not available in the repositories.

Cheers :)
Christian

Yes, as Christian mentioned question needs to be elaborated so that members can understand and help you. However, if you are asking about installing both 32/64bit packages then you would need to tune "multilib_policy=all" parameter in /etc/yum.conf file so, that it would pull out i686 packages (with proper repos being enabled) as well when installing..

As per the man page of yum.conf file

         multilib_policy Can be set to 'all' or 'best'. All means install all possible arches for any package you
              want  to  install.  Therefore  yum  install foo will install foo.i386 and foo.x86_64 on x86_64, if it is
              available. Best means install the best arch for this platform, only.

Is this what you wanted to be achieved?

thank you all

You're welcome Tayeb ! :)

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.