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]