Package: netmrg Version: 0.20-1 Filename: pool/main/n/netmrg/netmrg_0.20-1_i386.deb Found error in /usr/bin/rrdedit: $ grep -A5 -B5 /tmp/ /usr/bin/rrdedit echo "Cannot locate file: '$RRD_DIR/$1'!" exit fi # dump it to temp $rrdtool dump $RRD_DIR/$1 > /tmp/$1.xml # make a backup cp $RRD_DIR/$1 /tmp/$1.backup # edit the xml $editor /tmp/$1.xml rm -f $RRD_DIR/$1 # restore the rrd $rrdtool restore /tmp/$1.xml $RRD_DIR/$1