Your message dated Tue, 07 Mar 2006 15:36:26 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354079: Squirrelmail: apt-get wants to install apache2
even though apache 1.x is installed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: squirrelmail
Severity: important
Screen capture follows:
iconsf:/home/carlf# apt-get install squirrelmail
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache2-common apache2-mpm-prefork libapache2-mod-php4 squirrelmail-locales
Suggested packages:
apache2-doc imapproxy
The following NEW packages will be installed:
apache2-common apache2-mpm-prefork libapache2-mod-php4 squirrelmail
squirrelmail-locales
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 7172kB of archives.
After unpacking 25.6MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
iconsf:/home/carlf# apt-get install apache-ssl
Reading Package Lists... Done
Building Dependency Tree... Done
apache-ssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
According to the published dependencies, Squirrelmail depends on either apache2
OR httpd,
and apache-ssl provides httpd. Why is Squirrelmail refusing to install?
I'd be glad to provide any additional information, and I'd be grateful for any
assistance.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
--- End Message ---
--- Begin Message ---
Hello Carl,
Thanks for reporting.
> According to the published dependencies, Squirrelmail depends on either
> apache2 OR httpd,
> and apache-ssl provides httpd. Why is Squirrelmail refusing to install?
>
> I'd be glad to provide any additional information, and I'd be grateful for
> any assistance.
The problem is probably because you did not have PHP4 installed. apt-get
will have to choose one of the php modules that are given in the
dependencies, and will pick the first one, and come to the conclusion
that that one requires apache2. It could have chosen it the other way
around (use the second alternative, and the existing apache-ssl) but it
can't possibly know that that solution is 'better' than the other one.
Aptitude handles this situation slightly better, but in any case, you're
best off to just specify what you want. Even though apt is smart, there
are so many combinations of apache versions and php modules that it
can't always guess right which the user intended.
I'm closing this bug, since SquirrelMail's dependencies are correct. You
can of course file a patch against apt-get to better handle such a
situation if you wish to, but it's a very hard problem.
bye,
Thijs
signature.asc
Description: This is a digitally signed message part
--- End Message ---