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

-U deprecated? #5129

Closed
davidhedlund opened this issue Mar 5, 2015 · 4 comments
Closed

-U deprecated? #5129

davidhedlund opened this issue Mar 5, 2015 · 4 comments

Comments

@davidhedlund
Copy link

@davidhedlund davidhedlund commented Mar 5, 2015

sudo youtube-dl -U # installed from package (version 2015.02.26.2) gives:
"It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update."

I am sure I could use this some months ago with the youtube-dl package. What am I missing?

@davidhedlund
Copy link
Author

@davidhedlund davidhedlund commented Mar 5, 2015

This helped (I did not remember I installed with pip): sudo pip install -U youtube-dl

@davidhedlund
Copy link
Author

@davidhedlund davidhedlund commented Mar 5, 2015

Cannot youtube-dl determine that and output "sudo pip install -U youtube-dl" if I run "sudo youtube-dl -U"

@davidhedlund
Copy link
Author

@davidhedlund davidhedlund commented Mar 5, 2015

Thats an idea for you.

@davidhedlund davidhedlund reopened this Mar 5, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Mar 5, 2015

There is no way that I am aware of to reliably determine whether youtube-dl was installed manually with setup.py, from a tarball, with a package manager, or with pip. If you know how to distinguish these cases, please describe how you can do that.

Invoking sudo pip install -U youtube-dl could be quite hazardous if youtube-dl was not installed via pip, so we just notify the user that it cannot update automatically.

@phihag phihag closed this Mar 5, 2015
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.