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

Mark Galassi mark at galassi.org
Thu Aug 31 18:26:45 PDT 2023


> 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)


More information about the nmglug mailing list