[Centos] rpm corruption

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



On Thu, 2005-04-14 at 09:50 +1000, John Newbigin wrote:
> In answer to my own question, this is what I have done which appears to 
> fix the problem:
> 
> 1. Edit /usr/lib/rpm/macros and change the line
> %__dbi_rebuild		nofsync !log !txn !cdb
> to
> %__dbi_rebuild		nofsync !log !txn !cdb !thread
> 2. export LD_ASSUME_KERNEL=2.2.5
> 3. rpm --rebuilddb
> 4. unset LD_ASSUME_KERNEL
> 5. Edit /usr/lib/rpm/macros back to the original
> 6. rpm --rebuilddb
> 
> So far this fixes the problems I have been having.  I assume it is 
> possible to override the macro setting on the rpm command line so no 
> editing is required and a simple script can be run on all my machines.
> 
I use the --define switch to define rpm variables with rpmbuild ...
don't know if it will work with RPM too, but it might.  Here is an
example:

--define "_build i386-redhat-linux-gnu"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20050413/4f142a95/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux