For those who are wondering what the best approach is to upgrade from OpenPKG 2.5 to OpenPKG 2.20060622, here is the procedure I've used myself successfully:
# just to allow easy adaption of the procedure $ prefix=/openpkg # upgrade the bootstrap package $ $prefix/bin/openpkg rpm --rebuild \ ftp://ftp.openpkg.org/stable/2.20060622/SRC/openpkg-2.20060622-2.20060622.src.rpm $ $prefix/bin/openpkg rpm -Uvh \ $prefix/RPM/PKG/openpkg-2.20060622-2.20060622.*.rpm # optionally tag for OpenPKG 2-STABLE-20060622 snapshot # (otherwise the default would be the OpenPKG 2-STABLE branch) $ echo "TAG=2-STABLE-20060622" >>$prefix/etc/openpkg/release # deinstall (for client usage) obsolete package "openpkg-registry" $ $prefix/bin/openpkg rpm -e openpkg-registry # upgrade to new "openpkg-tools" (very important!) $ $prefix/bin/openpkg rpm -e openpkg-tools $ $prefix/bin/openpkg build openpkg-tools | sh # now upgrade the whole OpenPKG instance, in correct # dependency order and by keeping all chosen build-time options. $ $prefix/bin/openpkg build -ZaKB | sh Yours, Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [email protected]
