SCIENTIFIC-LINUX-USERS Archives

November 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andreas Petzold <[log in to unmask]>
Reply To:
Andreas Petzold <[log in to unmask]>
Date:
Wed, 9 Nov 2011 18:56:21 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (72 lines)
	Hi,

> yum has some
> issues therein.

I'd rather say, that yum points out a few issues it finds. Yum itself is 
working fine.

> 
> Here is the output using your method:

ok, so lets dissect the output and try to understand the errors.

> --> Finished Dependency Resolution
> Error: Protected multilib versions: freetype-2.3.11-6.el6_0.2.i686 !=
> freetype-2.3.11-6.el6_1.6.x86_64
> Error: Protected multilib versions: krb5-libs-1.9-9.el6.i686 !=
> krb5-libs-1.9-9.el6_1.1.x86_64

You've gotten very far! All dependencies of your bakoma rpm can be satisfied 
with rpms from enabled yum repos. But: yum complains that the i686 version of 
the package is not the same version as the x86_64 package. Why that is the 
case I don't know. There are a number of possible reasons (different 
repositories, broken mirrors, packaging errors, ....). I guess that's a 
question to Connie and Pat. I'm not sure that there is an explicit rule that 
32bit and 64bit rpms have to be the same version in a multilib repo, but 
that's usually what a user and yum expects.

You can disable this check in yum by using the option 
--setopt=protected_multilib=false or by adding "protected_multilib=false" to 
yum.conf. I don't recommend doing this, as you do seem to be a novice user of 
yum and rpm.

> From what I am reading above,
> yum seems not be able to handle polymorphic overloading:  e.g., Error:
> Protected multilib versions: freetype-2.3.11-6.el6_0.2.i686 !=
> freetype-2.3.11-6.el6_1.6.x86_64 .  Clearly an IA-32 version and a
> X86-64 version are not (should not) be duplicates, as each should be in
> a different scope.

Not true. Of course you can install iY86 and x86_64 packages at the same time. 
That's what multilib is all about.

> ** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
> jre-1.6.0_26-fcs.i586 is a duplicate with jre-1.6.0_22-fcs.x86_64
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of libSDL-1.2.so.0
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of
> libSDL_mixer-1.2.so.0
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of
> libSDL_ttf-2.0.so.0
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of libpng12.so.0
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of
> libpng12.so.0(PNG12_0)
> nethack-vultures-2.1.0-15.fc10.i386 has missing requires of libz.so.1

That's yum showing you the results of using rpm --nodeps. 

> 
> Note that I reran the yum command with the suggested fix and the install
> still failed:
> 
> [root Downloads]# yum --skip-broken install
> ./bakoma-tex-9.7.5-111102.i386.rpm

--skip-broken skips the install or update of packages with problems in the 
dependency resolution (in this case the protected_multilib check). The result 
is that yum doesn't install your package.

	Cheers,

		Andreas

ATOM RSS1 RSS2