note
pvaldes
<p>hum, can't see the point on cloning the red hat package manager</p>
<p>I'll suggest simply to use system("rpm ...") for this</p>
<p>And please, note that this is not a "first occurrence's problem", it is a "categorizing packages" problem. You want to print the parent (upper node of the tree) package, not the first package that match the regex</p>
1029372
1029372