SCIENTIFIC-LINUX-USERS Archives

November 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tru Huynh <[log in to unmask]>
Reply To:
Tru Huynh <[log in to unmask]>
Date:
Wed, 28 Nov 2007 13:25:55 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
On Wed, Nov 28, 2007 at 12:35:44PM +0100, Daniel Pfenniger wrote:
> $ rpm -Fvh [some subset of the available rpms]
> 
...

why don't you just create a local repository (with all your $arc.rpm)
and tell yum to use it? 
see createrepo/yum-arch to generate the metadata and let yum do the right thing?

for instance if all your rpms are in /path/to/repo

yum-2.0.x
yum-arch /path/to/repo
and add to /etc/yum.conf
[local]
name=local repo
baseurl=file:///path/to/repo
gpgcheck=1
enabled=1

yum-2.4:
createrepo /path/to/repo
and add:
/etc/yum.repos.d/local.repo
[local]
name=local repo
baseurl=file:///path/to/repo
gpgcheck=1
enabled=1

just my 2 cents

Tru

ATOM RSS1 RSS2