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

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.            -
----------------------------------------------------------------------





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