On Thursday, 21 October 2004 09.41, Rikard Johnels wrote:
I used the package provided via SUN.
"j2re-1_4_2_06-linux-i586-rpm.bin" which in turn gave the "j2re-1_4_2_06-linux-i586.rpm" package. Instaled: sparhawk:~ # rpm -i j2re-1_4_2_06-linux-i586.rpm sparhawk:~ # rpm -q j2re j2re-1.4.2_06-fcs sparhawk:~ # find / -mount -name libjawt.so /usr/java/j2re1.4.2_06/lib/i386/libjawt.so
what more do i need?
OK, it seems the rpm doesn't have the "Provides" needed for a consistent rpm database. I know there is a way to do it in apt to trick it into "knowing" you have that dependency covered (although I don't remember how, I don't use apt), but here is a method I posted to the list a while back, which will cover all rpm based programs. Create the file dummy.spec in /usr/src/packages/SPECS with the following contents: Name: Dummy Summary: Dummy package to help solve RPM dependencies for packages installed from source Version: 1.0 Release: 1 License: GPL Group: none Provides: libjawt.so %description This package will "provide" the things installed from source, so the RPM database will be in some sense "in order", although it still won't have the files included, so RPM won't be able to warn you about overwriting %prep %build %install %files then run rpmbuild -bb /usr/src/packages/SPECS/dummy.spec and install the rpm that gets created.