Bug#526538: marked as pending

2009-05-04 Thread Raphael Hertzog
tag 526538 pending
thanks

Hello,

Bug #526538 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=45a7adc

---
commit 45a7adc8ac5e8864d3a3865b7c0c9cb4ef3b4388
Author: Raphael Hertzog hert...@debian.org
Date:   Mon May 4 20:49:42 2009 +0200

update-alternatives: don't remove real files conflicting with link

When an alternative is installed and a real file is in conflict, the real
file is kept. When the same alternative is fully removed, the real file
should be kept according to the same logic (but currently it was removed).
This commit modifies update-alternatives to follow this expected
behaviour.

Also add a non-regression test.

diff --git a/debian/changelog b/debian/changelog
index 624d26c..6053ecb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,9 @@ dpkg (1.15.1) UNRELEASED; urgency=low
   * Bump Standards-Version to 3.8.1 (no change required).
   * Do not store usernames and group names in tarballs created by dpkg-source,
 they are anyway ignored at unpack time. Closes: #523184
+  * Fix update-alternatives to not remove real files installed in place of
+an alternative link when the corresponding alternative is fully removed.
+Closes: #526538
 
   [ Guillem Jover ]
   * Fix typo in dpkg output (‘unexecpted’ → ‘unexpected’). Closes: #519082




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



Bug#526538: marked as pending

2009-05-04 Thread Yann Dirson
On Mon, May 04, 2009 at 07:07:40PM +, Raphael Hertzog wrote:
 Bug #526538 reported by you has been fixed in the Git repository. You can
 see the changelog below, and you can check the diff of the fix at:
 
 http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=45a7adc

Thanks.  Wouldn't it make sense as well to issue a warning when the
alternative is registered but something by that name already exists ?




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