On Tue, 2006-06-06 at 10:47 +0300, Dor-Shifer Amit wrote: > > -----Original Message----- > > From: rpm-list-bounces@xxxxxxxxxx > > [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Hayim Shaul > > Sent: Tuesday, June 06, 2006 10:44 > > To: rpm-list@xxxxxxxxxx > > Subject: not finding library > > > > Hi all, > > > > I have an RPM I want to install. Trying to install it I get the error: > > error: Failed dependencies: > > libstdc++-libc6.2-2.so.3 is needed by hpadu-7.50-16.i386 > > > > However, libstdc++-libc6.2-2.so.3 exists on the system !?! > > > > How can I update the rpm-database to be aware of the library? > > > > > > > > Alternatively, I converted the rpm into cpio to install it, > > but then the %pre scriptlet is not executed. > > Is there a way to execute/extract the %pre scriptlet? > > > > Thanks, > > Hayim. > > > > _______________________________________________ > > Rpm-list mailing list > > Rpm-list@xxxxxxxxxx > > https://www.redhat.com/mailman/listinfo/rpm-list > > > > Is libstdc++-libc6.2-2.so.3 provided by any installed package? What > does "rpm -q --whatprovides libstdc++-libc6.2-2.so.3" give you? [root@Samwise ~]# rpm -q --whatprovides libstdc++-libc6.2-2.so.3 no package provides libstdc++-libc6.2-2.so.3 > Alternatively, you can query to-whom libstdc++-libc6.2-2.so.3 belongs by > "rpm -qf /full/path/to/libstdc++-libc6.2-2.so.3". Might this lib be > unrelated to any RPM? [root@Samwise ~]# rpm -qf /usr/lib/libstdc++-libc6.2-2.so.3 file /usr/lib/libstdc++-libc6.2-2.so.3 is not owned by any package apparently the rpm-db is not aware of this file > I don't know how to make RPM's DB aware of this. IMHO, it sounds like a > bad idea. I think you can --force an installation (not too good-an-idea > either). I admit that this is my less preferred option. --force still checks for dependencies. I added --nodeps to make it work. > Extracting scriptlets is possible by "rpm -qp --scripts" the RPM file. > This was discussed here in the past, I believe. Sorry if I was re-asking. As it so happen, the pre script failed, so rpm did not install the hpadu package. So, regardless to the rpm problems the pre script was helpful in debugging HP's installation. Thanks > Amit > > _______________________________________________ > 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