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

Homebrew installed: cannot update using `youtube-dl -U` #7853

Closed
quinncomendant opened this issue Dec 12, 2015 · 3 comments
Closed

Homebrew installed: cannot update using `youtube-dl -U` #7853

quinncomendant opened this issue Dec 12, 2015 · 3 comments

Comments

@quinncomendant
Copy link

@quinncomendant quinncomendant commented Dec 12, 2015

When using brew, youtube-dl -U fails because the program tries to update /usr/local/bin/youtube-dl, which is a symlink with no write permission. The program should detect if it is installed via brew and recommend brew upgrade youtube-dl instead.

@quinncomendant quinncomendant changed the title Homebrew: need to update formula Homebrew installed: cannot update using `youtube-dl -U` Dec 12, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 12, 2015

When installed with homebrew you must use homebrew for update. For outdated packages you should report to homebrew but it should be up to date.

@dstftw dstftw closed this Dec 12, 2015
@quinncomendant
Copy link
Author

@quinncomendant quinncomendant commented Dec 12, 2015

Yeah, I discovered that. I had to run brew update before the newer version was available to brew. :-|

Still might be useful to avoid displaying the message, Make sure you are using the latest version; type youtube-dl -U to update, and instead display brew update && brew upgrade youtube-dl if it is a brew install.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 12, 2015

When you type youtube-dl -U it will suggest using package manager. We can't determine all the package managers that exist and output corresponding message. User should know this himself.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.