Read the statement by Michael Teeuw here.
Update auf 2.13.0
-
ok, another try
git remote set-head origin --auto git gc --prune=now git remote prune origin
-
@sdetweil said in Update auf 2.13.0:
git remote prune origin
pi@raspberrypi:~/MagicMirror $ git gc --prune=now fatal: bad object refs/tags/v2.12.0 fatal: failed to run repack pi@raspberrypi:~/MagicMirror $ git remote prune origin pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css upgrading from version 2.9.0 to 2.13.0 fetching latest revisions error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken From https://github.com/MichMich/MagicMirror ! [new tag] v2.12.0 -> v2.12.0 (unable to update local ref) MagicMirror git fetch failed restoring custom.css
Wo ist das Problem…ist klar…bei mir läuft nie was auf Anhieb :-(
der Pi ist auf aktuellem Stand mit update && upgrade
-
something has happened to the git repo, it has lost a reference
we are trying to clean it up
one more time (note there is a dot in front of git/)
mv .git/refs/remotes/origin/HEAD /tmp git gc --prune=now git remote prune origin
-
@sdetweil said in Update auf 2.13.0:
git remote prune origin
the same :-(
pi@raspberrypi:~/MagicMirror $ mv .git/refs/remotes/origin/HEAD /tmp pi@raspberrypi:~/MagicMirror $ git gc --prune=now fatal: bad object refs/tags/v2.12.0 fatal: failed to run repack pi@raspberrypi:~/MagicMirror $ git remote prune origin pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css upgrading from version 2.9.0 to 2.13.0 fetching latest revisions error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken From https://github.com/MichMich/MagicMirror ! [new tag] v2.12.0 -> v2.12.0 (unable to update local ref) MagicMirror git fetch failed restoring custom.css
-
@kusselin ok… show me results of
git branch git remote -v
I’m not a git guru, so struggling to find solution
-
You are the best!!!
pi@raspberrypi:~/MagicMirror $ git branch * master pi@raspberrypi:~/MagicMirror $ git remote -v origin https://github.com/MichMich/MagicMirror.git (fetch) origin https://github.com/MichMich/MagicMirror.git (push)
-
@kusselin ok, ONE more try
git update-ref -d 'refs/remotes/origin/HEAD' git prune git gc
then try again
-
@sdetweil said in Update auf 2.13.0:
git gc
pi@raspberrypi:~/MagicMirror $ git update-ref -d 'refs/remotes/origin/HEAD' pi@raspberrypi:~/MagicMirror $ git prune fatal: Konnte Objekt 'refs/tags/v2.12.0' nicht parsen. pi@raspberrypi:~/MagicMirror $ git gc fatal: bad object refs/tags/v2.12.0 fatal: failed to run repack pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css upgrading from version 2.9.0 to 2.13.0 fetching latest revisions error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken From https://github.com/MichMich/MagicMirror ! [new tag] v2.12.0 -> v2.12.0 (unable to update local ref) MagicMirror git fetch failed restoring custom.css
-
@kusselin said in Update auf 2.13.0:
refs/tags/v2.12.0
man, what a challengerm -rf .git/refs/tags/v2.12.0 git prune git gc
then try again
-
@sdetweil said in Update auf 2.13.0:
git gc
Should i save this file now??
this comes in the console now…