Re: Creating complete repository
Chris Kittlitz <[email protected]> Mon, 24 Jun 2013 11:22:20 -0400
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <CAD-XgHvb3fuvBiNSqt0uZy+ORGes=X2uyOihZ7SU8WUFGGKj-w@mail.gmail.com> |
That tool sounds really close to what I need! I'll take a closer look and try it out. Thanks! On Mon, Jun 24, 2013 at 11:14 AM, Brian Long (brilong) <[email protected]>wrote: > Not sure if Pungi is what you need or if it works with CentOS. > > https://fedorahosted.org/pungi/ > > Since it runs the "buildinstall" utility, it appears it would work. > > /Brian/ > -- > Brian Long | | > Research Triangle Park, NC . | | | . | | | . > ' ' > C I S C O > > On Jun 24, 2013, at 8:22 AM, Chris Kittlitz <[email protected]> wrote: > > Hello. > > I am new to yum, so forgive me if I have missed something obvious. > > I need to create an installation DVD with a complete set of RPMs to > install on a system. The key problem is that the system does not have > internet access, so the DVD must contain all the RPMs required with no > missing dependencies. > > I've seen articles on how to create a repository using a DVD, but what I > am doing is different - I am creating the DVD that will be used to install > all the software. It will be installed with anaconda, not yum. The > problem I have is identifying all the RPMs to put on the DVD. > > What I would like to do is use yum to identify all the RPMs I need to > copy to my DVD. The things I will have before I start are: > > - A small set of application RPMs > - A few OS RPMs (CentOS) > > The only way I can think of doing it is to: > > 1. Start with my set of application and OS packages/RPMs > 2. For each package: > 1. Run "yum deplist" on each one to get the set of providers > 2. For each dependency: > 1. If the dependency is not satisfied by one of the packages, > then add one of the providers of this dependency to our list of packages > > However, this is not something I want to be doing by hand since it could > take a long time. Also, I will need to repeat this process every release. > Thus, I would like to automate this, but when a dependency is provided by > multiple providers, it will be difficult to write a program to decide which > one to choose. > > While thinking on this problem, I realized that yum must already do this > to some extent. After all, when you need to install a new package, yum > will find all the dependencies and get the packages that provide them > automatically. > > So is there some way for me to get the complete list? The system I am > creating this list on already has many packages installed, so using the > "downloadonly" plugin won't work since it will skip any packages already > installed, and I need to get all the packages even if they are currently > installed. > > Thanks!! > > Chris > _______________________________________________ > > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > > > > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > > _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum