On Mon, 2002-09-23 at 17:07, gp wrote:
> error: failed dependencies:
> libmysqlclient.so.10 is needed by hogwash-0.1.c-1
> error: failed dependencies:
> libpq.so.2 is needed by snort-1.8.3-1
> error: failed dependencies:
> libpcap = 0.6.2-2cl is needed by libpcap-devel-0.6.2-2cl
libpq.so.* (on my box, Mandrake 8.2) is from the libpgsql2 (and,
for the symlink that is /lib/libpq.so, postgresql-devel).
generally, you can tell what packages some file is from
(e.g., libmysqlclient.so.* is going to be from mysql*.rpm or
maybe libmysql*.rpm etc). if you're not sure which of three
packages it's from, often google knows.
i didn't want to wade through google though, so i just did:
rpm -qa --filesbypkg > /root/rpmfiles.txt
grep <searchterm> /root/rpmfiles.txt
running rpm takes a long time though (YMMV, i'm on a reasonable
but not blazingly fast notebook). so i only do it when
necessary, or when it's been a while since i did it and
i've installed packages in the meantime.
a general question to the list:
is there a better way (some other rpm params) to find out
which rpm provides a given file?
heh, of course maybe it's just slow on this notebook since
i'm compiling the wolk kernel (adventure time, it's got
automatic ext2 compression, but it compresses individual
files) and running a very long running process that inserts
and updates a postgres database (will run for ten hours or
more).
tiger
--
Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Veritas liberabit vos.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]