finding needed files

Date view Thread view Subject view Author view

From: Harry Putnam (reader@newsguy.com)
Date: Sat Aug 15 1998 - 22:03:22 EDT


Often when installing an rpm, a message will come up saying a certain
file is needed to install this particular rpm. Usually I haven't a
clue as to where to get the file or what package it is likely to be
in.

Case in point running an rpm --rebuild on xforms-i386-0.88.1-1.src.rpm
Produced these messages

Requires: ld-linux.so.2 libX11.so.6 libc.so.6 libforms.so.0.88 libm.so.6
Could not open /usr/src/redhat/RPMS/i386/xforms-0.88.1-1.i386.rpm

I thought their might be an off chance of finding where these are by
running `rpmfind --apropos' on them though I was pretty sure that was
really stretching a good thing to expect that to work, and it didn't.

I keep quite a few rpms available on cd archives and etc., but finding
a specific file is a real pain.

This command will tear through my rpms and execute `rpm -qpl' on them
and generate a monster list that can then be grepped for a specific file.

find /rpm-dir/ -name '*.rpm$' -exec 'rpm -qpl' {} \; > FILE;grep 'libm.so.6'

Trouble is even if you throw the 'i' into qip, it is still difficult
to tell what package the file is from. Even worse there is no
indication of 'path' in the event the search is in more than one directory.

I'd love to hear some better way. Or that their is a monster data
base somewhere that has data like this.

-- 

Harry Putnam reader@newsguy.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu May 10 2001 - 18:40:09 EDT