Bug#836794: cme: 'cme update dpkg-copyright' no longer work

gregor herrmann gregoa at debian.org
Tue Sep 6 18:18:54 UTC 2016


On Tue, 06 Sep 2016 20:03:25 +0200, Dominique Dumont wrote:

> On Tue, 6 Sep 2016 16:41:07 +0200 gregor herrmann <gregoa at debian.org> wrote:
> > dod would be the ultimate authority here, but my guess is that this
> > doesn't work. In my understanding App::Cme/cme doesn't know about
> > potential models and even less about the packages they are in in any
> > distribution. -- Like `cat $file' won't tell you to install a package
> > which contains $file if it doesn't find it :)
> You're right.
> On the other hand, I can improve the error message from cme to suggest that a 
> Config;:Model::Something Perl package may be missing (that or a type in the 
> application name, or a lack of privilege...)

Hm, yeah, more information might be helpful. Maybe similar to perl's
  Can't locate Foo/Bar.pm in @INC (you may need to install the Foo::Bar module)
? cme might change the output to something like

  Can't locate model for application 'dpkg-copyright' (you may need
  to install the Config::Model::Dpkg::Copyright Perl module). Run
  'cme list' for a list of available models.

(Ok, a bit longish ...)


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Mark Knopfler: Love And Guilt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160906/0466d708/attachment.sig>


More information about the pkg-perl-maintainers mailing list