On 10/21/06, Aaron M. Ucko <[EMAIL PROTECTED]> wrote:

erlang-base(-hipe)'s post-installation and pre-removal scripts search
for services that depend on erlang by running dpkg -S individually on
each file in /etc/init.d.  While this is technically valid, it can
take a *very* long time on systems with many packages installed,

Thanks for the report! We'll upload fixed version after 1:11.b.1.dfsg-1 enters
testing (it fixes RC-bug concerning non free docs in the source).

An even faster approaach would be to require all affected packages to
register their init scripts by, say, creating symlinks in some special
directory; you'd need to conflict with or special-case versions that
haven't been adjusted to do so yet, though.

We thought about this approach. It requires changes in other packages.
While it's not so complicated to fix packages which are shipped with Debian
(actually there are only two of them) there may be packages, which people build
for custom use.
I wouldn't like to break them on erlang upgrade.

So, I would choose optimizing dpkg -S call and not separate registering erlang
dependent services.

--
Sergei Golovan


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

Reply via email to