check dependency`s :)<br>ultimately.. a new yum version which just takes a second or 2 to check the dependency`s.<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Perhaps you're not getting it.  RPM does not compare things such as "5.00504"<br>vs "5.6", rather it breaks each part separated by a period into an individual<br>item and compares those items.  In effect, it compares 5 to 5, then 00504 to
<br>6.  Given that 00504 (which is really 504) is a larger number than 6 (or<br>00006 if you rather), the 5.00504 package is rpm newer than the 5.6 package.</blockquote><div><br>first off.. sorry for not understanding the rpm part.. i understand it now.
<br>rpm clearly breaks all logic in version numbering. (atleast my point of view for the version logic)<br><br>a question: what i still don`t get is where rpm is gonna step is..  aren`t i just checking the dependency`s with php + mysql (c++ + mysql when it`s all finished) and just use rpm to install / remove stuff?
<br>that was what i had in mind.<br><br>if that isn`t possible than perhaps a patch should be written for rpm so that it doesn`t check for versions anymore.. it just installs nomather what you put in (version wise) and let my dep checker do all the version stuff.
<br><br>also i didn`t have the idea to let rpm be the package manager.. just to install rpm`s, remove rpm`s and get info about rpm`s. my repo checker will do all the math work.<br><br>to put it simple.. rpm has to do this:
<br>- install rpms<br>- remove rpms<br>- don`t ask questions and just DO what i tell it to do<br>- maintain the rpmdb<br>- get info about a rpm (if needed)<br><br>The dep checker needs to do:<br>- read the rpmdb to see what rpm`s are installed
<br>- generate a list of new rpm`s that have to be installed (lets say for when you want to install kdebase)<br>- send the install commands to rpm (which in turn adds the info to the database and installs the rpm)<br><br>
done?<br>this should be about it right?<br></div><br><br><br><div><span class="gmail_quote">2007/4/10, Matthew Miller <<a href="mailto:mattdm@mattdm.org">mattdm@mattdm.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Apr 10, 2007 at 10:01:53PM +0200, Mark wrote:<br>> the result on my php (5.2.1) is: "see, 5.00504 is smaller than 5.6 like i<br>> said" and "see, they 1.1 is not equal to 1.01"<br>> those are the facts that are gonna be used in the dep checker. though i will
<br><br>Let me step back a bit. What are you trying to accomplish with this dep<br>checker?<br><br><br><br>--<br>Matthew Miller           <a href="mailto:mattdm@mattdm.org">mattdm@mattdm.org</a>          <<a href="http://mattdm.org/">
http://mattdm.org/</a>><br>Boston University Linux      ------>              <<a href="http://linux.bu.edu/">http://linux.bu.edu/</a>><br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">
fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>