bugs/Upgrade impossible om Mac OSXgit-annexhttp://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/git-annexikiwiki2014-05-21T18:19:30Zfixedhttp://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_1_84e52a4d1502fd622bdb25e04b459292/Ovidiu2014-05-09T13:12:59Z2014-05-09T13:12:59Z
<p>re-downloaded the old version, re-isntalled and now it actually starts downlaoding the new version => http://screencast.com/t/id2Ng57Z9</p>
<p>NOT sure though, why it now uploads the new version to all repositories? i.e. box.com? IS there a reason for this?</p>
<p>Transfers
git-annex.dmg (for upgrade)→box.com 42% of 22.52 MiB</p>
spoke too soonhttp://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_2_f2b109f6cf92f101d7f0afeb91605240/Ovidiu2014-05-09T13:23:52Z2014-05-09T13:23:52Z
<p>Stuck in a loop, now with every restart of git-annex it downloads the update and then uploads it to all my repositories again:
http://screencast.com/t/Ow7SlPVaS68</p>
<p>And then it says:
Finished upgrading git-annex to version 5.20140420-ga25b8bb
BUT that is the OLD version not the new one <img src="http://git-annex.branchable.com/smileys/ohwell.png" alt=":-/" /></p>
<p>NEXT TRY:</p>
<p>killed all processes of git and git-annex, restart.</p>
<p>Was greeted by:
An upgrade of git-annex is available.
(version 5.20140421)</p>
<p>Klicked the Upgrade button.
Nothing happens, except that the upgrade notice disappeared <img src="http://git-annex.branchable.com/smileys/ohwell.png" alt=":-/" /></p>
comment 3http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_3_df9b111aefea82b9d108495b79d7ffb4/Ovidiu2014-05-09T13:28:38Z2014-05-09T13:28:38Z
<p>here is what the log looks like:</p>
<p>[2014-05-09 15:23:22 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:23:23 SAST] Watcher: Performing startup scan
[2014-05-09 15:23:24 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:25:10 SAST] main: warning git-annex has been shut down
[2014-05-09 15:25:31 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:25:31 SAST] Watcher: Performing startup scan
[2014-05-09 15:25:32 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:25:59 SAST] main: warning git-annex has been shut down</p>
<p>[2014-05-09 15:27:14 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:27:14 SAST] Watcher: Performing startup scan
[2014-05-09 15:27:15 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:27:46 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:27:46 SAST] Watcher: Performing startup scan
(started...) [2014-05-09 15:27:48 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)</p>
comment 4http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_4_e3b5bc815376383bbd1f312cc1c32a41/joeyh.name2014-05-16T17:36:10Z2014-05-16T17:36:10Z
<p>"Cannot find old distribution bundle; not upgrading"</p>
<p>This message means that git-annex was unable to find where the old version was installed, which it needs to do in order to replace it with the new version. It looks for a <code>git-annex.app</code> directory, and could not find one. How did you install the old version, and to what location?</p>
<p>I think it might try to upload the dmg file to a repository if that repository is set as a full backup and so wants all files even ones not in the work tree.</p>
comment 5http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_5_cd9b77e6670840a9902f5be80e1e658a/Ovidiu2014-05-16T17:45:48Z2014-05-16T17:45:48Z
<p>I gave up on this. After doing this a few times, I stopped. Living in Africa, bandwidth is really expensive <img src="http://git-annex.branchable.com/smileys/ohwell.png" alt=":-/" /></p>
<p>Initially I installed via the downloaded .dmg file.
After poking around a few times, I found a folder inside my Applications folder:</p>
<pre><code>ls -al /Applications/gi*
/Applications/git-annex.app:
total 0
drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents
/Applications/git-annex.app.5.20140421:
total 0
drwxr-xr-x 2 ovi admin 68 May 11 11:26 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
</code></pre>
<p>Every time I now open git-annex assistant I am greeted with:</p>
<pre><code>An upgrade of git-annex is available.
(version 5.20140421)
</code></pre>
<p>I just did it again and it starts downloading again arrrghh!</p>
<pre><code>Transfers
git-annex.dmg (for upgrade)←web 12% of 22.52 MiB
</code></pre>
<p>restarted the assistant and it now says:</p>
<pre><code>Finished upgrading git-annex to version 5.20140420-ga25b8bb
</code></pre>
<p>Then I check and find this:</p>
<p>ls -al /Applications/gi*
/Applications/git-annex.app:
total 0
drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents</p>
<p>/Applications/git-annex.app.5.20140421:
total 0
drwxr-xr-x 2 ovi admin 68 May 11 11:26 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
shiny-2:~ ovi$ ls -al /Applications/gi*
/Applications/git-annex.app:
total 0
drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents</p>
<p>/Applications/git-annex.app.5.20140421:
total 0
drwxr-xr-x 2 ovi admin 68 May 11 11:26 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..</p>
<p>LOL. restarting the assistant am greeted with click here to finish the upgrade. did so.</p>
<p>now only 2 folders not 3 left:</p>
<p>ls -al /Applications/gi*
/Applications/git-annex.app:
total 0
drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents</p>
<p>/Applications/git-annex.app.5.20140421:
total 0
drwxr-xr-x 2 ovi admin 68 May 11 11:26 .
drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..</p>
<p>Started the asistant again, am greeted with:</p>
<p> An upgrade of git-annex is available.
(version 5.20140421)</p>
<p>Thank you very much... not going to downlaod it again...</p>
<p>COULD YOU PLEASE JUST SHARE THE DOWNLOAD LINK TO THE NEWEST ONE?</p>
failed upgrade log filehttp://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_6_4584393333d377532d8607b42319abd9/Ovidiu2014-05-16T17:55:34Z2014-05-16T17:55:34Z
Just in case it helps diagnose the problem: http://pastebin.com/PUpPRURb
comment 7http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_7_d9d36ff62267dde98a27c5981951df7f/joeyh.name2014-05-16T17:57:13Z2014-05-16T17:57:13Z
<p>The repeated attempts to upgrade to 21 when it only downloads 20 are due to a different bug: <span class="createlink"><a href="http://git-annex.branchable.com/ikiwiki.cgi?do=create&from=bugs%2FUpgrade_impossible_om_Mac_OSX%2Fcomment_7_d9d36ff62267dde98a27c5981951df7f&page=bugs%2Fgit-annex_auto_upgrade_is_redundant" rel="nofollow">?</a>git-annex auto upgrade is redundant</span>. I've just put in a quick fix that should avoid that.</p>
<p>However, for the purposes of this bug report, I'm interested in the original problem of "Cannot find old distribution bundle; not upgrading", and to fix that, I need to know how you originally installed git-annex.</p>
comment 8http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_8_5b26711c737eeb0b302060f098cb320b/Ovidiu2014-05-16T17:59:13Z2014-05-16T17:59:13Z
download 20.dmg, double clicked it, dragged it into my Applications folder.
comment 9http://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_9_1bf050056dcac7c1e0f497ee6e87a95a/joeyh.name2014-05-21T17:28:15Z2014-05-21T17:28:16Z
<p>I have adjusted the "Cannot find old distribution bundle; not upgrading" message to say where it looked, and failed to find the git-annex.app directory.</p>
<p>I am going to have to moreinfo this, since without knowing where git-annex was installed to, I can't say why it failed to find a git-annex.app directory.</p>
OKhttp://git-annex.branchable.com/bugs/Upgrade_impossible_om_Mac_OSX/comment_10_8c1487635f724d017ebe2f8b7bc10e8d/Ovidiu2014-05-21T18:19:30Z2014-05-21T18:19:30Z
so I'll watch this behavior with future updates and reply if I have more info