Bug#575940: warn if packages do not adhere to Debian's Perl naming policy
Jonas Smedegaard <firstname.lastname@example.org> writes:
> On Sun, Feb 28, 2010 at 05:40:53PM +0900, Ansgar Burchardt wrote:
>>Steve Langasek <email@example.com> writes:
>>>> Ubuntu includes several Perl module packages that do not adhere
>>>> Debian's naming policy. Once Debian includes these modules in
>>>> a differently named package, there are problems if one tries to
>>>> install both packages at the same time. See  or  for
>>> Do you have a proposal for how to identify these packages? Ubuntu
>>> packages are also expected to comply with this part of Debian
>>> policy, so this doesn't change anything unless we can automatically
>>> identify the ones that don't.
>> I did search for package containing files in
>> /usr/(lib|share)/perl5. Most problematic packages were already
>> renamed, I only filed a bug report for gtk2-ex-formfactory-perl 
>> (already fixed). I also identified a package that was renamed in
>> Debian, but where the old package has not been removed from Ubuntu
>> yet .
> Perhaps file a bug against lintian to watch this kind of pattern?
That is a good idea.
Could lintian warn if packages include files in /usr/(lib|share)/perl5
and the package name does not adhere to the Debian Perl Policy ?
To further avoid false positives it should be enough to warn only for
packages named "*-perl" (but not "lib*-perl") or "perl-*".
See the initial mail  on firstname.lastname@example.org and the discussion for a
suggested mass-bug filing  on email@example.com for details why this
might be a problem.