Re: Stripping down red hat cds

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

 



On Fri, 2006-04-21 at 15:25 +0200, VnPenguin wrote:
> On 4/21/06, Paul Nasrat <pnasrat@xxxxxxxxxx> wrote:
> > >
> > > I put all selected rpm into a folder and run the following script to
> > > check dependencies between them:
> >
> > I'd recommend running createrepo then repoclosure on the repo is the
> > best plan.  Yum does this all for you already.
> >
> 
> Hi Paul,
> Could you tell us more about this please.
> Thank you,
> Regards,

yum install createrepo yum-utils

Take you stripped down directory - eg say the toplevel which contains
Fedora/, etc dir is in /srv/fc5/i386:

cd /srv/fc5/i386
createrepo -g Fedora/base/comps.xml .

Create a local.repo for this in /etc/yum.repos.d local.repo

[local-fc5]
name=local-fc5
baseurl=file:///srv/fc5/i386
enabled=0
gpgcheck=0

repoclosure -r local-fc5 will tell you any unresolved deps that you can
pass to repoquery to resolve against the full fc5 repo.

Paul



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux