On Wed, Feb 05, 2003, [EMAIL PROTECTED] wrote:

> Is there any documentation available on openpkg-tool other than
> the man page?  I would like to see more examples of how openpkg
> is used such as the one above.

Sorry, just the man page and of course the source ;-)

Lots of functionality in openpkg-tool comes from special use-cases.
But the most common uses are:

openpkg build [-Doption ...] <package>
-> install the package and all dependencies [with build options]

openpkg build -Ua
-> keep system as current as possible. Be aware that some packages
require manual adjustments after an upgrade (like adapting config files).

openpkg build -za
-> rebuild all installed programs (e.g after an OS upgrade)

The options -P and -N are used to avoid building packages as root
by running utilities like 'su' or 'sudo'. You usually store these
options in the $HOME/.openpkg/build file.

If you have a private package repository (e.g. an ftp mirror)
you want to use the -r and -f options and also store these in
the config file.

The tool will only generate a script that you can pipe directly into
a shell. I usually look at the script first to see if there are
any difficulties (like package conflicts) and then rerun the command
with '| sh'. For larger runs or automated installations you should
redirect output to a logfile and verify the results.

Greetings,
-- 
                                       Michael van Elst
                                       [EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            [EMAIL PROTECTED]

Reply via email to