I am running Pi-Star 4.1.4 and have the looping problem. I have tried some of the fixes suggested but am still running into a problem. Here is a capture from my update screen...
Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Updating /usr/local/sbin...
Found a new version of pistar-update...
From
https://github.com/AndyTaylorTweet/Pi-S ... aries_sbin
* branch master -> FETCH_HEAD
error: Unable to create '/usr/local/sbin/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Updating d79cc65..b35a7f4
Update to new version of pistar-update was not successfull, forcing update...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Restarting update process with the new version...
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
cut: write error: Broken pipe
------------
When I try running update again I get...
Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
cut: write error: Broken pipe
-----------------