<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>fix &amp;mdash; Paul Sutton</title>
    <link>https://paper.wf/paulsutton/tag:fix</link>
    <description>Paul Sutton - personal blog </description>
    <pubDate>Thu, 07 May 2026 00:38:43 +0000</pubDate>
    <item>
      <title>Youtube-dl out of date</title>
      <link>https://paper.wf/paulsutton/youtube-dl-out-of-date</link>
      <description>&lt;![CDATA[Youtube-dl out of date&#xA;&#xA;The youtube-dl tool on Debian 10 is out of date, it seems even the sid version is behind, by a good few months.  &#xA;&#xA;After some searching I have found a way to fix this.  &#xA;&#xA;Please note you need to do you OWN RESEARCH in to fixing this.  I am not responsible for loss or problems caused by following what I have put here.&#xA;&#xA;Firstly I was getting the following error&#xA;&#xA;youtube-dl https://www.youtube.com/watch?v=0JSHubLg7NE&#xA;[youtube] 0JSHubLg7NE: Downloading webpage&#xA;[youtube] 0JSHubLg7NE: Downloading video info webpage&#xA;ERROR: 0JSHubLg7NE: YouTube said: This video is unavailable.&#xA;&#xA;The webpage here was a little helpful &#xA;&#xA;*https://askubuntu.com/questions/1200552/youtube-dl-troubleshooting-error-this-video-is-unavailable&#xA;&#xA;In providing an explanation and some fixes.&#xA;&#xA;Firstly on Debian the internal update option is disabled so &#xA;&#xA;youtube-dl -U&#xA;&#xA;Won&#39;t work,  reading further this seems to download the latest version&#xA;&#xA;While the above instructions worked for me, The old version was still installed, this needs to be removed so doing this before hand may help.&#xA;&#xA;However if you want to check the current version before removing you can use:&#xA;&#xA;youtube-dl --version&#xA;&#xA;Then remove with: &#xA;&#xA;apt remove youtube-dl -&#xA;&#xA;The instructions &#xA;&#xA;wget http://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl&#xA;&#xA;You will still need to change the permissions as per above website. I am not repeating them here, you need to read up.&#xA;&#xA;However - Debian appears to expect youtube-dl to be in /usr/bin. &#xA;&#xA;The above solution downloads to /usr/local/bin/youtube-dl,  you can either put in the path manually when running as in:&#xA;&#xA;/usr/local/bin/youtube-dl https://www.youtube.com/watch?v=0JSHubLg7NE&#xA;&#xA;Which gets rather tedious to keep doing that.&#xA;&#xA;In order to get round this, I have copied the binary to where Debian wants it&#xA;&#xA;cp /usr/local/bin/youtube-dl /usr/bin/youtube-dl&#xA;&#xA;Which seems to work for me,  but is probably the wrong way to go about doing this. &#xA;&#xA;You can now find the version that is now installed by using&#xA;&#xA;youtube-dl --version&#xA;&#xA;2020.01.24&#xA;&#xA;Hopefully this is useful. You need to do your own research but the problem is fixable.  &#xA;&#xA;Once you have upgraded you can download youtube videos in the normal way with youtube-dl.&#xA;&#xA;#debian, #youtube-dl, #error, #fix, #solution, #gnu, #linux&#xA;&#xA;You can find me on Friendica at zleap@social.isurf.ca&#xA;&#xA;---&#xA;&#xA;cc-by logo&#xA;&#xA;Licenced under Attribution 4.0 International (CC BY 4.0)]]&gt;</description>
      <content:encoded><![CDATA[<p>Youtube-dl out of date</p>

<p>The youtube-dl tool on Debian 10 is out of date, it seems even the sid version is behind, by a good few months.</p>

<p>After some searching I have found a way to fix this.</p>

<p><strong>Please note you need to do you OWN RESEARCH in to fixing this.  I am not responsible for loss or problems caused by following what I have put here.</strong></p>

<p>Firstly I was getting the following error</p>

<p>youtube-dl <a href="https://www.youtube.com/watch?v=0JSHubLg7NE" rel="nofollow">https://www.youtube.com/watch?v=0JSHubLg7NE</a>
[youtube] 0JSHubLg7NE: Downloading webpage
[youtube] 0JSHubLg7NE: Downloading video info webpage
ERROR: 0JSHubLg7NE: YouTube said: This video is unavailable.</p>

<p>The webpage here was a little helpful</p>

<p>*<a href="https://askubuntu.com/questions/1200552/youtube-dl-troubleshooting-error-this-video-is-unavailable" rel="nofollow">https://askubuntu.com/questions/1200552/youtube-dl-troubleshooting-error-this-video-is-unavailable</a></p>

<p>In providing an explanation and some fixes.</p>

<p>Firstly on Debian the internal update option is disabled so</p>

<p>youtube-dl -U</p>

<p>Won&#39;t work,  reading further this seems to download the latest version</p>

<p>While the above instructions worked for me, The old version was still installed, this needs to be removed so doing this before hand may help.</p>

<p>However if you want to <strong>check the current version</strong> before removing you can use:</p>

<p><strong>youtube-dl —version</strong></p>

<p>Then remove with:</p>

<p><strong>apt remove youtube-dl</strong> -</p>

<p>The instructions</p>

<p>wget <a href="http://yt-dl.org/downloads/latest/youtube-dl" rel="nofollow">http://yt-dl.org/downloads/latest/youtube-dl</a> -O /usr/local/bin/youtube-dl</p>

<p>You will still need to change the permissions as per above website. I am not repeating them here, you need to read up.</p>

<p><strong>However</strong> – Debian appears to expect youtube-dl to be in /usr/bin.</p>

<p>The above solution downloads to /usr/local/bin/youtube-dl,  you can either put in the path manually when running as in:</p>

<p>/usr/local/bin/youtube-dl <a href="https://www.youtube.com/watch?v=0JSHubLg7NE" rel="nofollow">https://www.youtube.com/watch?v=0JSHubLg7NE</a></p>

<p>Which gets rather tedious to keep doing that.</p>

<p>In order to get round this, I have copied the binary to where Debian wants it</p>

<p>cp /usr/local/bin/youtube-dl /usr/bin/youtube-dl</p>

<p>Which seems to work for me,  but is probably the wrong way to go about doing this.</p>

<p>You can now find the version that is now installed by using</p>

<p>youtube-dl —version</p>

<p>2020.01.24</p>

<p>Hopefully this is useful. You need to do your own research but the problem is fixable.</p>

<p>Once you have upgraded you can download youtube videos in the normal way with youtube-dl.</p>

<p><a href="/paulsutton/tag:debian" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">debian</span></a>, <a href="/paulsutton/tag:youtube" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">youtube</span></a>-dl, <a href="/paulsutton/tag:error" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">error</span></a>, <a href="/paulsutton/tag:fix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">fix</span></a>, <a href="/paulsutton/tag:solution" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">solution</span></a>, <a href="/paulsutton/tag:gnu" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">gnu</span></a>, <a href="/paulsutton/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a></p>

<p><a href="https://social.isurf.ca/profile/zleap" rel="nofollow">You can find me on Friendica at zleap@social.isurf.ca</a></p>

<hr>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/88x31.png" alt="cc-by logo"></p>

<p><a href="https://creativecommons.org/licenses/by/4.0/" rel="nofollow">Licenced under Attribution 4.0 International (CC BY 4.0)</a></p>
]]></content:encoded>
      <guid>https://paper.wf/paulsutton/youtube-dl-out-of-date</guid>
      <pubDate>Thu, 30 Jan 2020 19:01:33 +0000</pubDate>
    </item>
  </channel>
</rss>