Bug#971784: libconfig-model-dpkg-perl: cme should not warn on "unknown dh-sequence-nodejs package"
Dominique Dumont
dod at debian.org
Sun Oct 11 15:59:09 BST 2020
On mercredi 7 octobre 2020 16:49:30 CEST you wrote:
> Maybe adding a regexp to
>
> if ( @res == 0 and not $virtual_hash{$pkg}) {
>
> would be enough? Like (untested pseudo-code)
>
> … and $pkg =! /^dh-sequence-.+/
That's a good start.
But %virtual_hash is used in 2 other places.
I'd suggest:
- create a method _is_virtual that uses %virtual_hash and the regexp you
suggested
- use this method instead of directly reading $virtual_hash($pkg_name)
gregoa, do you want to try fixing this bug ?
All the best
More information about the pkg-perl-maintainers
mailing list