[Yum-devel] Depsolving localinstall packages is not working right

seth vidal skvidal at linux.duke.edu
Mon Mar 5 04:44:32 UTC 2007


On Sun, 2007-03-04 at 12:30 +0100, Tim Lauridsen wrote:
> I was trying to install the Mondo system backup util  and downloaded the 
> needed rpms at ftp://ftp.mondorescue.org/fedora/6.
> I was trying to install then packages using 'yum localinstall *.rpm' and 
> got some dependency errors.
> It look like that the depsolver dont uses the local packages when it is 
> looking for dependencies.
> I have no problem installing the packages using 'rpm -ivh *.rpm'
> 

I think I just checked in the correct fix to that one. localinstall
packages aren't in any of the packagesacks, they're just standalone
packageobjects which have a fakerepo associated with them. So we need to
explicitly look at them to be sure. I implemented it by having it look
through the transaction set for all packages being installed and see if
they provides what it wanted. It all resolved correctly after that,
though that might not be the most time-efficient search.

-sv





More information about the Yum-devel mailing list