openSUSE Leap 15.4 - here: yt-dlp
Hello all, I've been trying to install yt-dlp . Unfortunately It does not work with the following message: $ sudo zypper in yt-dlp [sudo] password for root: Loading repository data... Reading installed packages... Resolving package dependencies... Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): 2 What to do? Kind regards Michael Be Free, Be Linux
On 09.03.2023 20:16, michael.kasimir@gmx.de wrote:
Hello all, I've been trying to install yt-dlp . Unfortunately It does not work with the following message:
$ sudo zypper in yt-dlp [sudo] password for root: Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): 2
What to do?
Do you need Python 3.9?
on my OS the following python versions are installed: /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.9 /usr/bin/pythontex /usr/bin/python2 /usr/bin/python3 /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python3-config
On 2023-03-09 11:16:58 michael.kasimir@gmx.de wrote:
|Hello all, |I've been trying to install yt-dlp . |Unfortunately It does not work with the following message: | |$ sudo zypper in yt-dlp |[sudo] password for root: |Loading repository data... |Reading installed packages... |Resolving package dependencies... | |Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires |'python310', but this requirement cannot be provided | not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] | python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] | python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] | python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] | Solution 1: deinstallation of | python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install | yt-dlp-2023.03.04-pm154.2.1.noarch | Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of | its dependencies | |Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): 2 | |What to do? | |Kind regards | |Michael | | | |Be Free, Be Linux
I successfully installed it yesterday from the Packman repository. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.4 (x86_64)
@Leslie Thank you for your reply. On my system the proposal to change installation repo to packman changes nothing. sudo zypper install packman:yt-dlp Loading repository data... Reading installed packages... Resolving package dependencies... Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
On 2023-03-11 07:47, Michael Kasimir wrote:
@Leslie Thank you for your reply. On my system the proposal to change installation repo to packman changes nothing.
sudo zypper install packman:yt-dlp Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
I just updated yt-dlp from 2023.02.17 to 2023.03.04, no issues. What repositories do you have active? Do: zypper lr --details | susepaste -n "Michael" -t "repo list" -e 10080 That will result in a link; please paste that here. Please do not paste the zypper output into an email, because the line wrap make it impossible to interpret. Notice that I do not have "python39-setuptools", which seems to cause the problem: cer@Telcontar:~> rpm -qa | grep python | grep "-setuptools" python310-setuptools-57.4.0-150400.4.3.1.noarch python3-setuptools-44.1.1-150400.3.3.1.noarch cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 2023-03-09 19:12, Michael Kasimir wrote:
on my OS the following python versions are installed:
/usr/bin/python /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.9 /usr/bin/pythontex /usr/bin/python2 /usr/bin/python3 /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python3-config
The question is, do you need all of them? I have: cer@Telcontar:~> ls /usr/bin/python* /usr/bin/python /usr/bin/python2-config /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m-config /usr/bin/python-config /usr/bin/python2.7 /usr/bin/python3-config /usr/bin/python3.6-config /usr/bin/pythontex /usr/bin/python2 /usr/bin/python2.7-config /usr/bin/python3.10 /usr/bin/python3.6m cer@Telcontar:~> No 3.9 here. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 11.03.2023 15:45, Carlos E. R. wrote:
On 2023-03-11 07:47, Michael Kasimir wrote:
@Leslie Thank you for your reply. On my system the proposal to change installation repo to packman changes nothing.
sudo zypper install packman:yt-dlp Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
I just updated yt-dlp from 2023.02.17 to 2023.03.04, no issues.
Packages in Leap (or, better, SUSE backports) do not allow multiple Python versions. Python 3.10 conflicts with Python 3.9. This is different in Tumbleweed where multiple Pythons can be installed side by side.
Notice that I do not have "python39-setuptools", which seems to cause the problem:
I already asked OP whether Python 3.9 was required, but there was no response.
* Carlos E. R. <robin.listas@telefonica.net> [03-11-23 07:50]:
On 2023-03-09 19:12, Michael Kasimir wrote:
on my OS the following python versions are installed:
/usr/bin/python /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.9 /usr/bin/pythontex /usr/bin/python2 /usr/bin/python3 /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python3-config
The question is, do you need all of them?
I have:
cer@Telcontar:~> ls /usr/bin/python* /usr/bin/python /usr/bin/python2-config /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m-config /usr/bin/python-config /usr/bin/python2.7 /usr/bin/python3-config /usr/bin/python3.6-config /usr/bin/pythontex /usr/bin/python2 /usr/bin/python2.7-config /usr/bin/python3.10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/bin/python3.6m cer@Telcontar:~>
No 3.9 here.
it wants 3.10 and you have 3.10. perhaps more help to OP if you explain how you came to have 3.10. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
Hi Carlos, according to your post I carried out the command. The result has been: https://susepaste.org/1650d87c12fb https://paste.opensuse.org/1650d87c12fb Carrying out the command $ rpm -qa | grep python | grep "-setuptools" on my OS, supplies: python39-setuptools-44.1.1-150300.7.6.1.noarch python3-setuptools-44.1.1-150400.3.3.1.noarch python2-setuptools-40.5.0-6.3.1.noarch Kind regards
On 2023-03-11 15:17, Michael Kasimir wrote:
Hi Carlos,
according to your post I carried out the command. The result has been:
https://susepaste.org/1650d87c12fb https://paste.opensuse.org/1650d87c12fb
No, I said "zypper lr --details". You didn't put "--details". -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
@Carlos sorry I cannot follow. I carried out exactly (as you advised) the following command: zypper lr --details | susepaste -n "Michael" -t "repo list" -e 10080 I did it again. So the links for the second try are: https://susepaste.org/39bd46517cc3 https://paste.opensuse.org/39bd46517cc3 I cannot see any difference in the result. Note: Perhaps you have not noticed that there is a sliding bar at the bottom edge of the window on susepaste page. Kind regards
On 2023-03-11 19:04, Michael Kasimir wrote:
@Carlos
sorry I cannot follow.
I carried out exactly (as you advised) the following command:
zypper lr --details | susepaste -n "Michael" -t "repo list" -e 10080
I did it again. So the links for the second try are:
https://susepaste.org/39bd46517cc3 https://paste.opensuse.org/39bd46517cc3
I cannot see any difference in the result.
Sorry, my fault. No, I do not get the horizontal sliding bar!
Note: Perhaps you have not noticed that there is a sliding bar at the bottom edge of the window on susepaste page.
Wow, I now see it. Very tiny, inside the text bar. Let me check things that /might/ not be correct. Repos 2 and 3 have automatic refresh disabled. I would change that, or, force a refresh. zypper refresh --force I don't see any disabled repo that should be enabled, nor any repo pointing to another openSUSE release. So, nothing obvious there. I would try to uninstall python39 things. rpm -qa | grep python39 rpm --erase list... or zypper uninstall list... If it complains, let's see what package complains. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On Thu, 09 Mar 2023, 18:16:58 +0100, michael.kasimir@gmx.de wrote:
Hello all, I've been trying to install yt-dlp . Unfortunately It does not work with the following message:
$ sudo zypper in yt-dlp [sudo] password for root: Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: the to be installed yt-dlp-2023.03.04-pm154.2.1.noarch requires 'python310', but this requirement cannot be provided not installable providers: python310-3.10.2-150400.2.15.x86_64[repo-oss] python310-3.10.5-150400.4.7.1.x86_64[repo-sle-update] python310-3.10.7-150400.4.10.1.x86_64[repo-sle-update] python310-3.10.8-150400.4.15.1.x86_64[repo-sle-update] Solution 1: deinstallation of python39-setuptools-44.1.1-150300.7.6.1.noarch Solution 2: do not install yt-dlp-2023.03.04-pm154.2.1.noarch Solution 3: break yt-dlp-2023.03.04-pm154.2.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): 2
What to do?
Choose "1" to deinstall python39 which will pull in python310 instead; perhaps some more questions will be asked, but, unless you *really* need python39, it'll result in a proper replacement of python39 with python310 with all dependencies for yt-dlp being satisfied.
Kind regards
Michael
HTH, cheers. l8er manfred
@Many Thanks to Carlos and Manfred. 1) I carried out enabling repo 2 and 3 with automatic refresh. 2) I removed all python39 files I could find: $ rpm -qa | grep python39 python39-3.9.16-150300.4.24.1.x86_64 python39-idle-3.9.16-150300.4.24.1.x86_64 python39-base-3.9.16-150300.4.24.1.x86_64 python39-tk-3.9.16-150300.4.24.1.x86_64 python39-setuptools-44.1.1-150300.7.6.1.noarch python39-dbm-3.9.16-150300.4.24.1.x86_64 python39-pip-20.2.4-7.8.1.noarch python39-curses-3.9.16-150300.4.24.1.x86_64 3) I finally installed yt-dlp Here the result was that 4 automatically recommended packages were installed python310 python310-curses python310-dbm python310-pip which result in installation of 9 new packages: libpython3_10-1_0 python310 python310-base python310-curses python310-dbm python310-pip python310-setuptools yt-dlp yt-dlp-bash-completion Installation properly finished. yt-dlp works fine at first go.
On 2023-03-11 23:53, Michael Kasimir wrote:
@Many Thanks to Carlos and Manfred.
1) I carried out enabling repo 2 and 3 with automatic refresh.
2) I removed all python39 files I could find: ... 3) I finally installed yt-dlp Here the result was that 4 automatically recommended packages were installed ...> Installation properly finished.
yt-dlp works fine at first go.
Good :-) -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
participants (7)
-
Andrei Borzenkov
-
Carlos E. R.
-
J Leslie Turriff
-
Manfred Hollstein
-
Michael Kasimir
-
michael.kasimir@gmx.de
-
Patrick Shanahan