Package: dokuwiki
Version: 0.0.20091225c-5
Followup-For: Bug #588700

In order to test the fixes for the acl plugin in 0.0.20091225c-5, I did the 
following:

1. Uninstalled dokuwiki using "aptitude remove"
2. Manually removed the paths /etc/dokuwiki, /usr/share/dokuwiki and 
/var/lib/dokuwiki

The following is a log of the install process for 0.0.20091225c-5 -

# apt-unstable install dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  dokuwiki php-geshi{a}
0 packages upgraded, 2 newly installed, 0 to remove and 321 not upgraded.
Need to get 0B/2793kB of archives. After unpacking 21.6MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package php-geshi.
(Reading database ... 36434 files and directories currently installed.)
Unpacking php-geshi (from .../php-geshi_1.0.8.4-1_all.deb) ...
Selecting previously deselected package dokuwiki.
Unpacking dokuwiki (from .../dokuwiki_0.0.20091225c-5_all.deb) ...
Setting up php-geshi (1.0.8.4-1) ...
Setting up dokuwiki (0.0.20091225c-5) ...
Not replacing deleted config file /etc/dokuwiki/htaccess
Replacing config file /etc/dokuwiki/local.php with new version
Replacing config file /var/lib/dokuwiki/acl/acl.auth.php with new version
Not replacing deleted config file /var/lib/dokuwiki/acl/users.auth.php
chown: cannot access `/var/lib/dokuwiki/acl/users.auth.php': No such file or 
directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dokuwiki
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up dokuwiki (0.0.20091225c-5) ...
sed: can't read /etc/dokuwiki/htaccess: No such file or directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

# touch /var/lib/dokuwiki/acl/users.auth.php

# apt-unstable install dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  dokuwiki
0 packages upgraded, 0 newly installed, 0 to remove and 321 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up dokuwiki (0.0.20091225c-5) ...
sed: can't read /etc/dokuwiki/htaccess: No such file or directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 dokuwiki
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up dokuwiki (0.0.20091225c-5) ...
sed: can't read /etc/dokuwiki/htaccess: No such file or directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

# touch /etc/dokuwiki/htaccess

# apt-unstable install dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  dokuwiki
0 packages upgraded, 0 newly installed, 0 to remove and 321 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up dokuwiki (0.0.20091225c-5) ...
Replacing config file /etc/dokuwiki/local.php with new version
Replacing config file /etc/dokuwiki/apache.conf with new version
Not replacing deleted config file /etc/dokuwiki/lighttpd.conf
chmod: cannot access `/etc/dokuwiki/lighttpd.conf': No such file or directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dokuwiki
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up dokuwiki (0.0.20091225c-5) ...
Replacing config file /etc/dokuwiki/local.php with new version
Not replacing deleted config file /etc/dokuwiki/lighttpd.conf
chmod: cannot access `/etc/dokuwiki/lighttpd.conf': No such file or directory
dpkg: error processing dokuwiki (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dokuwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

In addition, once dokuwiki is fully configured, the files in /etc/dokuwiki do 
not appear to be properly replaced:

# ls -l /etc/dokuwiki
total 484
lrwxrwxrwx 1 wiki www-data     34 Jul 15 22:33 acl.auth.php -> 
/var/lib/dokuwiki/acl/acl.auth.php
-rw-r--r-- 1 wiki www-data    448 Jan 17 02:35 acl.auth.php.dist.dpkg-new
-rw-r--r-- 1 wiki www-data   5360 Jan 17 02:35 acronyms.conf.dpkg-new
-rw-r--r-- 1 wiki www-data    178 Jul 15 21:36 apache.conf
-rw-r--r-- 1 wiki www-data   2441 Jul 15 22:36 apache.conf.local
-rw-r--r-- 1 wiki www-data  10708 Jul 15 09:18 dokuwiki.php
-rw-r--r-- 1 wiki www-data   1555 Jul 15 22:35 htaccess
-rw-r--r-- 1 wiki www-data   6408 Jan 17 02:35 interwiki.conf
-rw-r--r-- 1 wiki www-data   1418 Jul 15 09:18 license.php
-rw-r--r-- 1 wiki www-data      0 Jul 15 21:36 lighttpd.conf
-rw-r--r-- 1 wiki www-data   1307 Jul 15 22:36 local.php
-rw-r--r-- 1 wiki www-data    736 Jan 17 02:35 local.php.dist.dpkg-new
-rw-r--r-- 1 wiki www-data   1762 Jan 17 02:35 mediameta.php.dpkg-new
-rw-r--r-- 1 wiki www-data   1729 Jan 17 02:35 mime.conf.dpkg-new
-rw-r--r-- 1 wiki www-data    356 Jan 17 02:35 msg.dpkg-new
-rw-r--r-- 1 wiki www-data  10926 Jan 17 02:35 mysql.conf.php.example.dpkg-new
-rw-r--r-- 1 wiki www-data    105 Jan 17 02:35 scheme.conf.dpkg-new
-rw-r--r-- 1 wiki www-data    723 Jan 17 02:35 smileys.conf.dpkg-new
-rw-r--r-- 1 wiki www-data     58 Jul 11 05:28 userprint.css.dpkg-new
lrwxrwxrwx 1 wiki www-data     36 Jul 15 22:33 users.auth.php -> 
/var/lib/dokuwiki/acl/users.auth.php
-rw-r--r-- 1 wiki www-data    151 Jan 17 02:35 users.auth.php.dist.dpkg-new
-rw-r--r-- 1 wiki www-data     59 Jul 11 05:28 userstyle.css.dpkg-new
-rw-r--r-- 1 wiki www-data 384453 Jan 17 02:35 wordblock.conf.dpkg-new
-rw-r--r-- 1 wiki www-data     55 Jan 17 02:35 words.aspell.dist.dpkg-new

As you can see all the files have a "dpkg-new" extension appended. This causes 
an error when trying to access 
dokuwiki.


-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-164.10.1.el5.028stab067.4 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dokuwiki depends on:
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
ii  libphp-simplepie        1.1.1+debian-1   RSS and Atom feed parsing in PHP
ii  php-geshi               1.0.8.4-1        Generic Syntax Highlighter
ii  php5                    5.3.2-0.dotdeb.2 server-side, HTML-embedded scripti
ii  ucf                     3.0016           Update Configuration File: preserv

Versions of packages dokuwiki recommends:
ii  php5-cli                5.3.2-0.dotdeb.2 command-line interpreter for the p
ii  php5-gd                 5.3.2-0.dotdeb.2 GD module for php5

dokuwiki suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to