Solved How can I find the needed Ubuntu repository and use it in Mint?

Solved issue

sofasurfer

Active Member
Joined
May 24, 2022
Messages
175
Reaction score
59
Credits
1,498
YT-DLP works great in Ubuntu. The version is yt-dlp 2022.03.08.1-1~bpo20.04.1.
YT-DLP does not work in Mint. The version is yt-dlp 2023.03.04.1~bpo22.04.1. The error I get is
Code:
$ yt-dlp --ffmpeg-location /usr/bin https://youtu.be/MVw2G3OlUck
[youtube] MVw2G3OlUck: Downloading webpage
[youtube] MVw2G3OlUck: Downloading android player API JSON
ERROR: [youtube] MVw2G3OlUck: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
I am not authoratative in repositories yet. How do I get Mint to include the proper repository to install <yt-dlp 2022.03.08.1#####>
 


the current YT-DLP in Linux Mint repository is 2022.04.08-1

Is your system up to date?

Another good app in Linux Mint repository is Video Downloader
 
$ apt-cache showpkg yt-dlp shows that 2023 is the only version available. The following was taken while logged into Mint.
Code:
$ apt-cache showpkg yt-dlp
Package: yt-dlp
Versions: 
2023.03.04-1~bpo22.04.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy-backports_universe_binary-amd64_Packages) (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy-backports_universe_binary-i386_Packages)

2022.04.08-1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_binary-amd64_Packages) (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_binary-i386_Packages)
0 (null)) python3-pyxattr (0 (null)) rtmpdump (0 (null)) libfribidi-bin (16 (null)) bidiv (0 (null)) mpv (16 (null)) mplayer (0 
 
  [code]

The following was taken while logged into Ubuntu.
[code]  
$ apt-cache showpkg yt-dlp
Package: yt-dlp
Versions: 
2022.03.08.1-1~bpo20.04.1 (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-amd64_Packages) (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-i386_Packages)
 
I think we have encountered this problem before.......you have not stated which Linux Mint you are running...

Linux Mint 21.1 Cinnamon ?

1680488828699.png
 
Is that Linux mint 21.1 Cinnamon ?

If you are unsure...click on menu and type in Welcome Screen....the version etc will be shown in the bottom right hand corner of the window that opens
 
If your system is up to date, via the Update Manager....then the pic I showed above (and below) applies to your system just as it applies to mine.
1680494919140.png



or....you could just make your life easier and use Video Downloader.....also available in the Software Manager
 
If you use Firefox browser [as I do] you can use the Firefox

YouTube Video and Audio Downloader

add on
 
  • Like
Reactions: Zev
A quick look at CLI and I see

Code:
guiverc@d7050-next:~$   rmadison yt-dlp
 yt-dlp | 2022.03.08.1-1~bpo20.04.1 | focal-backports/universe | all
 yt-dlp | 2022.04.08-1              | jammy/universe           | source, all
 yt-dlp | 2022.08.19-1~bpo20.04.1   | focal-backports/universe | source
 yt-dlp | 2022.10.04-1              | kinetic/universe         | source, all
 yt-dlp | 2023.03.04-1~bpo22.04.1   | jammy-backports/universe | source, all
 yt-dlp | 2023.03.04-1              | lunar/universe           | source, all

Do you have focal-backports enabled?

( You're off-topic on askubuntu... this is the detail I'd have posted there if you weren't so off-topic with your question... I'd also have posted a link to how to add the backports from the Ubuntu wiki; but sorry I don't know the equivalent link for Linux Mint )
 
Last edited:
Re you question over at ask ubuntu, Daryl......I will state once again. If you are in fact running Linux Mint 21.1 Cinnamon, and providing your system is up to date with all updates installed.....then the app that you are seeking (yt-dlp) is available for download in the Software Manager.
 
Last edited:
In Firefox I use these add ons...
Easy youtube video downloader express
Save from.net helper

m1212.gif
 
I used to use youtube viseo downloader but I am not fond of it.

Finally, I found the 2022.04 version.
Code:
$ apt-cache policy yt-dlp

yt-dlp:

Installed: 2022.04.08-1

Candidate: 2022.04.08-1

Version table:

2023.03.04-1~bpo22.04.1 100

100 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages

100 http://archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages

*** 2022.04.08-1 500

500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages

100 /var/lib/dpkg/status



I have it installed.
Code:
$ sudo apt-get install yt-dlp=2022.04.08-1

[sudo] password for daryl:

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

yt-dlp is already the newest version (2022.04.08-1).

0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.



When I run it I get an error.
Code:
$ cd Downloads; yt-dlp --ffmpeg-location /usr/bin https://youtu.be/1kvqz6_vd_w

[youtube] 1kvqz6_vd_w: Downloading webpage

[youtube] 1kvqz6_vd_w: Downloading android player API JSON

ERROR: [youtube] 1kvqz6_vd_w: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U





When I run yt-dlp -U I get an error.
Code:
$ yt-dlp -U

Usage: yt-dlp [OPTIONS] URL [URL...]



yt-dlp: error: yt-dlp's self-update mechanism is disabled on Debian.

Please update yt-dlp using apt(8).

See https://packages.debian.org/sid/yt-dlp for the latest packaged version.



Please explain what I do with this statement.
Code:
Please update yt-dlp using apt(8)
 
@sofasurfer Daryl, I believe you have made some good efforts to install and run this, but it is not running as planned.

I am going to cobble together some material which works for me in Vera and I am 99% or more sure it will work for you.

I'll take a few minutes to put it together and then I will be back.

Cheers

Wizard
 
yt-dlp installs just fine on Ubuntu for me, but it does not work. I had the same issue with youtube-dl, with both I get "unable to extract".
 
yt-dlp installs just fine on Ubuntu for me, but it does not work. I had the same issue with youtube-dl, with both I get "unable to extract".
I was getting the following when I first installed yt-dlp in Ubuntu.
Code:
ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location
Here is the answer to that error.
Code:
Insert <--ffmpeg-location /usr/bin> into command line
So your command should look like this.
Code:
yt-dlp --ffmpeg-location /usr/bin (url)
 
Last edited:
Use this...LM21.1 Cinnamon, Software Manager

It would be of interest to know if it is in the Ubuntu repository ?

1680659174733.png
 

Members online


Top