Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validating a yum repository for dependencies

Tags:

rpm

yum

rhel5

I am trying to create a custom rhel5.5 repository for my usage and I am having a hard time validating if I have all the dependencies for every package in my repository.

What I would want to do is do a yum install in dry run on every package in my repository to see if all the dependencies are available.

Is there an easy way to do that?


EDIT I've found the answer. Download yum-utils

yum install yum-utils

and do a repoclosure

repoclosure

It will find all missing dependencies of the repositories that you have set in your /etc/yum.repo.d/*

like image 795
Damien Avatar asked Aug 05 '11 19:08

Damien


1 Answers

yum install yum-utils

and do a repoclosure

repoclosure

It will find all missing dependencies of the repositories that you have set in your /etc/yum.repo.d/*

like image 171
Damien Avatar answered Sep 22 '22 19:09

Damien