scripting rpm installs

Ralf Corsepius rc040203 at freenet.de
Sat Jan 8 08:24:06 UTC 2005


On Sat, 2005-01-08 at 10:06 +0200, Chadley Wilson wrote:

> OK so part of scripting a fix for cdrom and udev and bla bla, I thought is 
> would be cool to also script some rpms to save time,
> 
> In the script I have some line like this
> 
> rpm -Uvh $packagedir/package.rpm
> rpm -Ivh $packagedir/package.rpm
> 
> theres about 70 packages in the dir.
> The problem I am experiencing is if I upgrade a package in the dir, the 
> version changes. and the script must be updated,
> Now for dependancy solving I have to install them in a certian order.
> 
> Unfortunately I can't use up2date, apt , yume etc for this

You can.

>  as The network that 
> does the installs is isolated and has not internet access,
With apt or yum, all you need to do is to set up local apt/yum
repositories and set up apt/yum accordingly.

Ralf





More information about the fedora-list mailing list