On 10/15/2011 4:00 AM, Bernd Semler wrote:

> aptitude why $packagename 

~$ aptitude why apache2 --show-summary
Packages requiring apache2:
  phpsysinfo

> and/or in combination with --show-summary (there is an example in the
> man page). 
> 
> Another proposal is:
> 
> apt-cache rdepends $packagename

~$ apt-cache rdepends apache2
...
 |phpsysinfo
    apache2-mpm-itk
    apache2-mpm-event
    apache2-mpm-prefork
    apache2-mpm-worker
...

Those are the same 4 dependencies shown for a gazillion other packages
that were listed by the command.  Looks like cookie cutter stuff.  All 4
of these are internal to Apache2.  They are not shared libraries.  They
only run if apache's httpd is running.  Clearly it is not in my case.
And clearly phpsysinfo can't have a dependency on these 4.

In addition, things like libapache2-mod-php5 and tons of other related
junk has been installed on my server(s) due to these false dependencies.

Hmmm... maybe not.  The plot thickens...

~$ aptitude why libapache2-mod-php5
i   php5 Depends libapache2-mod-php5 (>= 5.3.3-7+squeeze3)
libapache2-mod-php5filter (>= 5.3.3-7+squeeze3)
php5-cgi (>= 5.3.3-7+squeeze3)

~$ aptitude why php5
i   phpsysinfo Depends php5

Ok, this is interesting that 'aptitude why apache2' doesn't show the
intermediate dependency between phpsysinfo and libapache2-mod-php5, as
man says the command should.  It appears there is no direct dependency
between phpsysinfo and apache2.

So, if I'm reading this correctly, and these aren't phantom
dependencies, if one wishes to run php5 with lighttpd, one has to have
all of apache2 installed also?  Is that correct?  That seems strange to
have one httpd so entirely dependent on another...if this is actually
the case.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e997247.2040...@hardwarefreak.com

Reply via email to