Re: Creating complete repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure if Pungi is what you need or if it works with CentOS.


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 <ckittlitz@xxxxxxxxx> 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
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux