Re: How can I get full list of dependencies?
Adrian Stel <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hi, when I'm trying use: yum --installroot=/tmp/test install globus-authz-devel.x86_64 i get: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. $releasever is not a valid release or hasnt been released yet/ removing mirrorlist with no valid mirrors: /tmp/test/var/cache/yum/addons/mirrorlist.txt Error: Cannot find a valid baseurl for repo: addons Any idea why? Or any idea how to install packages with dependencies in non standard path ? Best Regards 2011/1/26 James Antill <[email protected]>: > Adrian Stel <[email protected]> writes: > >> Hi, >> >> >> >> The question is how can I get full list of dependencies? >> I mean full list, not only 1lvl from yum deplist "package name" >> Full list you can see when you do yum install "packages name" > > repoquery --tree-requires > yum install --installroot=/tmp/does/not/exist > >> I need this list to my script. So using "yum install" is a little dirty ;/ > > Neither of the above are designed to be consumable by scripts. Not > sure what you are doing, but you might want to look at mock. > > -- > James Antill -- [email protected] > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > -- Pozdrawiam Adrian Stelmaszyk