[Yum-devel] Cleanup missing requires depsolving error output

James Antill james at and.org
Wed Jan 13 16:32:45 UTC 2010


 The first patch is a simple message change, and combining the code for
3 callers. The second is a bit "bigger" I output package information, so
that it should be much easier for the user to see why the error is
happening. Note that this patch doesn't touch conflicts, and I've only
tested one of the callers atm.

 Example output before these two patches:

--> Finished Dependency Resolution
1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 from updates-testing has depsolving problems
  --> Missing Dependency: ppp = 2.4.4 is needed by package 1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 (updates-testing)
1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 from updates-testing has depsolving problems
  --> Missing Dependency: ppp = 2.4.4 is needed by package 1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 (updates-testing)
Error: Missing Dependency: ppp = 2.4.4 is needed by package 1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 (updates-testing)

 Example output after these two patches:

--> Finished Dependency Resolution
Error: Package: 1:NetworkManager-0.7.998-1.git20100106.fc12.x86_64 (updates-testing)
           Requires: ppp = 2.4.4
           Removing: ppp-2.4.4-13.fc12.x86_64 (@fedora)
           Installing: ppp-2.4.5-2.fc12.x86_64 (updates-testing)



More information about the Yum-devel mailing list