bug in rpm?



Hi all.

I've had RH7.0 (with rpm v4.0) for a while, but only yesterday did I find this problem.  I built an rpm from the sources.  The rpm contains some files :

$ rpm -qlp GConf-2000.11.16.CVS-1.i686.rpm
[snip]
/usr/local/lib/libgconf-1.so
/usr/local/lib/libgconf-1.so.1
/usr/local/lib/libgconf-1.so.1.0.0
/usr/local/lib/libgconf-gtk-1.so
/usr/local/lib/libgconf-gtk-1.so.1
/usr/local/lib/libgconf-gtk-1.so.1.0.0
[snip]

The rpm doesn't "provide" all of this though:

$ rpm -q --provides -p GConf-2000.11.16.CVS-1.i686.rpm 
libgconf-gtk-1.so.1.0.0  
GConf = 2000.11.16.CVS-1


When I try to install the package:

$ su root -c 'rpm -Uvh GConf-2000.11.16.CVS-1.i686.rpm GConf-devel-2000.11.16.CVS-1.i686.rpm'
Password: 
error: failed dependencies:
	libgconf-1.so.1 is needed by GConf-2000.11.16.CVS-1

I get a failed dependency because the package doesn't "provide" the library, even though in actuallity it does.

Ok, so I can "fix" this by using --nodeps.  Then I try to install another package that also requires this file.

$ rpm -q --requires -p gnome-vfs-2000.11.17.CVS-1.i686.rpm 
GConf >= 0.9
libgconf-1.so.1  
[snipped other irrelevant requires]

Remember that I just installed the latest GConf which has the file libgconf-1.so.1.

$ su root -c 'rpm -Uvh gnome-vfs-2000.11.17.CVS-1.i686.rpm gnome-vfs-devel-2000.11.17.CVS-1.i686.rpm '
Password: 
error: failed dependencies:
	libgconf-1.so.1 is needed by gnome-vfs-2000.11.17.CVS-1
	libgnomevfs-corba.so.0 is needed by gnome-vfs-2000.11.17.CVS-1
	libgnomevfs.so.0 is needed by gnome-vfs-2000.11.17.CVS-1

Rpm thinks that libgconf-1.so.1 isn't on the system!!  Also, you are seeing the same problem that I had with GConf with rpm not realizing the files are in the package!

I also had this problem with bonobo, but used --nodeps to install it anyways.  I used the --nodeps with GConf, then when gnome-vfs continued this trend I stopped and am looking for a solution.

(PS.  the difference in version numbers is a result of working very close to midnight)

Thanks in advance for all of your help and suggestions.
-D







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]