| 1 |
Description: mib2c perl error message |
| 2 |
Change the error message of mib2c when it cannot find the perl module to install |
| 3 |
by using apt-get rather than downloading source code from the upstream website. |
| 4 |
Author: Craig Small <[email protected]> |
| 5 |
Origin: Debian |
| 6 |
Bug-Debian: https://bugs.debian.org/990706 |
| 7 |
Reviewed-by: Craig Small <[email protected]> |
| 8 |
Last-Update: 2021-07-06 |
| 9 |
--- a/local/mib2c |
| 10 |
+++ b/local/mib2c |
| 11 |
@@ -23,10 +23,9 @@ |
| 12 |
if (!$havesnmp) { |
| 13 |
print " |
| 14 |
ERROR: You don't have the SNMP perl module installed. Please obtain |
| 15 |
-this by getting the latest source release of the net-snmp toolkit from |
| 16 |
-http://www.net-snmp.org/download/ . Once you download the source and |
| 17 |
-unpack it, the perl module is contained in the perl/SNMP directory. |
| 18 |
-See the README file there for instructions. |
| 19 |
+this by running the command: |
| 20 |
+ |
| 21 |
+apt-get install libsnmp-perl |
| 22 |
|
| 23 |
"; |
| 24 |
exit; |