Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rpm

Status
Not open for further replies.

skottieb

Programmer
Jun 26, 2002
118
AU
Hello all,
I have been trying to install packages via rpm and keep getting depend.. problems when trying to install, eg.

here is what happened when I try to install wine.

Found 0 source and 1 binary packages
Dependency Problem:
/bin/sh is needed by wine-cvs-unstripped-040302-1
ld-linux.so.2 is needed by wine-cvs-unstripped-040302-1
libICE.so.6 is needed by wine-cvs-unstripped-040302-1
libSM.so.6 is needed by wine-cvs-unstripped-040302-1
libX11.so.6 is needed by wine-cvs-unstripped-040302-1
libXext.so.6 is needed by wine-cvs-unstripped-040302-1
libXrender.so.1 is needed by wine-cvs-unstripped-040302-1
libc.so.6 is needed by wine-cvs-unstripped-040302-1
libm.so.6 is needed by wine-cvs-unstripped-040302-1
libresolv.so.2 is needed by wine-cvs-unstripped-040302-1
libdl.so.2 is needed by wine-cvs-unstripped-040302-1
/bin/sh is needed by wine-cvs-unstripped-040302-1
/usr/bin/perl is needed by wine-cvs-unstripped-040302-1
libc.so.6(GLIBC_2.0) is needed by wine-cvs-unstripped-040302-1
libc.so.6(GLIBC_2.1) is needed by wine-cvs-unstripped-040302-1
libc.so.6(GLIBC_2.1.2) is needed by wine-cvs-unstripped-040302-1
libc.so.6(GLIBC_2.2) is needed by wine-cvs-unstripped-040302-1
libdl.so.2(GLIBC_2.0) is needed by wine-cvs-unstripped-040302-1
libdl.so.2(GLIBC_2.1) is needed by wine-cvs-unstripped-040302-1
libm.so.6(GLIBC_2.0) is needed by wine-cvs-unstripped-040302-1
libm.so.6(GLIBC_2.1) is needed by wine-cvs-unstripped-040302-1
libutil.so.1(GLIBC_2.0) is needed by wine-cvs-unstripped-040302-1

and here is xanim:

Found 0 source and 1 binary packages
Dependency Problem:
ld-linux.so.2 is needed by xanim-2.80.2-5
libICE.so.6 is needed by xanim-2.80.2-5
libSM.so.6 is needed by xanim-2.80.2-5
libX11.so.6 is needed by xanim-2.80.2-5
libXext.so.6 is needed by xanim-2.80.2-5
libXt.so.6 is needed by xanim-2.80.2-5
libc.so.6 is needed by xanim-2.80.2-5
libdl.so.2 is needed by xanim-2.80.2-5
libm.so.6 is needed by xanim-2.80.2-5
libz.so.1 is needed by xanim-2.80.2-5
libc.so.6(GLIBC_2.0) is needed by xanim-2.80.2-5
libc.so.6(GLIBC_2.1) is needed by xanim-2.80.2-5
libc.so.6(GLIBC_2.1.3) is needed by xanim-2.80.2-5
libc.so.6(GLIBC_2.2) is needed by xanim-2.80.2-5
libdl.so.2(GLIBC_2.0) is needed by xanim-2.80.2-5
libdl.so.2(GLIBC_2.1) is needed by xanim-2.80.2-5
libm.so.6(GLIBC_2.0) is needed by xanim-2.80.2-5



ALL these files are present on my computer, ive tried "rpm --rebuilddb" but that didnt work, im running the latest version of glibc, but i dont think that should represent a problem??? How can I tell rpm to see that I do have all the requirements installed??

Please Help!!!

thanx :( :) skottieb:)
 
Run
Code:
rpm -ivh package.rpm --nodeps

This command will force RPM to install and not check dependencies, however, I don't recommend doing this.

Check your /etc/ld.so.conf for the correct library paths and try re-running ldconfig.

You could always download the .src.rpm's of this package and issue the
Code:
rpm --rebuild package.rpm
the resulting package will be placed in /usr/src/ If you can't find it then just do a
Code:
find / -name rpmname.rpm -print

Or you could download the source code in tarball format and make the packages yourself. (Recommended)

Most source code packages include make instructions in a README file after you unpack the source.

--James
 
sorry the
Code:
rpm --rebuild package.rpm
should be:

Code:
rpm --rebuild package.srpm

HTH!

--James
 
gah! maybe i'll get it right this time....

Code:
rpm --rebuild package.src.rpm

It's late!

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top