Installing one more rpm in %post

Jean-PaulLeclère jean-paul at leclere.org
Sun Apr 3 09:12:34 UTC 2005


I have a problem with my distribution. I need to install to different 
rpm versions with the same name : libstdc++-2.96-113.i386.rpm and  
libstdc++-3.2-1.i386.rpm. The two versions do not conflicts and can be 
manually installed together with rpm -i.

My installer is a RH 7.3 installer and libstdc++ is set in comps file.

Only libstdc++-2.96-113.i386.rpm get installed...

My question is : can I install the second rpm in %post section of 
install.cfg and what is the command to do it :

rpm -i libstdc++-3.2-1.i386.rpm (if I do that, will the rpm command find 
the package)

rpm -i /mnt/source/RedHat/RPMS/libstdc++-3.2-1.i386.rpm   (and %post 
--nochroot) (if I do that will the command install the package in the 
right place ?)
 
Or is there a better way to get the two packages installed ?

Thanks for helping me.

Jean-Paul Leclère



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005




More information about the Kickstart-list mailing list