0

I want to install a bunch of packages, both 32bit and 64bit. When I'm executing

I'm getting something like

$ rpm -ihv pkg.i386 pkg.x86_64
warning: package pkg.i386 was already added, skipping pkg.x86_64

The problem is, that there are not just 2 packages, rather a few hundred (kind of an OS upgrade) including glibc for example. Also, some packages depend on both architecture versions. In the end, it fails because of unmet dependencies (because of its skipping packages)

How does rpm decide whether or not to install both versions?

Can I tell or force rpm to install both?

Note: This is a minimal System with no yum on it.

1

Add the following entry in /etc/yum.conf file

multilib_policy=all
  • Unfortunately, This is a minimal System with no yum on it. (I will edit the question to clarify that) – hypnomaki May 23 '18 at 7:43
0

Unfortunately, there is no easy workaround for this. Neither via rpm nor via yum. I had to specifically change the spec files of the rpm's to fulfill the requirements (depend on certain libs)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.