Code: Select all
$ sudo yt-dlp -U
Current version: stable@2025.06.30 from yt-dlp/yt-dlp
Latest version: stable@2025.08.20 from yt-dlp/yt-dlp
ERROR: As yt-dlp has been installed via apt, you should use that to update. If you're on a stable release, also check backports.
Your advice requested:
Should I purge the installed version, and re-install from Github https://github.com/yt-dlp/yt-dlp ?
Seems to be the most practical. Use pip or wget?
Note: Trying to add the recommended repository fails:
Code: Select all
$ sudo add-apt-repository ppa:tomtomtom/yt-dlp
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
Mike