5 ms·
If time is an issue, consider doing a wipe and fresh install then upgrade instead of upgrade in place. Apparently if you have Homebrew it gets stuck at 2 minute
by bdcravens 11y ago
If time is an issue, consider doing a wipe and fresh install then upgrade instead of upgrade in place. Apparently if you have Homebrew it gets stuck at 2 minutes, potentially for several hours.
- FireBeyond 11y agoIt gets stuck because it's moving every Homebrew app out of /usr/local, a known but painful issue.
- bdcravens 11y agoI believe it includes all the source, which is what consumes most of the time.
- rndn 11y agoI think the same applies to TeX distributions. It awfully slow for some reason, perhaps it double checks each file to avoid bit errors in system critical files?
- strange_quark 11y agoYeah, my Yosemite update over 3 because TeX has so many files that it moves one by one out and back of the texbin directory.
- Rafert 11y agoSo, basically the same advice applies as with the upgrade to Yosemite: move /usr/local to somewhere like ~/local before upgrading, and move it back after. It's worth mentioning that after the upgrade you might run into permissions problems: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md https://github.com/Homebrew/homebrew/blob/master/share/doc/h... You might want to run `brew update` before updating, so `brew doctor` can help you troubleshoot issues afterwards.
- smallarmsdealer 11y agoGood advice, I plan on running a quick rsync: rsync -rtvpl /usr/local ~/usr.local.backup
- deleted 11y ago[deleted]
- cpeterso 11y agoDoes OS X place any of its own files in /usr/local?
- nnutter 11y agoI can't verify but that would be awful it did as `/usr/local` is meant to be exactly not that.
- kngspook 11y agoI can't speak to El Capitan, but no Apple software has dropped anything in /usr/local that I've found in the last 3+ releases. I'm very confident El Capitan would continue that history. A lot of other apps do put stuff there though (when I wish they'd keep it in their own bundle). Even worse, a lot of other apps drop stuff into /usr/bin.
- veidr 11y agoThey can no longer drop stuff in /usr/bin as of El Capitan, though. You can't even do it with root: [mason@IT-PC-MACPRO ~]$ sudo bash Password: [root@IT-PC-MACPRO ~]# touch /usr/bin/nope touch: /usr/bin/nope: Operation not permitted [root@IT-PC-MACPRO ~]# cat 'nope nope' >> /usr/bin/nope bash: /usr/bin/nope: Operation not permitted
- trymas 11y agohm, no worries at least on my machine. I knew about /usr/local problem from Yosemite, though on El Capitan (same time as Yosemite, with /usr/local moved to ~/local) it was smooth as butter (I did not move /usr/local). All upgrade took about 30 minutes, and after it was done, I did sudo chown -R $(whoami):admin /usr/local and I was good to go.
- xaritas 11y agoAh, yes, I remember now that this happened with Yosemite too. I had to let the install finish over night. Thank you for the timely reminder.
- nobleach 11y agoYou need to move everything out of /usr/local into a temp location (I just dropped it into a folder in my home dir) and then after install, move it back.
- Scarbutt 11y agoI must be missing something, if you are going to do a wipe and fresh install why not go directly to el capitan?
- cefstat 11y agoIf you wipe the system then the time to set it up exactly like it was before is usually orders of magnitude larger than just waiting for the upgrade to move your brew installation out of /usr/local and back again. A better advice would be to just move the contents of your /usr/local to another directory and then move them back to /usr/local after the installation finishes. I just ignored this and waited for the installer to do whatever it wanted. It took about 1 hour but everything went fine and I'm now up and running.
- emsy 11y agoComing from Yosemite, you should clean you Mac with petrol. But seriously, Yosemite was such a mess, it felt like an old Windows installation where formatting is the only way to regain a decent performance. I'm glad I made a clean install with the GM 2 weeks ago. The system is way better than Yosemite (but still far from being as stable as Mountain Lion)
- x0rg 11y agoWait, feeling that this update is better is OK, but I don't really understand how formatting could improve thing is such a significant way.
- S_A_P 11y agoperception is reality. I've no doubt there are cases that upgrade in place doesnt work as well as fresh install, but I am skeptical that there is dramatic demonstrable differences between the two most of the time.
- x0rg 11y agoFor yosemite, I have a macbook pro that came with the OS and another macbook pro (nearly identical) upgraded from mavericks. No significant differences. I don't see why it should be like that this time and I would love to read a technical explanation.
- rbritton 11y agoI believe it's likely more a benefit of clearing out the cruft that has accumulated over time rather than problems with the update itself. A lot of stuff gets installed over the years, and upgrading in place keeps the majority of that in place. Doing a fresh install and putting back only what you're currently using will probably result in fewer programs, daemons, drivers, etc that the system has to deal with.
- emsy 11y agoBasically this. Yosemite was just such a very poor user experience.
- emehrkay 11y agoI upgraded to the gold master a while back on an iMac and didn't run into this problem. Do we know if it is different for the final release. Oh and a sidenote, my unix tools were not broken after this update. They typically are and need to be reinstalled
- tjakab 11y agoI ran 'brew update' and 'brew upgrade' just prior to upgrading to El Capitan. After the upgrade I just had to change ownership on /usr/local back to myself, but everything else seems fine.
- matwood 11y agoI've been running the betas and didn't have this issue. /usr/local was also fine other than fixing the permissions.
- Laaw 11y agoUser with Homebrew here! No problems upgrading this time (took ~15 minutes), had ~2hr upgrade last time.
- visionscaper 11y agoAnother Homebrew user here, El Capitan installed without major issues and is running very smoothly IMHO. A difference might be that I haven't touched Homebrew in a while.
- yo-code-sucks 11y agoWorked fine for me.