Missing dependency for libapache-dbi-perl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
request-tracker3.8 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
request-tracker4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: request-tracker3.8
On Ubuntu 10.10 with the following packages installed
ii request-tracker3.8 3.8.8-4 extensible trouble-ticket tracking system
ii rt3.8-apache2 3.8.8-4 Apache 2 specific files for request-tracker3.8
ii rt3.8-clients 3.8.8-4 mail gateway and command-line interface to request-tracke3.8
ii rt3.8-db-mysql 3.8.8-4 MySQL database backend for request-tracker3.8
Apache fails to start once configured tor request-tracker, the error in the Apache logs is:
[Sun Apr 24 09:18:05 2011] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/local/
[Sun Apr 24 09:18:05 2011] [error] Can't load Perl module Apache::DBI for server rtir:0, exiting...
Cause: This error occurs because of the missing Apache::DBI Perl module.
Workaround: Installing libapache-dbi-perl solves the problem.
Solution: libapache-dbi-perl should be added in the dependencies of rt3.8-apache2
I just took a quick look at this, and replicated it. However, libapache-dbi-perl _is_ in the dependencies of rt3.8-apache2, but because of the way the dependencies have been phrased, apt decides to install speedy-cgi-perl is a fine stand-in for libapache-dbi-perl, and installs that instead. I don't know enough about phrasing .dep dependencies to know how fixable this is, though.