Help needed : dpkg --info
Hello,
My requirement is to know what are all the dependency
packages that have to be installed before installing a
package.
So I issued the foll. command in a Debian GNU Linux
3.0 machine,
dpkg --info apache-dev_1.3.26-0woody6_i386.deb,
and got the below response.
new debian package, version 2.0.
size 535772 bytes: control archive= 2150 bytes.
557 bytes, 14 lines control
3334 bytes, 49 lines md5sums
269 bytes, 9 lines * postinst
#!/bin/sh
202 bytes, 7 lines * prerm
#!/bin/sh
Package: apache-dev
Version: 1.3.26-0woody6
Section: web
Priority: extra
Architecture: i386
Depends: libc6 (>= 2.2.4-4), libdb2 (>= 2:2.7.7.0-7),
libexpat1 (>= 1.95.2-6), apache-common (>= 1.3.26-0),
apache-common (<< 1.3.27-0), libdb2-dev (>=
2.7.7-2.1), libexpat1-dev
Suggests: apache
Conflicts: apache (<= 1.3b2)
Installed-Size: 1440
Maintainer: Matthew Wilcox <willy@debian.org>
Source: apache
Description: Apache webserver development kit
Provides the Apache C headers and the Apache
Extension Tool (apxs),
needed to compile external Apache modules.
Here I assume the dependencies are listed against the
Depends label.
Depends: libc6 (>= 2.2.4-4), libdb2 (>= 2:2.7.7.0-7),
libexpat1 (>= 1.95.2-6), apache-common (>= 1.3.26-0),
apache-common (<< 1.3.27-0), libdb2-dev (>=
2.7.7-2.1), libexpat1-dev
My questions:
1)How to find out the exact dependency packages that
are reqd. from the above? (Because some seems to be
files)
2)What do the symbols >> and << mean?
So that If I do a dpkg --install pkg1 pkg2 ...
will solve any dependency issues.
Thanks in advance,
Ram.
__________________________________
Do you Yahoo!?
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com
Reply to: