Re: Help needed : dpkg --info
Hello
Ramanathan Rm (<send4ram@yahoo.com>) wrote:
> 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.
>
> [...]
> 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)
No, they are packages. However you don't need to find out on your own,
apt-get can do that for you:
apt-get install apache-dev
You should take a look at the APT howto and the apt-get and apt-cache
man pages.
> 2)What do the symbols >> and << mean?
This refers to the version numbers of the dependency. apache-dev depends
on libc6 2.2.4-4 or higher, and on apache-common older than 1.3.27-0.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Reply to: