Package: webcalendar
Version: 1.0.2-2
Severity: grave

When I installed webcalendar, I got the option "Let debconf manage
settings.php?"

- Choosing "yes" led to a permissions error trying to execute
  /usr/share/webcalendar/tools/dbconfig_oldconf.sh (which had
  permissions 644)
- Choosing "no" led to an error starting with "sanity check failed for
  dbc_dbtype".
- Both errors left the package in a "broken" dpkg state

- chmod a+x .../dbconfig_oldconf.sh and dpkg-reconfigure led to a string
  of errors "no such file /etc/webcalendar/settings.php", as it tried to
  detect my settings from a nonexistant "previous installation"

So, I tried to just ignore the post-install script and use the
instructions in /usr/share/doc/webcalendar/README.gz for postgresql,
namely:

  createuser --no-adduser --no-createdb webcalendar
  createdb --owner webcalendar webcalendar
  pgsql -U webcalendar webcalendar
  \i /usr/share/webcalendar/sql/tables-postgres.sql

Then I added "Include /etc/webcalendar/apache.conf" to my Apache
site-config, which according to README.gz should be enough to get the
initial setup page at http://localhost/webcalendar, which will create
the settings.php file.  But whenever I go to that URL, I get "Could not
read /etc/webcalendar/settings.conf".

Indeed, settings.conf doesn't exist.  I've tried commenting in the
SetEnv line in apache.conf and giving it the name "settings.php" instead
(which also doesn't exist, but it's the filename mentioned in
README.gz), and against my own instincts I did "chmod -R 777
/etc/webcalendar" and "chmod -R 777 /usr/share/webcalendar" - the README
says to chmod 777 some directory, but I can't figure out which.

Since this didn't work, I went looking for more docs, and found that
/usr/share/webcalendar/www is a broken symlink (to
"../../../webcalendar/docs").

Since the post-install script doesn't work, the install contains
dangling symlinks, and the only docs (README.gz) don't seem to match
reality, I conclude that this package is completely broken.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages webcalendar depends on:
ii  apache2-mpm-prefork [httpd] 2.0.55-4     traditional model for Apache2
ii  dbconfig-common             1.8.11       common framework for packaging dat
ii  debconf [debconf-2.0]       1.4.56       Debian configuration management sy
ii  php4                        4:4.4.2-1    server-side, HTML-embedded scripti
ii  php4-cli                    4:4.4.2-1+b1 command-line interpreter for the p
ii  php4-mysql                  4:4.4.2-1+b1 MySQL module for php4
ii  ucf                         2.000        Update Configuration File: preserv

Versions of packages webcalendar recommends:
ii  php4-cli                   4:4.4.2-1+b1  command-line interpreter for the p
ii  postgresql                 7.4.7-6sarge1 object-relational SQL database man

-- debconf information:
  webcalendar/conf/httpd_conf: apache2
  webcalendar/note/admin_user:
  webcalendar/conf/db_persistent: false
  webcalendar/conf/single_user_login:
  webcalendar/conf/single_user_mode: false
  webcalendar/conf/use_http_auth: false
  webcalendar/status/debconf_managed: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to