Looks like you are connected to the host.
To install the patch start the CLI from the HOME directory of your installation.
Does that helps?
Is there a different error in the logs? What response do you get if you don't use --override-all?
Thanks for replying ...
1) i am using the HOME dir to start the cli and i have executed many cli commands like
this only ....also if i dont give host in the cli it returns error as well...one important thing to share
i am running a domain mode....
2) i am getting the same error if i dont use override-all....
3) i presume that the way of applying patch would be similar
for standalone as well as doamin mode ....but would be great if
we get an example on domain mode as well....
You are patching a remote host when using the --host=<> parameter, so that is fine.
Regarding the error, did you do any modifications to this file in the distribution? Are there any additional failures in the logs? The error would actually indicate that there might be a conflict and the patch can't apply. One thing you could try is to shutdown the host you want to patch and use the CLI locally, without connecting and not specifying a --host. This would patch the local instance and hopefully returns a more conclusive error message.
Thanks Emanuel for you help ...i will try and let you know the same