Closed bhavicp closed 12 years ago
When installing; Get the following error:
Errors were encountered while processing:
dokuwiki
braincase
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian-braincase:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up dokuwiki (0.0.20091225c-10+squeeze2) ...
sed: can't read /etc/dokuwiki/htaccess: No such file or directory
dpkg: error processing dokuwiki (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of braincase:
braincase depends on dokuwiki; however:
Package dokuwiki is not configured yet.
dpkg: error processing braincase (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
Errors were encountered while processing:
dokuwiki
braincase
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems doing touch /etc/dokuwiki/htaccess
. Then running -f install -> Selecting "Install Maintainers version" seems to be a workout to this issue for now/
Oddly, The package DOES install the htaccess file, but I think something else in the install is requiring it before it's installed into the system. Causing it to fail.
After using the above workaround, going to http://114.31.208.79/ goes to /doku.php which only has a top nav bar and nothing else.
I didn't get this error message after running a fresh install. Assuming it's a configuration issue. I did find another issue where a circular reference is introduced after install by linking /etc/apache2/apache2.conf
to /etc/apache2/conf.d/dokuwiki.conf
. I'm not sure where this link comes from (assuming the dokuwiki install) but has been removed now.
Build: 17-Sep-2012 04:13 395K