Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate some of my apps #57

Open
kaustavha opened this issue Dec 31, 2016 · 7 comments
Open

Can't locate some of my apps #57

kaustavha opened this issue Dec 31, 2016 · 7 comments
Labels

Comments

@kaustavha
Copy link

This seemed to remove sublime text, chrome and spectacleapp that i'd installed prior to running .dots. It seems to remove non-default installed apps.

@donnemartin donnemartin changed the title Bug report: Removes applications Can't locate some of my apps Dec 31, 2016
@donnemartin
Copy link
Owner

Hi @kaustavha, hmm that's odd, this is the first I've heard of this issue. You mention Sublime and Chrome seem to have been removed--they are actually installed in the Applications folder with brew.sh:

Sublime: https://github.com/donnemartin/dev-setup/blob/master/brew.sh#L150
Chrome: https://github.com/donnemartin/dev-setup/blob/master/brew.sh#L157

These two apps don't appear for you in the Applications folder?

@kaustavha
Copy link
Author

I'm not 100% sure about spectacle since I just tried to reinstall it and it said it was in applications and asked for an override then started showing it.

My best guess was somehow brew.sh overwrote the chrome and sublime installs because after the restart the dock icons turned into question marks.

There was also a program installed called suspicious package.app which didn't seem to do anything, copyrights says mothers ruin software 2008-2016.

Worth mentioning I tried this on the new 2016 mbp running sierra 10.12.2 and over fairly slow hostel wifi, although doesn't seem to have broken installs since other installed stuff like Firefox, atom is doing fine

@kaustavha
Copy link
Author

So i ran the cmd for installing chrome:
screen shot 2016-12-30 at 8 57 17 pm
And got the same symptom, well actually chrome stopped working first and new websites wouldnt load, so i quit it then it wouldnt start again:
screen shot 2016-12-30 at 8 57 01 pm
Reinstall from .dmg, this is how i first installed it too. Bit of weirdness here now too after the brew cask install:
screen shot 2016-12-30 at 8 58 15 pm
Anyway, managed to start chrome, 2 icons pop up now, both work:
screen shot 2016-12-30 at 8 59 32 pm

@donnemartin
Copy link
Owner

Nice work, thank you for the additional investigation and info! 👍

I'll try to take a closer look in the next couple of days, although it appears this might be something related to how brew cask install handles already existing apps, which might be outside the scope of dev-setup.

@kaustavha
Copy link
Author

kaustavha commented Dec 31, 2016 via email

@donnemartin
Copy link
Owner

Although you can still failproof your application by checking to see if things are already installed and skipping them

This Stack Overflow post seems to indicate this needs to be done per item installed. brew.sh installs many packages and I'm not sure about doing this check for each one, if I understand the post correctly.

The install logic in the image you posted doesn't seem right to me:

  • "Seems there is already an App at ..."
  • Removing App
  • An error occurred
  • Nothing to install

Have you had a chance to file an issue with brew?

@kaustavha
Copy link
Author

kaustavha commented Jan 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants