Your message dated Fri, 07 Nov 2008 03:02:12 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#417554: fixed in moodle 1.8.2-2
has caused the Debian Bug report #417554,
regarding moodle: fails to install if no postgresql client is available
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
417554: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417554
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: moodle
Version: 1.6.3-2
Severity: serious
Justification: Policy violation (section 7.2)

hi,

while doing archive wide piuparts tests some packages using
wwwconfig-common failed to install because of postgresql not beeing
available (this is moodle, for example):

  Creating config file /etc/moodle/config.php with new version
   /usr/share/wwwconfig-common/pgsql.get: line 77: psql: command not found
  dpkg: error processing moodle (--configure):
   subprocess post-installation script returned error exit status 127
  Errors were encountered while processing:
   moodle
  E: Sub-process /usr/bin/dpkg returned an error code (1)

and phpgroupware:

   /usr/share/wwwconfig-common/pgsql.get: line 77: psql: command not found
  /usr/share/wwwconfig-common/pgsql.get: line 77: psql: command not found
  dpkg: error processing phpgroupware (--configure):
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   phpgroupware

reading policy section 7.2 i get the impression this is not policy
compliant:

 "The Depends field should also be used if the postinst, prerm or postrm
  scripts require the package to be present in order to run."

which is imho the case here .. both wwwconfig-common and moodle to
Recommend/Suggest postgresql, but they should nevertheless be
installable if the Recommends/Suggests are not satisfied:

Suggests: 
  "[..] Using this field tells the packaging system and the user
  that the listed packages are related to this one and can perhaps enhance
  its usefulness, but that installing this one without them is perfectly
  reasonable."

just like dbconfig-common goes ahead with installing the package even
if there is no mysql/postgresql client available.

Other packages using wwwconfig--common, like libapache-mod-acct-mysql do
check for mysql client to be available before calling dbconfig-common:

    if [ -x $(which mysql) ]; then
            [...]
    else
        echo "Not configuring MySQL database because we cannot locate"
        echo "the mysql client executable (mysql-client package missing)."
    fi

i dont know wwwconfig-commons best practises here, im assigning the bugs
to the packages now, please merge and reassign to wwwconfig-common if
appropriate.

bye,
    - michael


--- End Message ---
--- Begin Message ---
Source: moodle
Source-Version: 1.8.2-2

We believe that the bug you reported is fixed in the latest version of
moodle, which is due to be installed in the Debian FTP archive:

moodle_1.8.2-2.diff.gz
  to pool/main/m/moodle/moodle_1.8.2-2.diff.gz
moodle_1.8.2-2.dsc
  to pool/main/m/moodle/moodle_1.8.2-2.dsc
moodle_1.8.2-2_all.deb
  to pool/main/m/moodle/moodle_1.8.2-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francois Marier <[EMAIL PROTECTED]> (supplier of updated moodle package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 07 Nov 2008 08:24:28 +1300
Source: moodle
Binary: moodle
Architecture: source all
Version: 1.8.2-2
Distribution: unstable
Urgency: high
Maintainer: Moodle Packaging Team <[EMAIL PROTECTED]>
Changed-By: Francois Marier <[EMAIL PROTECTED]>
Description: 
 moodle     - Course Management System for Online Learning
Closes: 408995 417554 425839 429190 429339 432264 469094 471158 488525 489533 
489634 492492 494642 496069 504235 504345
Changes: 
 moodle (1.8.2-2) unstable; urgency=high
 .
   * Adopt orphaned package (closes: #494642)
   * Acknowledge security NMU (closes: #489533, #432264)
   * Add Vcs-* fields to debian/control
 .
   Release-critical and security bugs:
 .
   * Depend on smarty instead of using the embedded copy that is shipped
     with Moodle (closes: #471158, #488525, #504345)
   * Patch security bug in the embedded (and customised) copy of phpmailer
     (CVE-2007-3215, closes: #429339, #429190)
   * Patch cross-site scripting bug (CVE-2008-3326, closes: #492492)
   * Patch snoopy input sanitising (CVE-2008-4796, closes: #504235)
   * Upgrade to new LGPL version of domxml-php4-to-php5 (closes: #496069)
 .
   Trivial bug fixes:
 .
   * Depend on zip (closes: #408995)
   * Add mysql-client as an alternative to postgresql-client
     (closes: #417554, #469094)
   * Recommend php5-ldap (closes: #425839)
   * Delete unnecessary script with bashisms (closes: #489634)
 .
   Lintian warnings:
 .
   * Bump Standards-Version to 3.8.0
   * Add homepage field to debian/control
   * Remove cvsignore file
   * Remove extra license file
   * Depend on yui instead of using an embedded copy
Checksums-Sha1: 
 daf13cdf8d4668c46365f678968bbb2c84934e65 1290 moodle_1.8.2-2.dsc
 e934a6b64f288cc38d5809ae76636b88d16111eb 32631 moodle_1.8.2-2.diff.gz
 177b366cfd49707798ed845863713a5d52673685 8718370 moodle_1.8.2-2_all.deb
Checksums-Sha256: 
 c4b10049b4bef931e10d0e87486b461b79eba70beda9ee9073dcec21afff7e05 1290 
moodle_1.8.2-2.dsc
 33e6e22760c5c3020424cde82f95692682c35eba9a37bf7458c64d7c6e33c431 32631 
moodle_1.8.2-2.diff.gz
 0d22b24a138ea0973a712e64498e84bf087cc331121c874e0a88f1fc00747564 8718370 
moodle_1.8.2-2_all.deb
Files: 
 9fcb7910c4099f2fdf1ee6c67891b26f 1290 web optional moodle_1.8.2-2.dsc
 0e46220e6103330bd550f56adbada9ca 32631 web optional moodle_1.8.2-2.diff.gz
 5eb75a2055f1eb1c1c585bdfa878cda9 8718370 web optional moodle_1.8.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkTrjEACgkQScUZKBnQNIZoBACdHVn3xycw0rx1TgSCBZtI4o2d
N3kAoINsZZa5NV5ss9g2ljKg75TtE7pX
=Dtcq
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to