On Fri, Jul 23, 2004, Alexander Belck wrote: > I'm confused how to upgrade the openpkg. Can I use: > > openpkg build openpkg-2.1.0-2.1.0.src.rpm | sh > > or openpkg rpm -ba openpkg-2.1.0-2.1.0.src.rpm > > or something similar ? > Both should work. The "openpkg build" defaults to upgrading within a release, to break out to new horizons add "-r" option to specify the index of the (at this point) future release. See "openpkg man build". I prefer doing this important step using
$ $PREFIX/bin/openpkg rpm --rebuild ftp://ftp.openpkg.org/release/2.1/SRC/openpkg-2.1.0-2.1.0.src.rpm # $PREFIX/bin/openpkg rpm -Uvh $PREFIX/RPM/PKG/openpkg-2.1.0-2.1.0.ix86-freebsd4.10-opkg.rpm The first line can be used verbatim until an UPD package for "openpkg" comes out. The second line is just an example. The location depends on rpmmacros and the exact filename depends on arch, os and tagfmt. Within the last twenty lines of output from the --rebuild you'll see a message "Wrote: ...rpm" which tells you exactly the filename to be used for the next -Uvh step. > Will it automaticaly preserve the OpenPkg_users and Instalation path ? > Yes. That's the beauty of OpenPKG: you upgrade the package manager using the package manager. Works exactly like any other package the package manager upgrades. -- [EMAIL PROTECTED], Cable & Wireless ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
