<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV>I have a setup wherein I have configured my harddisk into 2 partitions(say sda1 and sda2) each being imaged with SLES10sp2 versions. Each of these partititons have a corresponding boot partition which will be read by the MBR to boot from.</DIV>
<DIV>In such an environment, I am trying to use "rpm -U" command to upgrade one of the partition(say sda2, lets call it as inactive) from the other partition(say sda1, lets call this active). Since each partition has its own rpmdatabase, I used --relocate and --dbpath options along with rpm -U command, something like:</DIV>
<DIV>rpm -U <rpm> --relocate <mount point of sda2> --dbpath <mount point of sda/var/lib/rpm></DIV>
<DIV>Although the command works(the inactive partiton gets upgraded), I see that active partition's rpm files are getting DELETED. </DIV>
<DIV>This happens only when both the partitions are on the same versions. If they are on different versions, I dont see this issue. </DIV>
<DIV>Can anyone point me to the right set of upgrade options to be used in this usecase?</DIV>
<!--4--><hr size=1></hr> Keep up with people you care about with Yahoo! India Mail. <a href="http://in.rd.yahoo.com/tagline_galaxy_1/*http://in.overview.mail.yahoo.com/connectmore" target="_blank">Learn how</a>.