viking777 Posted March 7, 2009 Report Share Posted March 7, 2009 I can't find an answer to this. Is there a switch to add to urpmi/f/q that will tell it to search through installed packages only? Link to comment Share on other sites More sharing options...
willie Posted March 7, 2009 Report Share Posted March 7, 2009 In MCC you can search for all, installed or not installed, you can do man urpmi to find the switch for the cli. Link to comment Share on other sites More sharing options...
jkerr82508 Posted March 7, 2009 Report Share Posted March 7, 2009 rpm will search the database of installed rpm's. For example, # rpm -qa | grep kernel will list all installed packages whose names include the string "kernel". See man rpm for more details. Jim Link to comment Share on other sites More sharing options...
viking777 Posted March 8, 2009 Author Report Share Posted March 8, 2009 Thanks people. I was aware of the MCC and rpm routes, my question was specificaly related to urpmi/f/q. It looks as if that question has been answered and I think the answer is 'no'. That is why I can't find any information about it despite a lot of searching. Strange though isn't it, you would think there would be such an option. Link to comment Share on other sites More sharing options...
neddie Posted March 8, 2009 Report Share Posted March 8, 2009 Strange though isn't it, you would think there would be such an option.I agree, good point. I'd also like the comand "urpmq -i packagename" to tell me whether the package is installed or not. Should be a lot faster than the rpm -qa method. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now