On Tue, Sep 30, 2003 at 03:45:23PM -0400, Dennis McRitchie wrote:
> Hi,
> 
> What is the recommended way to reinstall the same package after rebuilding
> it. For example, I rebuilt openldap with the new openssl (per the
> instructions below). Once I did that I could not use rpm -Uvh to reinstall
> it since that version is already installed. So I did:
> rpm -e openldap.....
> rpm -Uvh openldap.....
> 
> 1) Is there a better way?
> 
> 2) Below "rpm -Fvh" is recommended to update openssl itself. How is this
> option different from "rpm -Uvh"? I can't find any documentation on it.

Well, Steffen Weinreich already answered. The -U - and -F - options are
documented in "man rpm", i think.

I have another problem. I use some machines as "masters", where the
software is build from sources. Then the generated binary packages
are installed on other machines.

I upgraded the machines that build from sources with
   openpkg build -i -g -u openssl | sh

But when i try this with binary packages
   openpkg build -p <platform>
                 -r ftp://bla/.../RPM/PKG
                 -f ftp://bla/.../RPM/PKG/00INDEX.rdf.bz2
                 -i -g -u
I get 
FATAL: cannot find source for 'openssl'

Is there a better way to upgrade using binary packages ?
Is "openpkg build -i -g -u <pkg>" the/a proper way to upgrade anyway ?


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   >> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to