do you mean unsatisfied dependencies ??
Step back for a minute. Before installing, you may want to do something like
rpm -Uvh --test <rpm file >
If there are any problems with actually installing a package it should tell you. If not you can go ahead and install.
rpm -qR -p <rpm file>
will list all dependencies
then you can use
rpm -qa |grep <package> for each dependency to find out if it is installed and what version
example:
This may not be the most current version, but if I want to install AVG ;) on my Fedora system
( note here: I have changed to the directory where the .rpm file is so I don't have to list the entire path )
rpm -qR -p avg75flr-r47-a1025.i386.rpm
yeilds
rpmlib(VersionedDependencies) <= 3.0.3-1
pygtk2 >= 2.0.0
pygtk2-libglade >= 2.0.0
python >= 2.2.2
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
now
rpm -qa |grep pygtk2
yeilds
pygtk2-2.12.1-6.fc9.i386
pygtk2-libglade-2.12.1-6.fc9.i386
rpm -qa |grep python
yeilds a lot, but the one I am interested in is
python-2.5.1-26.fc9.i386
and then
rpm -Uvh --test avg75flr-r47-a1025.i386.rpm
yeilds
Preparing... ########################################### [100%]
so it should install.
Did you notice the pipe in some of the above commands? ( | )
That was an example of piping the rpm command through grep to limit the output; learning the command line makes things easier!
******* OK, how about we do it the simple way. *********
Remember I mentioned yum ??
Your distro uses yum , but to be sure
rpm -qa |grep yum
So since I ( and you ) have it, how about ( for my example ) I just use
yum localinstall avg75flr-r47-a1025.i386.rpm
Now yum will check the local package for us, check dependencies, and if you have an Internet connection and the yum repositories have been configured ( which they should have been during the OS install ) yum will reach out and check those repositories for missing dependencies!
If yum can install the package it will list all the files to be installed ( including dependencies to be downloaded and installed ) and ask if it is OK.
Isn't that easier ?
Does this qualify as a tutorial ? :drink:
