The updates for youtube-dl do not work anymore on Ubuntu, but it can be updated manually. Download the script here: https://youtube-dl.org/downloads/latest/youtube-dl. Then copy the script over the top of the existing one in /usr/bin and then make sure it has the executable flags 755. This is very easy.
Download it very easily.
┌─[jason@jason-desktop]─[~/Downloads] └──╼ $wget -q https://youtube-dl.org/downloads/latest/youtube-dl |
Then, all you need to do is copy the script into the /usr/bin folder.
┌─[jason@jason-desktop]─[~/Downloads] └──╼ $sudo cp youtube-dl /usr/bin/youtube-dl |
Then use chmod to ensure it has the proper executable permissions.
┌─[jason@jason-desktop]─[~/Downloads] └──╼ $sudo chmod 755 /usr/bin/youtube-dl |
Now I have an updated youtube-dl version and it works just fine.
┌─[jason@jason-desktop]─[~/Downloads] └──╼ $ls -hula /usr/bin/youtube-dl -rwxr-xr-x 1 jason jason 1.7M Oct 28 10:31 /usr/bin/youtube-dl |
This is how easy it is to keep youtube-dl updated. Even though youtube-dl -U does not work, it may still be updated manually, this is just fine.
Thanks for the tip, I wonder who the moron at debian is leaving a version of youtube-dl from 2019 in the repositories. you might as well delete this one from the repository