On Mon, 24 Jan 2022, shirish शिरीष wrote:
Package: yt-dlp
Version: 2022.01.21-1
Severity: normal
Dear Maintainer,
I updated today and got the new version -
$ apt-cache policy yt-dlp
yt-dlp:
Installed: 2022.01.21-1
Candidate: 2022.01.21-1
Version table:
*** 2022.01.21-1 900
900 http://deb.debian.org/debian testing/main amd64 Packages
100 http://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
But when I asked it it's version number, that is what it replied -
$ yt-dlp --version
2021.12.27
There seems to be confusion in yt-dlp as to what version it is. Please fix.
Do you also have this installed by some other method, such as pip, that would be
giving you an old version? If you remove the Debian package, can you still call
yt-dlp?
unit193@Loki:~$ yt-dlp --version
2022.01.21
unit193@Loki:~$ which yt-dlp
/usr/bin/yt-dlp
unit193@Loki:~$ cat /usr/lib/python3/dist-packages/yt_dlp/version.py
# Autogenerated by devscripts/update-version.py
__version__ = '2022.01.21'
RELEASE_GIT_HEAD = 'f20d607b0'
unit193@Loki:~$ apt-cache policy yt-dlp
yt-dlp:
Installed: 2022.01.21-1
Candidate: 2022.01.21-1
Version table:
*** 2022.01.21-1 500
500 http://deb.debian.org/debian testing/main amd64 Packages
100 http://deb.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
~Unit 193
Unit193 @ Libera
Unit193 @ OFTC