On Tue, Nov 14, 2006, Ralf S. Engelschall wrote:

> [...]
> > BTW, can you give a short step-by-step on how to actually _USE_ URPMI?
> > I mean, I expect that one have to place RPMs (binary only?) into a
> > location, create some sort of an index there and then configure the
> > location somewhere on the client side and use some urpmi commands to
> > fetch and install packages. Right? But what are the actual commands
> > involved here? Can you be so kind and post a short summary use of URPMI
> > for OpenPKG?
> [...]

Ok, here is what I came up until now:

# server side: prepare distribution media
$ mkdir /tmp/myrpm
$ mkdir /tmp/myrpm/pubkey
$ cp /from/somewhere/*.rpm /tmp/myrpm
$ urpmi.genhdlist --dest /tmp/myrpm

# client side: add distribution media
$ urpmi.addmedia myrpm /tmp/myrpm with hdlist.cz
$ urpmi.update myrpm

# client side: some queries
$ urpmq --list-media
$ urpmq --fuzzy somepackage
$ urpmq -i somepackage
$ urpmq -d somepackage
$ urpmf somefile

# client side: install package
$ urpmi somepackage

# client side: remove package
$ urpme somepackage

# client side: update all packages
$ urpmi.update -a
$ urpmi --update --auto-select

# client side: remove distribution media
$ urpmi.removemedia myrpm

More or less just copy & pasted from some howtos flying around the net
plus some quick local tests. I really would like that someone tests
this URPMI stuff in more detail and find out whether it is a suitable
solution for deployment of binary RPMs. Or did I miss something and URPM
also supports source RPMs?

PS: What I still find nasty is that the whole URPMI stuff has lots
    of dependencies and this way just works for OpenPKG instances with
    lots of things and not for bootstrapping those instances. Here our
    "openpkg build" tool is a lot nicer as it doesn't require anything
    beside the OpenPKG bootstrap package...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to