moonglum / exogenesis

Build your dotfile installer, updater and teardown
MIT License
19 stars 8 forks source link

Homebrew fails if brew was already updated #25

Closed bitboxer closed 10 years ago

bitboxer commented 10 years ago

Sometimes homebrew has to update several packages with references to each other. And when updating package a it also automagically updates package b. But exogenesis also tries to update packages b without checking if it was already updated. This leads to errors like this:

Error: gettext-0.18.3.2 already installed

...at least I think this is why that happens. Is my hypothesis correct?

moonglum commented 10 years ago

Interesting. This is absolutely possible! Thanks for the report :+1:

bitboxer commented 10 years ago

The easiest fix: after each package check the list of outdated packages again, but this would make things way to slow :sob:

moonglum commented 10 years ago

Maybe we should just do a brew upgrade with no packages as arguments. That would solve it, right?

bitboxer commented 10 years ago

Yes, that would solve this. Will write a fix for this next week.

moonglum commented 10 years ago

Thanks a lot :smile_cat: