[Pkg-net-snmp-devel] Bug#556633: More issues with this

Peter Smith peter at smelk.org
Wed Nov 18 04:07:22 UTC 2009


Same issues here.  

Also patching of a number of files failed (possibly because of time-outs
during download?) and had to be manually skipped.  Maybe additional
checks to ensure files exist should be made before attempting
patching.  

(I'm a bit unclear what sort of state this has left the package in).

Setting up libsnmp-base (5.4.2.1~dfsg-2) ...
[ -d /usr/share/mibs/iana.orig ] || mkdir /usr/share/mibs/iana.orig
cat ianalist | while read file mibs; \
		do \
		  if [ "$file" != "#" ]; \
		  then \
		    ./mibfetch -d /usr/share/mibs/iana.orig -x http://www.iana.org
assignments $file $mibs; \
		  fi; \
		done
[ -d /usr/share/mibs/ietf.orig ] || mkdir /usr/share/mibs/ietf.orig
cat rfclist | while read rfc mibs; \
		do \
		  if [ "$rfc" != "#" ]; \
		  then \
		    ./mibfetch -d /usr/share/mibs/ietf.orig ftp://ftp.ietf.org rfc
$rfc $mibs; \
		  fi; \
		done
WARNING: Module(s) not found: RFC1155-SMI 
WARNING: Module(s) not found: RFC1213-MIB 
NOTE: SMUX: ignored.
WARNING: Module(s) not found: FDDI-SMT73-MIB 
WARNING: Module(s) not found: IBM-6611-APPN-MIB 
WARNING: Module(s) not found: DNS-RESOLVER-MIB 
WARNING: Module(s) not found: CHARACTER-MIB 
WARNING: Module(s) not found: PARALLEL-MIB 
WARNING: Module(s) not found: SIP-MIB 
WARNING: Module(s) not found: Modem-MIB 
WARNING: Module(s) not found: RDBMS-MIB 
WARNING: Module(s) not found: APPLETALK-MIB 
WARNING: Module(s) not found: TCPIPX-MIB 
WARNING: Module(s) not found: DOT12-IF-MIB 
WARNING: Module(s) not found: HPR-MIB 
WARNING: Module(s) not found: DOT12-RPTR-MIB 
NOTE: FIZBIN-MIB: ignored.
WARNING: Module(s) not found: SNMPv2-TC 
WARNING: Module(s) not found: HPR-IP-MIB 
WARNING: Module(s) not found: WWW-MIB 
WARNING: Module(s) not found: DISMAN-EVENT-MIB 
WARNING: Module(s) not found: CIRCUIT-IF-MIB 
WARNING: Module(s) not found: DSMON-MIB 
WARNING: Module(s) not found: L2TP-MIB 
NOTE: : ignored.
NOTE: : ignored.
WARNING: Module(s) not found: ENTITY-SENSOR-MIB 
WARNING: Module(s) not found: OPT-IF-MIB 
WARNING: Module(s) not found: IPV6-FLOW-LABEL-MIB 
WARNING: Module(s) not found: HC-PerfHist-TC-MIB 
NOTE: IANA-PRINTER-MIB: ignored.
NOTE: IANA-FINISHER-MIB: ignored.
NOTE: IANA-ITU-ALARM-TC-MIB: ignored.
WARNING: Module(s) not found: NAT-MIB 
WARNING: Module(s) not found: TPM-MIB 
WARNING: Module(s) not found: RADIUS-ACC-CLIENT-MIB 
NOTE: IANA-GMPLS-TC-MIB: ignored.
NOTE: IANA-MAU-MIB: ignored.
patch -d /usr/share/mibs/ietf.orig < rfcmibs.diff; \
	rm -f /usr/share/mibs/ietf.orig/*orig
patching file ADSL-LINE-MIB
patching file DLSW-MIB
patching file DSA-MIB
can't find file to patch at input line 303
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff
-ru /usr/local/share/snmp/rfc.orig/FDDI-SMT73-MIB /usr/local/share/snmp/rfc/FDDI-SMT73-MIB
|--- /usr/local/share/snmp/rfc.orig/FDDI-SMT73-MIB	Sat Mar  3 17:15:09
2001
|+++ /usr/local/share/snmp/rfc/FDDI-SMT73-MIB	Tue Jan 23 00:11:46 2001
--------------------------
File to patch: 
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 315
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff
-ru /usr/local/share/snmp/rfc.orig/HPR-MIB /usr/local/share/snmp/rfc/HPR-MIB
|--- /usr/local/share/snmp/rfc.orig/HPR-MIB	Sat Mar  3 17:19:54 2001
|+++ /usr/local/share/snmp/rfc/HPR-MIB	Tue Jan 23 00:25:54 2001
--------------------------
File to patch: y
y: No such file or directory
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
patching file MIP-MIB
can't find file to patch at input line 348
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff
-ru /usr/local/share/snmp/rfc.orig/Modem-MIB /usr/local/share/snmp/rfc/Modem-MIB
|--- /usr/local/share/snmp/rfc.orig/Modem-MIB	Sat Mar  3 17:16:35 2001
|+++ /usr/local/share/snmp/rfc/Modem-MIB	Mon Jan 22 23:53:08 2001
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
patching file PPP-LCP-MIB
can't find file to patch at input line 399
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff
-ru /usr/local/share/snmp/rfc.orig/RDBMS-MIB /usr/local/share/snmp/rfc/RDBMS-MIB
|--- /usr/local/share/snmp/rfc.orig/RDBMS-MIB	Sat Mar  3 17:16:41 2001
|+++ /usr/local/share/snmp/rfc/RDBMS-MIB	Tue Jan 23 00:24:04 2001
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
patching file RFC1414-MIB
patching file SNA-NAU-MIB
can't find file to patch at input line 448
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff
-ru /usr/local/share/snmp/rfc.orig/TCPIPX-MIB /usr/local/share/snmp/rfc/TCPIPX-MIB
|--- /usr/local/share/snmp/rfc.orig/TCPIPX-MIB	Sat Mar  3 17:17:17 2001
|+++ /usr/local/share/snmp/rfc/TCPIPX-MIB	Sat Mar  3 16:51:11 2001
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
patching file UPS-MIB
patching file SMUX-MIB
rm -fr /usr/share/mibs/iana
rm -fr /usr/share/mibs/ietf
mkdir /usr/share/mibs/iana
mkdir /usr/share/mibs/ietf
cp /usr/share/mibs/iana.orig/* /usr/share/mibs/iana
cp /usr/share/mibs/ietf.orig/* /usr/share/mibs/ietf
rm -fr *orig







More information about the Pkg-net-snmp-devel mailing list