On Mon, 2003-02-17 at 19:46, Anders Johansson wrote:
On Tue, 2003-02-18 at 02:31, Jeric wrote:
$> more listB | egrep oaf-devel RESULTS: <blank> This means that nothing else depends on oaf-devel.
No it doesn't. It just means that no rpm builder has listed oaf-devel as a dependency. This is a manually added thing, and *not* guaranteed to be correct
Well, then you could list all files that oaf-devel contains and run a search for them too, to be more thorough.
$> more listB | egrep popt | grep -v so RESULTS: popt; popt; popt = 1.6; popt So, three other programs require popt. I used the "grep -v so" due to alot of "libpopt.so.0" files in the list.
All those "libpopt.so.0" entries are also packages which depend on popt. They just don't have "popt" listed as a manually entered dependency.
That's what I thought, unfortunately I picked a poor example, and I needed some way to truncate the list to simplify the example. But writing a script for this is definitely doable. I just rambled some ideas out that I thought of off the top of my head, and was in no way meant as an effective solution. Hoping someone might pick up on it and incorporate it in later releases...hint, hint SuSE ;)
Also, you can't grep for "so". Maybe "\.so". Maybe.
Yes, '.so.' would be better, but ideally the .so. files would be used in a more thorough investigation during the script's execution rather then discarded at all...but, like I said above...it was just a quick place to start. -- JericAtSbcglobalDotNetwork 8:04pm up 1 day, 2:01, 6 users, load average: 0.06, 0.03, 0.03 "The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated..." -U.S. Constitution, Amendment IV, 1791 (Say "NO" to TIA!)