phpldapadmin uses old /etc/apache2/conf.d subdirectory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpldapadmin (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
phpldapadmin configuration still uses old /etc/apache2/conf.d and not the /etc/apache2/
# apt-get install phpldapadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
phpldapadmin
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,284 kB of archives.
After this operation, 4,571 kB of additional disk space will be used.
Get:1 http://
Fetched 1,284 kB in 3s (333 kB/s)
Preconfiguring packages ...
Selecting previously unselected package phpldapadmin.
(Reading database ... 138547 files and directories currently installed.)
Unpacking phpldapadmin (from .../phpldapadmi
Setting up phpldapadmin (1.2.2-5ubuntu1) ...
ln: failed to create symbolic link ‘/etc/apache2/
dpkg: error processing phpldapadmin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
phpldapadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root#
WORKAROUND
Make a symbolic link connecting the existing but new /etc/apache2/ conf-enabled for an older /etc/apache2/conf.d
# apt-get remove phpldapadmin
# cd /etc/apache2
# ln -s conf-enabled conf.d
# apt-get install phpldapadmin
DONT FORGET TO DELETE THE SYMBOLIC LINK AFTER INSTALLING phpldapadmin. YMMV.
# rm /etc/apache2/conf.d