boatman9 Posted November 23, 2008 Report Share Posted November 23, 2008 (edited) How would I display dependencies of a package, either using Mandriva's GUI Software Manager (Rpmdrake 2009.0) or from command line using some kind of urpmi command? Edited November 23, 2008 by boatman9 Quote Link to comment Share on other sites More sharing options...
orts Posted November 23, 2008 Report Share Posted November 23, 2008 Using rpmdrake you just mark the packages you want to install, then it will show you all dependicies automaticaly, then you can watch them and decide if you want to install the packages anyway. And using commandlinie you type something linke urpmi java-1.6.0-sun, then it will show you the names on the packages it has to install for denpendicies, and you have to type Y or n, to confirm or not. Hope this will help you, if not mayby someone who writes in english natively, has a better way to explain it to you ;-) Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 23, 2008 Report Share Posted November 23, 2008 You can also use urpmq --requires package-name or if you want the old more complete behavior, use urpmq --requires-recursive package-name Quote Link to comment Share on other sites More sharing options...
neddie Posted November 23, 2008 Report Share Posted November 23, 2008 using commandlinie you type something linke urpmi java-1.6.0-sun, then it will show you the names on the packages it has to install for denpendicies, and you have to type Y or n, to confirm or not.Careful! If the dependencies are already installed then this urpmi command will just install the selected package without asking for confirmation! This may or may not be what you want. Use Greg2's urpmq command or look at rpm.pbone.net. Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 23, 2008 Author Report Share Posted November 23, 2008 Thanks for the help. I was researching dependencies for an installed package, so I had to use Greg2's method. This relates to Mandriva's 2009.0 repositories. I don't know about previous Mandriva repositories. Package kdemultimedia-noatun needs package arts, but arts is not listed as a dependency for kdemultimedia-noatun. The result is that when one adds kdemultimedia-noatun it won't run and gives this message "Connecting/starting aRts soundserver failed. Make sure that artsd is configured properly." Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 24, 2008 Report Share Posted November 24, 2008 arts is not listed as a dependency for kdemultimedia-noatun. If you take another look, you will see [greg@halfway ~]$ urpmq --requires-recursive kdemultimedia-noatun | grep -i kdemultimedia1-arts libkdemultimedia1-arts Quote Link to comment Share on other sites More sharing options...
boatman9 Posted November 24, 2008 Author Report Share Posted November 24, 2008 Nevertheless, arts will not be installed when adding the kdemultimedia-noatun package. As a result, noatun will not run until one has installed arts. This is because the packager failed to include arts in the dependency list of the kdemultimedia-noatun package. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 25, 2008 Report Share Posted November 25, 2008 In defense of the packagers, it's very hard to package for two different KDE versions in one release. If you had installed KDE3 first with your install, you would have [greg@halfway ~]$ urpmq --requires-recursive task-kde3 | grep -i arts arts libarts1 libkparts4 run-parts [greg@halfway ~]$ urpmq --requires-recursive kdebase-3 | grep -i arts arts libarts1 run-parts but, if you had installed KDE4 first with your install, you would have [greg@halfway ~]$ urpmq --requires-recursive task-kde4 | grep -i arts libkparts4 run-parts [greg@halfway ~]$ urpmq --requires-recursive kdebase4 | grep -i arts libkparts4 run-parts do you understand the problems involved with this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.