[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Upgrading recompiled source rpm's - how?



AFAIK, the version numbers are the same, just the newer ones were derived
from the source code rather than pre-compiled binaries...  Therein lies the
problem.

-----Original Message-----
From: Rick Stevens [mailto:rstevens vitalstream com]
Sent: Monday, March 04, 2002 1:24 PM
To: redhat-install-list redhat com
Subject: Re: Upgrading recompiled source rpm's - how?


Burke, Thomas G. wrote:
> Hey gang,
> 
> 	I downloaded the .src.rpm files, did a "rpm --rebuild foo.src.rpm",
> and now have foo.rpm in my /usr/src/redhat/RPMS/i386 directory.  How do I
> tell rpm to install/upgrade/freshen these files over the versions that are
> currently residing on my box?  (i'm going from the standard 386 binaries
to
> recompiled for PII binaries).
> 
> 	I've tried a couple of different things, but they don't seem to
> work.  Could someone please help?

I've never used the --rebuild or --recompile options before, but
the docs say they do the equivalent of a "make install".  This doesn't
mean that the RPM database has been updated, unless that's part of the
Makefile's install clause or the source RPM's %install clause.

If you do an "rpm -qa | grep foo", what version is reported?  The new
one?
----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens vitalstream com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
- grasshopotomaus: A creature that can leap to tremendous heights... -
-                                                ...once.            -
----------------------------------------------------------------------



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]