Re: Did i just made the fastest dependency checker in the world? (198 packages in 1.5 seconds)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 10, 2007 at 12:13:31AM +0200, Mark wrote:
> > What Seth is getting at is that this is harder than you think. Once you
> >start doing it in the complete way (which is required for correct
> >answers), you'll loose speed.
> is there anything more to check besides the requires and provides with the
> versions?

All sorts of stuff. Check the yum source code. For starters the other things
mentioned already:, epochs, and the fact that all packages are considered to
be providing all files they contain, even with dependencies. But consider
this too: RPM's notion of version comparison is a bit unintuitive when it
comes to mixing letters and numbers -- is 1.2b3 greater or less than 1.20?
What about 1.2.0? And for that matter, is 1.9 higher than 1.10?


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux