Magento SUPEE-1533 5344 127:打补丁时未找到 [英] Magento SUPEE-1533 5344 127: not found when patching
问题描述
最近的补丁程序存在以下问题.
I'm having the following issue with the recent patches.
Magento CE版本1.9.0.1
Magento CE Version 1.9.0.1
usr/home/******/public_html/******> sh PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh
usr/home/******/public_html/****** > sh PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh
127:未找到 127:找不到 0:未找到
127: not found 127: not found 0: not found
检查补丁是否可以成功应用/恢复...
Checking if patch can be applied/reverted successfully...
/usr/home/******/public_html/******> sh PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
/usr/home/******/public_html/****** > sh PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
127:未找到 127:找不到 0:未找到
127: not found 127: not found 0: not found
检查补丁是否可以成功应用/恢复...
Checking if patch can be applied/reverted successfully...
补丁:无法识别的选项`--dry-run' 用法:/usr/bin/patch [options] [origfile [patchfile]] [+ [options] [origfile]] ...
patch: unrecognized option `--dry-run' Usage: /usr/bin/patch [options] [origfile [patchfile]] [+ [options] [origfile]]...
选项:
[-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.
希望我在这里遗漏了一些明显的东西.如果不是这样,那么有人可以链接到有关手动应用补丁程序的文章(如果存在).在此之后,我确实必须手动删除缓存才能返回到后端,所以我不确定补丁是否起作用.
Hopefully I'm missing something obvious here. If not can someone link to an article on manually applying the patches if such an article exists. I did have to manually remove the cache to get back into the back-end after this so I'm not sure if the patch did something.
一如既往,感谢您的帮助
As always thank you for the help
-埃里克
推荐答案
根据输出,系统上的patch
二进制文件没有--dry-run
选项(看起来是在其中安装了某些BSD OS,而不是Linux).尽管您的patch
二进制文件似乎提供了--check
选项,所以您可以通过编辑PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
文件并将--dry-run
选项替换为--check
来代替--dry-run
使用它.
According to the output the patch
binary on your system have no --dry-run
option (looks like some BSD OS is installed there, not linux). Your patch
binary though seems provides --check
option instead, so you can use it instead of --dry-run
by editing PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh
file and replacing --dry-run
option with --check
.
Another option can be to not use patch at all and just upload all patched files from http://magentary.com/kb/apply-supee-5344-and-supee-1533-without-ssh/
这篇关于Magento SUPEE-1533 5344 127:打补丁时未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!