Re: depcheck
Basem Narmok <[email protected]> Tue, 15 Feb 2005 16:12:59 +0200
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <[email protected]> |
Paul Nasrat wrote: >On Mon, 2005-02-14 at 19:42 +0200, Basem Narmok wrote: > > >>Hi all, >> >>I need to check dependences recursevly - without using Yum! - just a >>small script that takes some rpm packages and returns a list of all >>needed packages. >> >> > >You can use yum as a library too ;) > >What are you using as the data to work out dependencies - an rpmdb, a >repo of some sort? > > rpmdb My script should take a package name (e.g. postgresql) and returns all needed packages (by *all* here i mean all packages needed to make a custom RedHat build to run e.g. a postgresql database server or something like this - I am not dealing with RedHat groups here ;) just the minimal needed packages to run some application/service), what do you think about this, do you have any suggestions? > > >>I think depcheck attribute isn't supported any more? >>I use FC3 updated, where can I find some examples about rpm python binding. >> >> > >Start here: > >http://people.redhat.com/pnasrat/rpm-python/rpm-python- >slides/frames.html > >Paul > > very nice presentation, but it I hope you add some examples about checking dependences in the future. Thank you Basem Narmok