Updates and Results
Talks and Posters
Advice
Ideas
Important Figures
Write-Ups
Outreach
How-To
Funding Opportunities
GENETIS
Advice
Draft saved at 00:00:00
Fields marked with
*
are required
Entry time:
Wed Dec 6 18:21:38 2017
Author
*
:
Subject:
<p><strong>To get the newest root on a mac: this is what Carl and I went through today </strong></p> <p><strong>Note that root was installed on my mac by IT earlier</strong></p> <p> </p> <p><strong>First we tried:</strong></p> <p><strong><em>brew update</em></strong></p> <p><strong>That gave:</strong></p> <p><strong>==> Migrating root6 to root</strong></p> <p><strong>==> Unlinking root6</strong></p> <p><strong>Error: Error occurred while migrating.</strong></p> <p><strong>Permission denied @ unlink_internal - /usr/local/etc/root/HistFactorySchema.dtd</strong></p> <p><strong>Backing up...</strong></p> <p><strong>Error: Could not link:</strong></p> <p><strong>/usr/local/share/zsh/site-functions/_brew</strong></p> <p><strong>Please delete these paths and run `brew update`.</strong></p> <p><strong>Error: Could not link:</strong></p> <p><strong>/usr/local/share/doc/homebrew</strong></p> <p><strong>Please delete these paths and run `brew update`.</strong></p> <p><strong>Then we tried:</strong></p> <p><strong><em>brew upgrade</em></strong></p> <p><strong>this actually did work to download some things so that was good but did not really solve the problem </strong></p> <p><strong>Then: </strong></p> <p><strong><em>brew install root6</em></strong></p> <p><strong>Same problem: </strong></p> <p><strong>==> Migrating root6 to root</strong></p> <p><strong>==> Unlinking root6</strong></p> <p><strong>Error: Error occurred while migrating.</strong></p> <p><strong>Permission denied @ unlink_internal - /usr/local/etc/root/HistFactorySchema.dtd</strong></p> <p><strong>What is a symlink? </strong></p> <p><strong>symlink is a file pointer </strong></p> <p><strong>points to another location</strong></p> <p><strong>So, if you had a root on your computer (installed by IT in my case) you might have stuff on there that is conflicting with the new stuff</strong></p> <p><strong>for me, brew suggested I do this: </strong></p> <p><strong><em>brew link --overwrite root</em></strong></p> <p><strong>this gave lots of errors as I did not have permissions to write to lots of directories (as set up by IT) </strong></p> <p><strong>so then did</strong></p> <p><strong><em>sudo chmod 775 /usr/local/etc/root/*</em></strong></p> <p><strong><em>sudo chmod 775 /usr/local/etc/root/*/*</em></strong></p> <p><strong><em>sudo chmod 775 /usr/local/etc/root/*/*/*</em></strong></p> <p><strong><em>sudo chmod 775 /usr/local/etc/root/*/*/*/*</em></strong></p> <p><strong>And then: </strong></p> <p><strong><em>brew link --overwrite root</em></strong></p> <p><strong>Hopefully then you get </strong></p> <p><strong>Linking /usr/local/Cellar/root/6.10.08... 9717 symlinks created</strong></p> <p><strong>After this, I had the latest root and it worked</strong></p>
Encoding
:
HTML
ELCode
plain
Suppress Email notification
Resubmit as new entry
Attachment 1:
Drop attachments here...
Draft saved at 00:00:00
ELOG V3.1.5-fc6679b