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

Re: Dual-lived modules with scripts



On Wed, May 18, 2011 at 07:21:23PM +0100, Dominic Hargreaves wrote:
 
> I'm in the process of packaging Devel::DProf from CPAN as part of
> the deprecation routine for perl 5.14. This module installs a script
> and would by default conflict with the main perl package
> (/usr/bin/dprofpp).
> 
> Can anyone point me to any prior art here with regards to resolving
> such a conflict? The obvious thing to do would be to use alternatives,
> but it would be useful to know about previous experience or discussion,
> for consistency.

The first thing that comes to mind is libmodule-corelist-perl. It uses
diversions, not alternatives. Be sure to divert the manpages too,
see #474529.

We also used to have libarchive-tar-perl with ptar, still available at
 svn://svn.debian.org/svn/pkg-perl/attic/libarchive-tar-perl/trunk

Unfortunately that one picked up the diversions route too late, causing
some pain for a point update of Etch. See #470154 for the full (long)
story.
-- 
Niko Tyni   ntyni@debian.org 


Reply to: