Bug#314610: munin-node: wrong regexp in apt_all

2006-02-06 Thread Tore Anderson
forwarded 314610 http://munin.projects.linpro.no/ticket/92
quit

* Raoul Borenius

 this patch makes packages which are on 'hold' show up correctly again.

  Hi Raoul, thanks for reporting.  The issue has been forwarded to the
 upstream tracker found at the URL above.

-- 
Tore Anderson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#314610: munin-node: wrong regexp in apt_all

2005-06-17 Thread Raoul Borenius
Package: munin-node
Version: 1.2.3-1
Severity: normal


this patch makes packages which are on 'hold' show up correctly again.


@@ -191,7 +191,7 @@
}
}
}
-   if (/^\d+\spackages upgraded,\s\d+\snewly installed, \d+ to remove and 
(\d+)  not upgraded/)
+   if (/^\d+\supgraded,\s\d+\snewly installed, \d+ to remove and (\d+) not 
upgraded/)
{
$hold = $1;
}


BTW, why isn't 'stable' included? I suggest


@@ -61,7 +61,7 @@
 $ENV{'LC_ALL'}=C;
 
 my $statefile = /var/lib/munin/plugin-state/plugin-apt.state;
-my @releases = (testing,unstable);
+my @releases = (stable,testing,unstable);


or am I missing something?

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages munin-node depends on:
ii  libnet-server-perl0.87-3 An extensible, general perl server
ii  perl  5.8.4-8Larry Wall's Practical Extraction 
ii  procps1:3.2.1-2  The /proc file system utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]