Bug#339975: libticables3: does not purge cleanly

2005-11-19 Thread Lars Wirzenius
Package: libticables3
Version: 3.9.6-3

When testing libticables3 with piuparts I get the following error:

0m7.1s ERROR: Package purging left files on system:
  /etc/udev
owned by: libticables3
  /etc/udev/rules.d
owned by: libticables3
  /etc/udev/rules.d/025_libticables.rules

My analysis: the postrm script tries to remove the link when the package
is purged, but this is too late: dpkg does not know about the link
in /etc/udev/rules.d, so it tries to remove the directories already when
the package is being removed, before it is being purged.

I guess the link should be removed already when the package is purged?
Alternatively, don't put /etc/udev/rules.d into the package, create it
in postinst (and remove in postrm).

-- 
Fundamental truth #1: Complexity is the enemy.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#339975: libticables3: does not purge cleanly

2005-11-19 Thread Julien BLACHE
Lars Wirzenius [EMAIL PROTECTED] wrote:

Hi,

 My analysis: the postrm script tries to remove the link when the package
 is purged, but this is too late: dpkg does not know about the link
 in /etc/udev/rules.d, so it tries to remove the directories already when
 the package is being removed, before it is being purged.

Yes, that's what happens.

 I guess the link should be removed already when the package is purged?

Sure, but I'm still looking for the proper solution here.

 Alternatively, don't put /etc/udev/rules.d into the package, create it
 in postinst (and remove in postrm).

I'll keep it in the package but I'll add the necessary rmdir magic to
remove /etc/udev. There's room for improvement in the package purge
procedure, it seems :/


This really is a non-issue, as udev will be obsole^Wstandard by the
time Etch releases, so every desktop system will probably have it
installed...

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]