Re: yt-dlp updating working on one debian, but not another

LeRoy Diener <[email protected]> Sun, 03 Sep 2023 10:05:38 -0500
Newsgroups gmane.org.user-groups.linux.nmglug
Message-ID <1383f73820e72c1e1a8ec28b5a5471ff75f5de3a.camel@choosetherightside.com>
Mark, thanks for the added clarity.

I now get that the solution will be to install yt-dlp with pip.
I know how to install with apt, i.e. sudo apt remove yt-dlp and sudo
apt install yt-dlp
The part that I am missing is how to install with pip.

So, how do I install with pip?

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 Fri, 2023-09-01 at 23:37 -0600, Mark Galassi wrote:
> 
> 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 <[email protected]> writes:
> 
> > Not resolved yet, but a bit more info.
> > 
> > Here are the results on len4, where the yt-dlp update was
> > successful:
> > ll@len4:~$ dpkg -l yt-dlp
> > dpkg query: no packages found matching yt-dlp
> > ll@len4:~$ 
> > 
> > Here are the results on leno, not yet working:
> > ll@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@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
> > [email protected]
> > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org

_______________________________________________
nmglug mailing list
[email protected]
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org