[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finger in 4.1?



Robert wrote:
> RH 4.1.  I admit that I have not found a way to query or list the contents
> of an uninstalled package using the "rpm" command.

  rpm -qpl {package-filename}

-p says to query an uninstalled package, -l lists the files in the package.
To find which package owns an installed file:

  rpm -qf {filename}
   
i.e.:

  bash$ which finger
  /usr/bin/finger
  bash$ rpm -qf /usr/bin/finger
  NetKit-B-0.08-8
  rpm -qpl NetKit-B-0.08-13.i386.rpm
  /bin/ping
  /etc/rc.d/init.d/inet
  /etc/rc.d/rc0.d/K50inet
  ...

--
Jurgen Botz                   "Unix?  What's that?  Is that like Linux?"
http://www.reference.com/~jbotz



--
To unsubscribe: mail -s unsubscribe http://www.redhat.com/~rpm-list-request < /dev/null




Why do you want this page removed?