Without the -U option openpkg build will happily use binary RPM's that it finds, either local in RPM/PKG or in the specified repository. With -U it seems to always force rebuild from source. I would like to use "openpkg build -U" on most all my hosts so they get the latest versions from my locally maintained binary RPM repository (most end machine should never be compiling). Am I mis-using the openpkg tool or is this a bug?
Martin openpkg@redfish$ rpm -q openpkg-tool openpkg-tool-20030204-20030204 openpkg@redfish$ rpm -q openldap openldap-2.1.12-1.2.0 openpkg@redfish$ ls /netgenics/openpkg-rpm/sparc-sunos5.7/1 00INDEX.rdf db-4.1.25.0-1.2.0.sparc64-solaris2.7-oo.rpm gcc-3.2.1-1.2.0.sparc64-solaris2.7-oo.rpm make-3.80-1.2.0.sparc64-solaris2.7-oo.rpm mysql-3.23.54a-1.2.1.sparc64-solaris2.7-oo.rpm openldap-2.1.12-1.2.0.sparc64-solaris2.7-oo.rpm openpkg-tool-1.2.0-1.2.0.sparc64-solaris2.7-oo.rpm openpkg-tool-20030203-20030203.sparc64-solaris2.7-oo.rpm openssl-0.9.7-1.2.0.sparc64-solaris2.7-oo.rpm perl-5.8.0-1.2.0.sparc64-solaris2.7-oo.rpm sasl-2.1.10-1.2.0.sparc64-solaris2.7-oo.rpm openpkg@redfish$ openpkg build -U -p sparc-sunos5.7 -r /netgenics/openpkg-rpm/sparc-sunos5.7/1 openldap # reading index file # using simple text parser FATAL: cannot find source for 'openldap' openpkg@redfish$ openpkg build -p sparc-sunos5.7 -r /netgenics/openpkg-rpm/sparc-sunos5.7/1 openldap # reading index file # using simple text parser # source for openldap is openldap-2.1.12-1.2.0 # recursing over dependencies for openldap-2.1.12-1.2.0 # openldap is already installed openpkg@redfish$ ---- Martin Andrews [EMAIL PROTECTED] ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
