update loop, update fails
Posted: Sun Jun 20, 2021 10:38 am
I run into an update loop with the latest Pi-Star_RPi_V4.1.4_09-Jun-2021.
Clean install.
After first login I run:
I stop it there with CTRL-C it keeps doing this over and over.
It seems to fail on the git updates.
// EDIT:
Just checked with Pi-Star_RPi_V4.1.4_08-Feb-2021 clean install and updates/upgrades go without problems.
Clean install.
After first login I run:
Code: Select all
pi-star@pi-star(rw):~$ sudo /usr/local/sbin/pistar-update
Updating OS...
Hit:1 http://httpredir.debian.org/debian buster-backports InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done
Checking nginx config
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
Updating /usr/local/sbin...
fatal: not a git repository (or any of the parent directories): .git
Found a new version of pistar-update...
From https://github.com/AndyTaylorTweet/Pi-Star_Binaries_sbin
* branch master -> FETCH_HEAD
Updating db3daba..9e36263
error: Your local changes to the following files would be overwritten by merge:
pistar-upnp.service
Please commit your changes or stash them before you merge.
Aborting
Update to new version of pistar-update was not successfull, forcing update...
error: Entry 'pistar-upnp.service' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'origin/master'.
Restarting update process with the new version...
Updating OS...
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-backports InRelease
^Cading package lists... 0%
It seems to fail on the git updates.
// EDIT:
Just checked with Pi-Star_RPi_V4.1.4_08-Feb-2021 clean install and updates/upgrades go without problems.