Control: severity -1 important
Control: tag -1 + confirmed

Hi Jon,

sorry for the late reply, but I somehow oversaw your bug report and
only discovered it now by accident.

Jon Barber wrote:
> Package: hobbit-plugins
> Version: 20160122

It's still in there.

> When checking packages with foreign architectures, the apt plugin
> always tests against libgtkglext1 rather than the intended package.
> 
> Line 74:
> my $arch_unspecified = `dpkg --get-selections
> libgtkglext1:$native_arch 2>/dev/null`;

Argh! My fault:
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/commit/?id=aa766f83da831a39e76a87cb23d09048cc49d227

> --- orig-hobbit-plugins-20160122/src/usr/lib/xymon/client/ext/apt     
> 2015-11-10 14:35:20.000000000 +0000
> +++ hobbit-plugins-20160122/src/usr/lib/xymon/client/ext/apt  2016-04-01 
> 15:53:05.626870891 +0100
> @@ -74,7 +74,7 @@
>          if (/^(\S+)\s+(\S+)/) { # pkg install/hold/...
>              next unless $2 eq "install" or $2 eq "hold";
>              $packages{"$1:$foreign_arch"} = $2;
> -            my $arch_unspecified = `dpkg --get-selections 
> libgtkglext1:$native_arch 2>/dev/null`;
> +            my $arch_unspecified = `dpkg --get-selections $1:$native_arch 
> 2>/dev/null`;
>              unless ($arch_unspecified =~ /\sinstall$/) {
>                  delete $packages{$1};
>              }

Looks sane on a first glance, thanks. Will have to check en detail
though before requesting a freeze exception.

Anyways, thanks for the report and the patch!

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, 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

Reply via email to