Hi Reznic, I have to have no dependencies because on the target where I will be installing the RPM, I have nothing in the RPM database and I do not want to use --nodeps during installation. I know for sure that /bin/sh is installed. I just do not want RPM to check for it. Regards, Ram Prakash. R On Tuesday 30 March 2004 12:19, Reznic Valery wrote: > -----Original Message----- > From: Ram Prakash. R [mailto:ramp@xxxxxxxxxx] > Sent: Tuesday, March 30, 2004 12:38 PM > To: rpm-list@xxxxxxxxxx > Subject: Dependency on /bin/sh > > > Hello, > I have built my own RPM that I am downloading into a device which has a > clean RPM database. This RPM contains some self sufficient executables > (they > > have no external dependencies). But the spec file contains a %pre script > which creates some soft links after testing for their existence. Because of > the %pre script an automatic dependency got created for /bin/sh. > This dependency is generated even though I have > AutoReq: 0 > in the spec file. > > To overcome dependency failures, I added /bin/sh in the "Provides" > clause. > > But still the failure due to dependency on /bin/sh occurs. Any idea to > overcome this automatic dependency generation will be appreciated. > But your package (ok, installation of your package) really depend on > /bin/sh Why you need to remove this dependencies ? > > Valery > > > Thanks and Best Regards, > Ram Prakash. R > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > ______________________________________________________________________ > This email message has been scanned by PineApp Mail-Secure and has been > found clean. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list