phpldapadmin uses old /etc/apache2/conf.d subdirectory

Bug #1321831 reported by J. Greene on 2014-05-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phpldapadmin (Ubuntu)
Undecided
Unassigned

Bug Description

phpldapadmin configuration still uses old /etc/apache2/conf.d and not the /etc/apache2/conf-available directory schema.

# 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://us.archive.ubuntu.com/ubuntu/ saucy/universe phpldapadmin all 1.2.2-5ubuntu1 [1,284 kB]
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 .../phpldapadmin_1.2.2-5ubuntu1_all.deb) ...
Setting up phpldapadmin (1.2.2-5ubuntu1) ...
ln: failed to create symbolic link ‘/etc/apache2/conf.d/phpldapadmin’: No such file or directory
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#

J. Greene (jgreene) wrote :

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

mouna (mouna-star) wrote :

J. Greene (jgreene) please what that's mean Make a symbolic link connecting the existing but new /etc/apache2/conf-enabled for an older /etc/apache2/conf.d

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers