Package: dokuwiki
Version: 0.0.20080505-1
Severity: important
Install of dokuwiki fails during postinst script. First, the
script stops after logging this message:
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
When hitting [return] the script resumes and stops again with the
same message. After a few returns dpkg comlains about missing arguments:
dpkg: --compare-versions takes three arguments: <version> <relation>
<version>
and the script fails with this error message:
Moving template directory from /usr/share to /var/lib...
copy failed: Is a directory at /var/lib/dpkg/info/dokuwiki.postinst
line 40, <STDIN> line 3.
The package is left in a broken state.
---<(kaimartin)>---
PS: Here is the complete install log:
/----------failed install dokuwiki------------------
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
DokuWiki Document Root
----------------------
DokuWiki will be accessible through a directory of your website. By default,
this is http://yourserver/dokuwiki, but you can change it to be anything within
your server. Enter just the directory portion below.
Wiki location: wiki
Select web server
-----------------
DokuWiki can be used with any of the given web servers. Select the servers
which you would like DokuWiki to be installed into.
1. apache 2. apache2 3. apache-ssl 4. apache-perl 5. none of the above
(Enter the items you want to select, separated by spaces.)
Web servers: 2
Access Control
--------------
A Wiki is normally used to provide unlimited access to information, which can be
freely modified by anyone. Since this is not always wanted, it is possible to
restrict access to the site on the basis of the originating IP address.
If you select 'localhost only', only people on the localhost (the machine the
Wiki is running on) will be able to connect. 'local network' will allow people
on machines in a local network (which you will need to specify) to talk to the
Wiki. 'global' will allow anyone, any where, to connect to the Wiki.
For security, this is set to 'localhost only' by default. Unless you have a
particular need for privacy on your Wiki, you should be able to allow access
globally without compromising site security.
1. localhost only 2. local network 3. global
Authorized network: global
Purging pages on removal
------------------------
By default, DokuWiki stores all its pages in a file database in
/var/lib/dokuwiki.
Accepting this option will leave you with a tidier system when the DokuWiki
package is removed, but may cause information loss if you have an operational
Wiki that gets removed.
Purge pages on package removal? y
Selecting previously deselected package dokuwiki.
(Reading database ... 294442 files and directories currently installed.)
Unpacking dokuwiki (from .../dokuwiki_0.0.20080505-1_all.deb) ...
Setting up dokuwiki (0.0.20080505-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell
buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
Creating config file /etc/dokuwiki/apache.conf with new version
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
Creating config file /var/lib/dokuwiki/acl/acl.auth.php with new version
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
Creating config file /var/lib/dokuwiki/acl/users.auth.php with new version
Installing into... [apache2]
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
dpkg: --compare-versions takes three arguments: <version> <relation> <version>
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
Moving template directory from /usr/share to /var/lib... copy failed: Is a
directory at /var/lib/dpkg/info/dokuwiki.postinst line 40, <STDIN> line 3.
dpkg: error processing dokuwiki (--configure):
subprocess post-installation script returned error exit status 21
Errors were encountered while processing:
dokuwiki
Not all changes and updates succeeded. For further details of the the failure,
please expand the 'terminal' panel below.
\-------------failed install dokuwiki--------------------
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dokuwiki depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii php4 6:4.4.4-9+lenny1 server-side, HTML-embedded scripti
ii ucf 3.007 Update Configuration File: preserv
Versions of packages dokuwiki recommends:
ii imagemagick 7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii php4-gd 6:4.4.4-9+lenny1 GD module for php4
ii php5-cli 5.2.6-2+b1 command-line interpreter for the p
dokuwiki suggests no packages.
-- debconf information:
* dokuwiki/system/accessible: global
* dokuwiki/webservers: apache2
* dokuwiki/system/documentroot: wiki
dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/system/purgepages: false
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]