rpm dependency

Michael Schwendt fedora at wir-sind-cool.org
Fri Nov 12 15:05:16 UTC 2004


On Fri, 12 Nov 2004 11:43:07 +0000, [LINICKX] wrote:

> Hi all,
> 
> rpm -qpR thingy.rpm show's what "files" are required for a rpm installation....
> 
> eg.
> [me at localhost ~]rpm -qpR nmap-frontend-3.70-1.i386.rpm
> gtk+
> libX11.so.6
> libXext.so.6
> libXi.so.6
> libc.so.6
> libc.so.6(GLIBC_2.0)
> libc.so.6(GLIBC_2.1)
> libc.so.6(GLIBC_2.3)
> libdl.so.2
> libgdk-1.2.so.0
> libglib-1.2.so.0
> libgmodule-1.2.so.0
> libgtk-1.2.so.0
> libm.so.6
> nmap = 2:3.70
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> 
> Is there a way to see what "rpms" are required ?
> 
> i.e. nmap-frontend-3.70-1.i386.rpm requires nmap-3.70-1.i386 , etc etc.

Install rpmdb-fedora package, then test-install the nmap-frontend package.
To make rpm add Fedora Core dependencies automatically, add option --aid.

You can query rpmdb-fedora manually with options --redhatprovides and
 --redhatrequires, e.g.

  $ rpm --redhatprovides libgmodule-1.2.so.0
  glib-1.2.10-15

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041112/a7a8b115/attachment-0001.sig>


More information about the fedora-list mailing list