Archived

This forum has been archived. Please start a new discussion on GitHub.

icepatch cannot stat file

Dear all,
I'm using IcePatch2 through IceGrid. It works fine most of the time but sometime it can get itself into a state from the only way I know how to recover is by deleting the entire local copy of the distribution.

It happens infrequently, usually when I'm debugging something else and bringing the system up and down a lot. My guess is it's caused by a partial patch which got terminated halfway through for some reason.

The symptom is that I start getting IceGrid::PatchException complaining about a missing file. This happens when either add an application or try to patch it through icegriadmin.

My expectation would be that if any part of the distribution is missing it should just be replaced. But this situation does not seem to be documented anywhere so I'm wondering if there's a good reason for this.

thanks, alex


>>> application patch --force MySystem
error: the patch failed:
patch on node `charlie' failed:
cannot stat `/home/user/nodedb/distrib/MySystem/bin/myapp':
No such file or directory