[lug] rpmdb yum package dependency check problem

Kevin Fenzi kevin at scrye.com
Sun Feb 24 11:09:52 MST 2013


On Wed, 20 Feb 2013 10:36:10 -0700
"William D. Knoche" <bill.knoche at gmail.com> wrote:

> After a recent yum update/upgrade cycle (FC17) I a get errors:
> 
> Running Transaction Check
> ERROR with transaction check vs depsolve:
> ruby-irb = 1.8.7.371-1.fc16 is needed by (installed) 
> ruby-rdoc-1.8.7.371-1.fc16.noarch
> Please report this error in 
> https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
> ** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:

...snip...

> I submitted a bug to bugzilla as suggested.
> 
> Is there any way to resolve this? I cannot seem to downgrade,
> upgrade, etc. I can update/upgrade individual packages as long as
> they aren't in that dependency tree.
>
> Any fix short of re-install?

Not sure. You say this is a Fedora 17 install? All the packages
mentioned there are 16 and 15 and the report is talking about rawhide
(currently tracking f19). So, you might have a kind of muddled up
system. 

What does 'rpm -q fedora-release' return? and 'yum repolist' ?

Anyhow, This problem happens usually when someone is doing an update
and the system is shut off or the like in the middle of the update
transaction. 

Things to try: 

yum-complete-transaction

This will look for incomplete transactions and try and re-run them. 

package-cleanup --cleandupes

This will remove the lower version numbered of duplicate packages. When
yum is updating it installs the new version, then at the end removes
the old one. In cases where a transaction never completed, you often
still have the old ones installed. This removes them. 

Finally, if those don't help you can manually try and fix the issues.
ie, 'yum install libgcj.so.12()(64bit)' or 'yum remove
cairo-java-1.0.8-4.fc15.x86_64'

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20130224/8089efb9/attachment.pgp>


More information about the LUG mailing list