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

Question: why does updated youtube-dl show a different version than modified date? #16213

Closed
bendover22 opened this issue Apr 18, 2018 · 1 comment

Comments

@bendover22
Copy link

@bendover22 bendover22 commented Apr 18, 2018

Please follow the guide below

This is a simple question. In Linux (Mint 18.1) should the "date modified" date of youtube-dl be the same as shown if I run $ youtube-dl --version?

Because on my system (Mint 18.1), they aren't the same.
I actually have 2 files named youtube-dl.
One is in /usr/bin, which I'm pretty sure was installed & updated, using a PPA in Mint's repo. it's a small file - 87 bytes. It has date modified 2018.04.03, but shows a version 2018.04.09. From the date modified 2018.04.03, it looks like the last time it was updated via the PPA / Mint's update manager.

The other youtube-dl is in /usr/local/bin. It's date modified is 2018.04.15, which I assume is the one just updated today - via command line?
But why does "youtube-dl --version, return 2018.04.09, and not 2018.04.15 or 2018.04.16 (with prompt cd'd to /usr/local/bin)?
Your site says it's "release 2018.04.16," but that's not what the version command OR modified date shows.

Looking at that file modified on 2018.04.15 in a hex editor shows the string "2018.04.09" - the same as the version command shows for it.

** Should I even have 2 copies of youtube-dl in 2 paths?
One in /usr/bin, that's only 87 bytes was probably installed along w/ youtube-dlg, from the PPA in Mint. Youtube-dlg is in the same directory.

The other yt-dl is in /usr/local/bin; is 1.6 MB, shows the modified date 2018.04.15, but --version command shows a different version (apparently) than either of the 2 files' modified dates.

I can't wait for the latest releases to show up - even in the PPA. It's too far behind & sometimes the latest fixes are critical for it to work.
If you could advise on what to do with these files & why the returned versions seem wrong, I'd appreciate it.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 18, 2018

Technically, date modified can be anything depending on how you obtained the binary and generally have nothing to do with --version. Since you have several instances of youtube-dl installed all bets are off. Remove all versions and install it using one of the officially supported way from FAQ.

@dstftw dstftw closed this Apr 18, 2018
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.