Bug#758070: ldap-account-manager: symlinks to apache.conf cause dpkg to leave package uninstalled

2014-08-21 Thread Roland Gruber
Hi,

On 14.08.2014 02:03, mat...@hangar.org wrote:
 ln: failed to create symbolic link 
 ‘/etc/apache2/conf-enabled/ldap-account-manager.conf’: No such file or 
 directory


it seems that /etc/apache2/conf-available exists but
/etc/apache2/conf-enabled not. This is inconsistent but the package
needs to handle this.

Will be fixed in next release. Thanks a lot for your report.


-- 

Best regards

Roland



signature.asc
Description: OpenPGP digital signature


Bug#758070: ldap-account-manager: symlinks to apache.conf cause dpkg to leave package uninstalled

2014-08-13 Thread mat...@hangar.org
Package: ldap-account-manager
Version: 4.6-1
Severity: minor
Tags: d-i

Dear Maintainer,

I installed it, don't remember which problem came first, --purge removed and 
then:

apt-get install ldap-account-manager
eading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up ldap-account-manager (4.6-1) ...
ln: failed to create symbolic link 
‘/etc/apache2/conf-available/ldap-account-manager.conf’: File exists
dpkg: error processing package ldap-account-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

I then removed /etc/apache2/conf-available/ldap-account-manager.conf,

the I --purge removed, reinstalled and:

The following NEW packages will be installed:
  ldap-account-manager
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded. 
Need to get 0 B/10.6 MB of archives.
After this operation, 34.1 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ldap-account-manager.   
(Reading database ... 86307 files and directories currently installed.)
Preparing to unpack .../ldap-account-manager_4.6-1_all.deb ...  
Unpacking ldap-account-manager (4.6-1) ...
Setting up ldap-account-manager (4.6-1) ...
ln: failed to create symbolic link 
‘/etc/apache2/conf-enabled/ldap-account-manager.conf’: No such file or directory
dpkg: error processing package ldap-account-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ldap-account-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

so I created the directory /etc/apache2/conf-enabled/ and --purge removed

Afterwards installs correctly


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'testing-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ldap-account-manager depends on:
ii  apache2  2.2.22-13+deb7u2
ii  apache2-mpm-prefork [httpd]  2.2.22-13+deb7u2
ii  debconf [debconf-2.0]1.5.53
ii  php-fpdf 3:1.7.dfsg-1
ii  php5 5.4.4-14+deb7u11
ii  php5-common [php5-json]  5.4.4-14+deb7u11
ii  php5-gd  5.4.4-14+deb7u11
ii  php5-ldap5.4.4-14+deb7u11

Versions of packages ldap-account-manager recommends:
pn  php-apc  none

Versions of packages ldap-account-manager suggests:
ii  ldap-account-manager-lamdaemon  4.6-1
ii  perl5.18.2-7
ii  php5-mcrypt 5.4.4-14+deb7u11
ii  slapd [ldap-server] 2.4.39-1

-- Configuration Files:
/etc/ldap-account-manager/config.cfg [Errno 13] Permission denied: 
u'/etc/ldap-account-manager/config.cfg'

-- debconf information:
  ldap-account-manager/restart-webserver: true
  ldap-account-manager/alias: lam
  ldap-account-manager/config-webserver: apache2


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