cancel
Showing results for 
Search instead for 
Did you mean: 

Error applying patch supee-5345 (unrecognized option --dry-run

SOLVED

Error applying patch supee-5345 (unrecognized option --dry-run

Hi,

 

I'm trying to patch Magento CE 1.7.0.2 with supee-5345, but I'm getting some errors.  Any ideas on how I can get this to work on my site?

 

sh PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh
PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh: 127: not found
PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh: 127: not found
PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh: 0: not found
Checking if patch can be applied/reverted successfully...
patch: unrecognized option `--dry-run'
Usage: /usr/bin/patch [options] [origfile [patchfile]] [+ [options] [origfile]]...
Options:
[-cCeEflnNRsStuv] [-b backup-ext] [-B backup-prefix] [-d directory]
[-D symbol] [-F max-fuzz] [-i patchfile] [-o out-file] [-p[strip-count]]
[-r rej-name] [-V {numbered,existing,simple}] [--check] [--context]
[--prefix=backup-prefix] [--suffix=backup-ext] [--ifdef=symbol]
[--directory=directory] [--ed] [--fuzz=max-fuzz] [--force] [--batch]
[--ignore-whitespace] [--forward] [--reverse] [--output=out-file]
[--strip[=strip-count]] [--normal] [--reject-file=rej-name] [--skip]
[--remove-empty-files] [--quiet] [--silent] [--unified] [--version]
[--version-control={numbered,existing,simple}] [--index-first]
ERROR: Patch can't be applied/reverted successfully.

2 REPLIES

Re: Error applying patch supee-5345 (unrecognized option --dry-run

I  finally solved my issue by changing the line DRY_RUN_FLAG=" --dry-run" for  DRY_RUN_FLAG=" --check"

 

 

Re: Error applying patch supee-5345 (unrecognized option --dry-run

hi bro i have magento store in 1.7.0.2 and want to apply latest magento patches but its was my first time and i dont know how to do. please anyone help me step by step how to apply these patches and i am using window so which tool i need to install to access my root directorey using ssh thanks in advanace