[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFC: RC-Bug#776251: ack-grep fails to install due to [local] diversion problem



Hi,

I forgot to Cc the release team on this despite I'd like to hear the
view of the release team on https://bugs.debian.org/776251

(Please reply to the bug report and maybe also Cc the debian-release
ML so that it's clear that there was a comment without having to look
at the bug report itself. The Reply-To header is set accordingly.)

----- Forwarded message from Axel Beckert <abe@debian.org> -----
Date: Mon, 26 Jan 2015 01:01:03 +0100
From: Axel Beckert <abe@debian.org>
To: Olivier Schwander <olivier.schwander@ens-lyon.org>, 776251@bugs.debian.org
Subject: Bug#776251: ack-grep fails to install due to diversion problem

Hi,

this seems more or less the same issue as
https://bugs.launchpad.net/ubuntu/+source/ack-grep/+bug/1385390

Olivier Schwander wrote:
> ack-grep fails to install pretending `/usr/bin/ack' is diverted by
> `/usr/bin/ack-grep' although the /usr/bin/ack file does not exist:
[...]
> It works well after manullay removing the diversion:

The package never used a diversion. That diversion must have been made
by the local admin and hence can be regarded as a non-package issue.

> $ dpkg-divert --list "*ack*"
> local diversion of /usr/bin/ack-grep to /usr/bin/ack
  ^^^^^

... which backs my assumption that a _local_ diversion (i.e. none made
by a package) is the cause.

I tend to close this issue as invalid/wontfix since the cause is a
local (common(*) but so far unsupported) modification of the package.
IMHO it has nothing to do with the package itself.

But I'd like to hear comments from others from others (especially the
Debian Perl Team and the Release Team) first, too.

If they agree, I can imagine to add a diversion detection and then
removal to ack-grep's preinst script despite the package never used a
diversion. But I'm a) unsure if it's ok for a package to remove a
_local_ diversion, and b) if it's a good idea to introduce such a
change that late in the freeze.

(*) Due to the Kanji converter ack[1], Debian was forced to rename the
    later introduced grep-like tool also called "ack" to "ack-grep".
    It soon was more popular than the Kanji converter and many admins
    used dpkg-divert to rename ack-grep back to ack. Which is
    perfectly ok, but not supported by the package. At some point
    upstream even seem to have recommended to use such a diversion[2],
    despite he nowadays recommends a simple symlink[3].

[1] https://packages.qa.debian.org/a/ack.html
[2] https://bugs.launchpad.net/ubuntu/+source/ack-grep/+bug/1385390/comments/3
[3] http://beyondgrep.com/documentation/ack-2.14-man.html#faq

		Regards, Axel
[…]
----- End forwarded message -----

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Attachment: signature.asc
Description: Digital signature


Reply to: