Package: hobbit-plugins
Version: 20160122
Tags: patch
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`;
Regards,
Jon
--- 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};
}