View Single Post
Old 11-04-2015, 05:07 AM   #127
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Translation:
Code:
+ echo ota_install: I def:patch:patchinfo="/etc/syslog-ng/syslog-ng.conf":patching file
+ mkdir -p patch/etc/syslog-ng/
+ bspatch /etc/syslog-ng/syslog-ng.conf patch/etc/syslog-ng/syslog-ng.conf 006.syslog-ng.conf.patch
+ [ 0 -ne 0 ]
+ md5sum patch/etc/syslog-ng/syslog-ng.conf
+ awk { print $1; }
+ _PATCH_MD5=fdd6871cff4a3d2499cb6d8d61a2ccf8
+ _EXPECTED_MD5=e4e92ce6bd23329049b09f72a29689af
+ [ ! fdd6871cff4a3d2499cb6d8d61a2ccf8 = e4e92ce6bd23329049b09f72a29689af ]
+ logmsg C patch patchinfo="/etc/syslog-ng/syslog-ng.conf" checksum failure
bspatch failed (without a returned error code, which they detected in the logic).
something is seriously wrong with one or more of the files involved in that step.

Note:
You can find bsdiff and bspatch both in source and in binary if you search the web a bit.
It is a utility that hasn't changed for years (decades?).

Edit:
That still doesn't make a lot of sense.

In *nix, config files are plain text.
Why not just view the before and after in a text editor and see if they are as expected.
Be certain to retain the line ending type.

Last edited by knc1; 11-04-2015 at 08:51 AM.
knc1 is offline   Reply With Quote