LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How to list :Opensuse 10.2 installed rpms

[ILUG] How to list :Opensuse 10.2 installed rpms

Darragh Bailey felix at compsoc.nuigalway.ie
Tue Dec 12 17:04:58 GMT 2006


On Tue, Dec 12, 2006 at 12:57:15PM +0000, Frank Murphy wrote:
> This was the puppy.
> rpm -qa | head  | xargs rpm -qi --whatrequires
> 
> had to drop "-10" to test
> Gave me a list of prms not owned by anything

Unless the rpm implementation in Suse is very different to RedHat's its
not quite that simple to work out what rpms are not required.

One of the problems with dependency resolution with rpms is that an rpm
may provide a library and that library may be required by a another
package, but the rpm query will not pick this up.

rpmA provides libA
rpmB requires libA

rpm -q --whatrequires rpmA

will not return rpmB

for that you need
rpm -q --whatrequires libA

For each package in the list generated, you need to query the rpmdb for
what they provide and then for each of those check that no package
requires them.

-- 
Darragh

"Nothing is foolproof to a sufficently talented fool."



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell