[BlueOnyx:08553] Re: yum update problem
Michael Stauber
mstauber at blueonyx.it
Thu Sep 22 12:42:58 -05 2011
Hi Ken,
> Now when I try to update I get:
>
> Finished Dependency Resolution
> 98:solarspeed-clamav-0.97.1-SOL1.i386 from installed has depsolving
> problems --> Missing Dependency: solarspeed-clamav-server = 98:0.97.1-SOL1
> is needed by package 98:solarspeed-clamav-0.97.1-SOL1.i386 (installed)
> dbus-libs-1.1.2-15.el5_6.i386 from installed has depsolving problems -->
> Missing Dependency: dbus = 1.1.2-15.el5_6 is needed by package
> dbus-libs-1.1.2-15.el5_6.i386 (installed)
> 98:solarspeed-clamav-0.97-SOL1.i386 from installed has depsolving problems
> --> Missing Dependency: solarspeed-clamav-server = 98:0.97-SOL1 is
> needed by package 98:solarspeed-clamav-0.97-SOL1.i386 (installed)
> Error: Missing Dependency: solarspeed-clamav-server = 98:0.97.1-SOL1 is
> needed by package 98:solarspeed-clamav-0.97.1-SOL1.i386 (installed)
> Error: Missing Dependency: solarspeed-clamav-server = 98:0.97-SOL1 is
> needed by package 98:solarspeed-clamav-0.97-SOL1.i386 (installed)
> Error: Missing Dependency: dbus = 1.1.2-15.el5_6 is needed by package
> dbus-libs-1.1.2-15.el5_6.i386 (installed)
>
> I've tried the yum clean all, and then yum udpate again, but that did not
> do it.
It's probably a RPM database corruption and certain RPMs are listed twice in
the RPM database - with different version numbers.
Do this:
rpm -q solarspeed-clamav
rpm -q solarspeed-clamav-server
rpm -q dbus
rpm -q dbus-libs
Each command should return just one RPM. Not two (or more) with different
version numbers.
If it shows multiple instances of the same RPM, remove the *newer* one this
way:
rpm -e --nodeps --justdb NAME-AND-VERSION-OF-THE-RPM
Do this until no more duplicates are reported.
The switch "--nodeps" makes sure that dependencies are ignored and the switch
"--justdb" just removes the software from the RPM database. Without actually
uninstalling any files.
Once the duplicates are gone, you can simply run "yum update" again and it
should sort itself out.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list