[nmglug] yt-dlp updating working on one debian, but not another

Mark Galassi mark at galassi.org
Fri Sep 1 22:37:19 PDT 2023


In my email I gave you the instruction to uninstall the system-installed yt-dlp.  If you do that, then you can install with pip, which gives you the newer version.

LeRoy Diener <leroy at choosetherightside.com> writes:

> Not resolved yet, but a bit more info.
>
> Here are the results on len4, where the yt-dlp update was successful:
> ll at len4:~$ dpkg -l yt-dlp
> dpkg query: no packages found matching yt-dlp
> ll at len4:~$ 
>
> Here are the results on leno, not yet working:
> ll at leno:~$ dpkg -l | grep -i yt-dlp
> ii yt-dlp 2023.03.04-1~bpo11+1 all downloader of videos from YouTube and other
> sites
> ll at leno:~$
>
> Additionally, I got more familiar with dpkg and grep from https://
> www.debian.org/doc/manuals/debian-faq/pkgtools.en.html and https://
> www.howtogeek.com/496056/how-to-use-the-grep-command-on-linux/
>
> Here's the situation:
> The most recent version, 2023.07.06, is working on len4.
> However, the old verion, 2023.03.04, on leno, results in the http 403 forbidden
> error and fails to download any videos. Until recently, yt-dlp was working on
> both.
>
> How can I get yt-dlp to work again on leno?
>
> In gratitude,
> LeRoy
>
>
> --
>
> There is something glorious birthing within all of us.
> I am the Love of God, no matter what.
> BSA
> LeRoy Diener
> 213-LEROYIZ
> 213-537-6949
> https://leroydiener.com
>
> On Thu, 2023-08-31 at 19:26 -0600, Mark Galassi wrote:
>
>
>
>         Here are the results on [...]
>
>
>     In that first vignette you have stuff likely installed with pip, but it
>     looks like someone unwisely ran pip as root instead of using the --user
>     option.
>
>     So that's where pip will give you the latest.
>
>     Note that you should make sure that you have $HOME/.local/bin in your path
>     when you install stuff with pip, and that you use the --user option.
>
>     In the second vignette you have it as a system package, which might update
>     more slowly.  You can remove that and then install your own.  Removing
>     system packages is done with "sudo apt remove pkgname" on debian and "sudo
>     dnf remove pkgname" on rpm-based systems.
>
>     To confirm even more that it's from a system package you can do:
>
>     dpkg -l | grep -i yt-dlp   # (debian-based)
>
>     rpm -qa | grep -i yt-dlp   # (redhat-based)
>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org


More information about the nmglug mailing list