On Sun, 20 Feb 2005 10:39:49 +0530, Brijesh Singh <brijesh.ksingh@xxxxxxxxx> wrote: > Hi All, > > I am writing a update program, which will upgrade running system. > Maximum RPM says that RPM update is combination of rpm -i and rpm -e > command. > To check this I have created a RPM which consist of some executable > say "a b and c", installed this RPM on system. Created a higher > version of same rpm which consist of "b c" executable only. After > updating the system with latest version of RPM, executable a still > present in system ? Is this expected behavior or I am missing > something. > > I am using following cmd to update the system > rpm -Uv --relocate /=/SetB --dbpath /SetB/rpmdb > No its not expected. Do you get the same error when you don't use --releocate? What version of rpm are you using and on which distro? What did you type to initially install the first package? Ultimately, I have never seen this type of failure in rpm. "a" should have been removed provided both packages shared the same name. If its a "supported" version of rpm either via Fedora or RedHat you should file a bugzilla report at: bugzilla.redhat.com Be sure to at least include info on all the questions I asked (I would suggest a tiny test script and your tiny spec files be attached, so that it is easy to reproduce). Cheers...james > -- > Regards, > Brijesh <brijesh.ksingh@xxxxxxxxx> > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list