It appears to only affect the mysql-server choice. The postgres choice is fine.
You were right to suggest the /var/log/dpkg.log file, it shows that the php5-mysql package was not installed with moodle. Examining the moodle control file, I see that it uses the expression: Depends: ... php5-pgsql | php5-mysql, ... And I consult with Debian Policy in order to understand the '|' thingy: http://www.debian.org/doc/debian-policy/ch-relationships.html >"In the Depends, Recommends, Suggests, Pre-Depends, Build-Depends and Build-Depends-Indep control file fields of the package, which >declare dependencies on other packages, the package names listed may also include lists of alternative package names, >separated by vertical bar (pipe) symbols |. In such a case, if any one of the alternative packages is installed, that part of the >dependency is considered to be satisfied. " Now, I am sure that the original intent of the depends line is to somehow make the moodle package work equally well with both postgres and mysql. However, given this expression aptitude always installs php5-pgsql regardless of the selection of which server the administrator wants to use. This means moodle with postgres works out of the box, and moodle with mysql does not. I must confess I was totally wrong initially, the problem is not php-db, but rather the lack of php5-mysql. An easy workaround is to depend on both (Depends: ...php5-pgsql, php5-mysql ...) equally. So far as I know, these packages do not logically conflict nor provide conflicting paths. On Thu, Oct 29, 2009 at 12:50 PM, Jeremy Bicha <[email protected]> wrote: > I can't duplicate this bug on a new Karmic install followed by sudo > aptitude install moodle. Moodle appears to work just fine without php- > db. Did you do anything unusual when attempting to install moodle? Did > you choose postgresql or mysql ? > > Could you please attach a copy of /var/log/dpkg.log ? > > ** Changed in: moodle (Ubuntu) > Status: New => Incomplete > > -- > moodle package is lacking critical dependancy on php-db > https://bugs.launchpad.net/bugs/463381 > You received this bug notification because you are a direct subscriber > of the bug. > ** Attachment added: "dpkg.log" http://launchpadlibrarian.net/34638751/dpkg.log -- moodle package is lacking critical dependancy on php-db https://bugs.launchpad.net/bugs/463381 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
