-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Sparenberg wrote on Sat, Mar 15, 2003 at 05:29:26PM -0800 :
> 
>   Is there a decent tutorial on using urpmi with a locally created rpm
> database?  I've a number of "our company only" rpms that I'd like to
> make available to urpmi is why.

The nice thing about urpmi is that you don't need to worry about an
hdlist when the source is local (nfs too).  If you have your rpms stored
someplace like /var/local/rpms, then the follwoing command creates an
entry in urpmi.cfg and an hdlist (only needs to be done once)
    urpmi.addmedia Local /var/local/rpms
and the following command updates the list (run it after eaqch rsync or
ftp where you get the files)
    urpmi.update Local
And then install the ones that you want either by name 
    urpmi package
or if it's an update to an already installed package
    urpmi --auto-select

It really is much easier than most people think.  The only time you need
to worry about generating an hdlist is if it's using ftp, ssh, http, or
rsync.

Blue skies...                   Todd
- -- 
 Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
    Hey, I'm perfectly reasonable once you realize I'm right.
                                -- John Buttery on Mutt Users ML
      Mandrake Cooker Devel Version, Kernel 2.4.21-0.13mdk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+dPuQlp7v05cW2woRAmA2AJ0RolYNSnixlYxV9BgKxPDlfX7ltACghaUQ
GrlfRAbTfxrobPPdGUaPNmY=
=RlY0
-----END PGP SIGNATURE-----

Reply via email to