Linux Support FAQ entry 14 Sep 2006, logged in as JanIven
LinuxSupportFAQForm
SupportProblem Occasionally the nightly YUM update goes wrong, and complains about missing dependencies. While these often point out real errors in that particular machine's configuration (i.e. add-on software installed that does not coexist with the planned updates), they are sometimes due to bad updates.
SupportAnswer Example for rpm-build: These errors could look like Error:Missing Dependency: rpm = 4.3.3-13_nonptl is needed by package rpm-build

with one or more versions of rpm-build being installed. To clean up, you could temporary remove the offending packages (the ones that have the unmet dependency), and try to reinstall them later (if required).

rpm -qa rpm-build would give a list (or rpm -qa| grep rpm-build), then use rpm --erase rpm-build-4.3.3-13_nonptl to remove the package (give the full version in case there were several matches). Please do not use --nodeps when removing, as this is bound to leave the system RPM database in an inconsistent state.

You can then re-run the update via yum update and see whether the recently-removed RPM gets added again (hopefully for a new/fixed version), or run yum install rpm-build manually later (in case you require this package, but the system would be consistent even without). Or you leave it simply off - one RPM less to update.

The YUM FAQ has some more information on this.

OsVersion SLC4
HardwareArchitecture any
ApprovedBySupport SupportApproved
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2006-09-14 - JanIven
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LinuxSupport All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback