config.php symlink not removed on purge

Bug #315136 reported by Jeremy Jackson
6
Affects Status Importance Assigned to Milestone
phpldapadmin (Debian)
Fix Released
Unknown
phpldapadmin (Ubuntu)
Fix Released
Medium
Daniel Hahler

Bug Description

Binary package hint: phpldapadmin

It seems that after dpkg -r, then dpkg -P, /usr/share/phpldapadmin/config/config.php is still left over.

dpkg - warning: while removing phpldapadmin, directory `/usr/share/phpldapadmin/config' not empty so not removed.
dpkg - warning: while removing phpldapadmin, directory `/usr/share/phpldapadmin' not empty so not removed.

On re-installing, it gives error:

ln: creating symbolic link `/usr/share/phpldapadmin/config/config.php': File exists

This is on Hardy 1.1.0.4-2ubuntu1

Revision history for this message
Andreas Olsson (andol) wrote :

I experience exactly the same warnings while purging phpldapadmin and then reinstalling it again.

Besides being a bit untidy I'm not sure how much of a problem this is. phpldapadmin still seems to work fine after the reinstall.

Changed in phpldapadmin:
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

The same issue exists in Jaunty. I'm providing a Jaunty debdiff which modifies debian/postrm to (also) remove /usr/share/phpldapadmin/config/config.php during purge. That done phpldapadmin purges (and reinstalls) cleanly.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks for the debdiff Andreas, I'll sponsor this.
Can you please forward it to Debian (e.g. by using submittodebian) and then link the new bug here?
If you do not want to do it, please tell me, and I'll do it.

Changed in phpldapadmin:
assignee: nobody → blueyed
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phpldapadmin - 1.1.0.5-6ubuntu2

---------------
phpldapadmin (1.1.0.5-6ubuntu2) jaunty; urgency=low

  * Removes /usr/share/phpldapadmin/config/config.php during purge. (LP: #315136)

 -- Andreas Olsson <email address hidden> Fri, 06 Mar 2009 00:24:35 +0100

Changed in phpldapadmin:
status: Triaged → Fix Released
Revision history for this message
Andreas Olsson (andol) wrote :

@Daniel Hahler: I'll do it. I just need to look up how to do it first.

Changed in phpldapadmin (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.