Nominated for SRU for Jaunty. This bug causes installation to fail for
users who do not already have PostgreSQL or MySQL configured first. This
bug was fixed in Karmic with 1.9.4.dfsg-0ubuntu4 by having moodle depend
on either PostgreSQL or MySQL. Also we are moving debconf to depends
instead of pre-depends as pre-depends is heavily discouraged.

TEST CASE:
To test bug:
Install moodle. During installation, select postgresql (as that is default). 
Moodle installation will fail with the error "package moodle 
1.9.4.dfsg-0ubuntu1.1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1" If moodle were setup correctly, you would 
be able to access the software by visiting http://localhost/moodle/ in your web 
browser.

To test fix:
Purge moodle php5-pgsql php5-xmlrpc postgresql postgresql-8.3 
postgresql-client-8.3 postgresql-client-common postgresql-common mysql-server 
mysql-server-5.0 php5-mysql
Install patched moodle.
Installation should complete and http://localhost/moodle/ should work fine.

There is no expected regression potential.

** Attachment added: "moodle_1.9.4.dfsg-0ubuntu1.2.debdiff"
   http://launchpadlibrarian.net/34309718/moodle_1.9.4.dfsg-0ubuntu1.2.debdiff

-- 
package moodle 1.9.4.dfsg-0ubuntu1 failed to install/upgrade: 
https://bugs.launchpad.net/bugs/378726
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to