The officially official Devuan Forum!

You are not logged in.

#1 2020-08-20 06:32:10

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

[SOLVED] mpv (0.29.1-1) dependent on python 2.7

Hello guys! I'm not sure if i should address this request here or on the Debian forum, but just installed Devuan 3 (stable) recently minimal NETINST and notice that package MPV video player is dependent on python 2.7 during the installation, meanwhile we know that support for this package is over.

But infact i don't want python2.7 to be installed at all. Nor i want youtube-dl to be downloaded automatically by apt, as always i did it manually by official-download

My sources.list

#Installed Date 13-08-2020
#deb cdrom:[Devuan GNU/Linux 3.0 (beowulf) amd64 - netinstall 20200526]/ beowulf contrib main non-free
deb http://deb.devuan.org/merged beowulf main non-free contrib
deb http://deb.devuan.org/merged beowulf-security main contrib non-free
deb http://deb.devuan.org/merged beowulf-updates main contrib non-free
#deb http://deb.devuan.org/merged beowulf-backports main contrib non-free

Activated manually to prevent Recommends, Suggests @ /etc/apt/apt.conf.d > 01norecommend

APT::Install-Recommends "0";
APT::Install-Suggests "0";

My effort to install mpv

apt-get install mpv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libarchive13 libasyncns0 libatomic1 libavc1394-0 libavdevice58 libcaca0 libcdio-cdda2 libcdio-paranoia2 libcdio18 libdc1394-22 libdvdnav4 libdvdread4 libflac8 libiec61883-0 libjack-jackd2-0 libjansson4 libldb1 liblmdb0
  liblua5.2-0 libopenal-data libopenal1 libpulse0 libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libraw1394-11 libsdl2-2.0-0 libsmbclient libsndfile1 libsndio7.0 libtalloc2 libtdb1
  libtevent0 libva-wayland2 libvulkan1 libwbclient0 libwrap0 python python-minimal python-talloc python2 python2-minimal python2.7 python2.7-minimal samba-libs
Suggested packages:
  lrzip libdvdcss2 jackd2 libportaudio2 pulseaudio libraw1394-doc sndiod python-doc python-tk python2-doc python2.7-doc binutils binfmt-support
Recommended packages:
  youtube-dl
The following NEW packages will be installed:
  libarchive13 libasyncns0 libatomic1 libavc1394-0 libavdevice58 libcaca0 libcdio-cdda2 libcdio-paranoia2 libcdio18 libdc1394-22 libdvdnav4 libdvdread4 libflac8 libiec61883-0 libjack-jackd2-0 libjansson4 libldb1 liblmdb0
  liblua5.2-0 libopenal-data libopenal1 libpulse0 libpython-stdlib libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libraw1394-11 libsdl2-2.0-0 libsmbclient libsndfile1 libsndio7.0 libtalloc2 libtdb1
  libtevent0 libva-wayland2 libvulkan1 libwbclient0 libwrap0 mpv python python-minimal python-talloc python2 python2-minimal python2.7 python2.7-minimal samba-libs
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 59.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]

From Debian mpv other Packages Related to mpv i do not see any python listed, therefore I do not understand where this need for it comes from?
As well Devuan packages mpv shows no python on the list.

I doubt the dependence on the python it is under the pretext that it is necessary for "youtube-dl"? or accidental dependence? and therefore seeks to install it?

Strangely when i do apt-cache show mpv i not see mpv to have dependent on python.

✓ nili@ ~ $ apt-cache show mpv
Package: mpv
Version: 0.29.1-1
Installed-Size: 2378
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Architecture: amd64
Depends: libarchive13 (>= 3.1.2), libasound2 (>= 1.0.27), libass9 (>= 1:0.13.6), libavcodec58 (>= 7:4.0), libavdevice58 (>= 7:4.0), libavfilter7 (>= 7:4.0), libavformat58 (>= 7:4.0), libavutil56 (>= 7:4.0), libbluray2 (>= 1:0.2.2), libc6 (>= 2.27), libcaca0 (>= 0.99.beta17-1), libcdio-cdda2 (>= 10.2+0.94+2), libcdio-paranoia2 (>= 10.2+0.94+2), libcdio18 (>= 2.0.0), libdrm2 (>= 2.4.62), libdvdnav4 (>= 4.1.3), libdvdread4 (>= 4.1.3), libegl1, libgbm1 (>= 8.1~0), libgl1, libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), liblua5.2-0, libpulse0 (>= 0.99.4), librubberband2, libsdl2-2.0-0 (>= 2.0.8), libsmbclient (>= 2:4.0.3+dfsg1), libsndio7.0 (>= 1.1.0), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libuchardet0 (>= 0.0.1), libva-drm2 (>= 1.1.0), libva-wayland2 (>= 1.3.0), libva-x11-2 (>= 1.0.3), libva2 (>= 2.1.0), libvdpau1 (>= 0.2), libvulkan1, libwayland-client0 (>= 1.9.91), libwayland-cursor0 (>= 1.0.2), libwayland-egl1 (>= 1.15.0), libx11-6, libxext6, libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.2), libxss1, libxv1, zlib1g (>= 1:1.1.4)
Homepage: https://mpv.io/
Recommends: xdg-utils, youtube-dl (>= 2014.11.26)
Description: video player based on MPlayer/mplayer2
Description-md5: 42d61bf874a5fe751d6c1a8601d1276d
Multi-Arch: foreign
Tag: implemented-in::c, interface::graphical, interface::x11, role::program,
 sound::player, uitoolkit::sdl, uitoolkit::xlib, use::playing,
 works-with-format::mp3, works-with-format::oggtheora,
 works-with-format::oggvorbis, works-with-format::wav,
 works-with::audio, works-with::video, x11::application
Section: video
Priority: optional
Filename: pool/DEBIAN/main/m/mpv/mpv_0.29.1-1_amd64.deb
Size: 959744
MD5sum: 106dca7f2632d6ef9ea8e945a33eff47
SHA256: ab19d250c59c3330d8982f47d520f43d655a4054e3b043e2ed5131df3a064df8

or apt-cache rdepends mpv

✓ nili@ ~ $ apt-cache rdepends mpv
mpv
Reverse Depends:
  libquvi-0.9-0.9.3
 |translate-shell
 |zomg
 |youtube-dl
  w3m
 |streamlink
 |smtube
 |smplayer
  parl-desktop
  multimedia-video
 |mediathekview
 |lives
  kylin-video
 |anki
  gmusicbrowser
 |gaupol
  devede
  design-desktop

I do not understand what makes it dependent on python2.7? I would like to install an mpv without python2.7 or python as have done other times. P.S. I have python3 installed and if it were dependent on it that i see here i would accept it after all.

What do you suggest or advise me please?

Thank you.

Last edited by Nili (2020-08-20 13:22:03)


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#2 2020-08-20 07:31:29

larsH
Member
Registered: 2020-05-05
Posts: 184  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Hi

Devuan stable "Beowulf" is based on debian current stable "Buster". This version was released mid 2019 and contains python2 and depends on it for a lot of stuff and will do so in the rest of its lifetime. This way of freezing things and just fixing security and severe bugs is what brings the huge stability of the system. If you want to avoid python2 "upgrade" to testing "chimera". It is on the other hand not so well tested and contains bugs.

Have a nice day
Lars H

Offline

#3 2020-08-20 08:26:44

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Nili wrote:

package MPV video player is dependent on python 2.7 during the installation, meanwhile we know that support for this package is over

Although python2 has reached EOL upstream the Debian Security Team are still supporting it and will apply any fixes as required.

Nili wrote:

I do not understand what makes it dependent on python2.7?

It's a dependency of one of the dependencies.

Try this:

# apt install debtree graphviz
debtree mpv > mpv.dot
dot -Tsvg -o mpv.svg mpv.dot

Then open mpv.svg in your browser and try to trace the spider's web smile


Brianna Ghey — Rest In Power

Offline

#4 2020-08-20 10:03:31

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

@larsH, Thank you for your answer.

I will consider passing to the testing repo. Have been used testing before on #!.
Perhaps it's a good chance to try it again. First i will prepare a few things and i am giving a way to testing.

@Hoas, Ouch! i thought Debian have killed it for good python2.7. EOL so kaput! I have replaced some apps depending on python2.7 i was left alone only to mpv.

Well, i installed tried what you advised. I can not find where the dependency it is smile I see no python2 in the list, or who is the dependency factor. Please understood my lack of information. First time i use these tools, maybe i will need them in testing, i had years with stable repo as i did not have much time for testing rehearsals.

Here are the results.
mpv.dot
mpv.svg

Anyway, i'm doing a repo testing lap to fall short the road. It would be better to have SID, but I do not have too much time for it.


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#5 2020-08-20 13:49:39

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

I went to Testing repo with a single line

deb http://deb.devuan.org/merged chimaera main non-free contrib

Everything went bloody wonderfully within 10min from stable to testing. So, i installed mpv (0.32.0-2+b1) with python3.8 dependent.
No more python 2.7 around.

The only concern that bother me now, it has nothing to do with this topic, but since we're almost closed here i'm asking.
It's about the Kernel version.
50247298578_156ebcd0ce.jpg

The only package that hasn't been upgraded is the kernel? Maybe because i left only one repo to the sources.list?
I used only a repo long ago so i did it again. It's ok to have stable kernel on testing repo? i have nothing issues with this kernel. I am satisfied even if it stays and if nothing wrong.

P.S i even boot it to 50MB > 70MB Openbox+Tint2+URxvt smile Obsoletes are always fun.

Thank you!


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#6 2020-08-20 14:01:05

larsH
Member
Registered: 2020-05-05
Posts: 184  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Hi

Sounds good. There should be no problems running the stable kernel (except for security but there is no support for that with chimera yet). But is linux-iamge-amd64 installed on your system. If not it does explain the missing upgrade ;-))

Have a nice day
Lars H

Last edited by larsH (2020-08-20 14:01:14)

Offline

#7 2020-08-20 14:05:13

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

The kernel does not get upgraded automatically unless you have the kernel metapackage installed - linux-image-amd64 (or other arch).  Either install that or install the specific kernel package you want.

I have linux-image-5.6.0-2-amd64 in chimaera, and I think that's the latest.

You already have the only line for chimaera in your sources.list. There won't be any -updates or -security repos until after chimaera goes stable (or maybe after bullseye goes stable).

Offline

#8 2020-08-20 14:33:38

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Thanks larsH & fsmithred
I Haven't installed linux-image-amd64 so this was the reason for not updating automatically the kernel. Good to know.

✓ nili@ ~ $ apt-cache policy linux-image-amd64
linux-image-amd64:
  Installed: (none)
  Candidate: 5.7.10-1
  Version table:
     5.7.10-1 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

For the moment i will let it with stable kernel until i have to adjust some personal settings, days later i will give a try installing kernel 5.7.10-1 manually.

@fsmithred

fsmithred wrote:

You already have the only line for chimaera in your sources.list. There won't be any -updates or -security repos until after chimaera goes stable (or maybe after bullseye goes stable).

Thanks for clarification of this part, I'm interested in getting update of course, I can not leave without any update until the next version.

So adding another line should fix it?

deb http://deb.devuan.org/merged chimaera-updates main non-free contrib

Regarding Security i want them aswell, but i'm afraid of mixing repos stable/testing because of conflicts later.
Any extra advice on the most appropriate testing list would be highly advisable.

I want testing with updates
If it is possible testing with updates + security i want them aswell.

Thanks so much all for your suggestions


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#9 2020-08-20 14:49:54

larsH
Member
Registered: 2020-05-05
Posts: 184  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Hi

Do never mix versions and distributions. Until chimera becomes stable it will receive no security updates. But it is a rolling distribution until then (the last months before release it will not have new packages and versions either, that is how to make it stable). Read more here https://www.debian.org/releases/testing/ You cant have everything you want. Either stable with older and very stable packages, or testing/unstable with newer but less tested packages.

Have a nice day
Lars H

Last edited by larsH (2020-08-20 14:50:06)

Offline

#10 2020-08-20 14:59:25

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

testing is unstable nili. afaia, only stable/beowulf gets security updates that matter.

Q: How is security handled for testing?

A: Security for testing benefits from the security efforts of the entire project for unstable. However, there is a minimum two-day migration delay, and sometimes security fixes can be held up by transitions. The Security Team helps to move along those transitions holding back important security uploads, but this is not always possible and delays may occur. Especially in the months after a new stable release, when many new versions are uploaded to unstable, security fixes for testing may lag behind. If you want to have a secure (and stable) server you are strongly encouraged to stay with stable.

Q: How is security handled for contrib and non-free?

A: The short answer is: it's not. Contrib and non-free aren't official parts of the Debian Distribution and are not released, and thus not supported by the security team. Some non-free packages are distributed without source or without a license allowing the distribution of modified versions. In those cases no security fixes can be made at all. If it is possible to fix the problem, and the package maintainer or someone else provides correct updated packages, then the security team will generally process them and release an advisory.

https://wiki.debian.org/DebianTesting

Last edited by HevyDevy (2020-08-20 15:06:02)

Offline

#11 2020-08-20 15:03:50

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

If first line "chimaera main" gets apps/packages updates without security i'm ok to give a try until the transition to the next stable is made. So, i leave with only the single line to not mix the versions, also i should read more about testing.

Despite the fact that I have used testing before, 5 years have passed since then i almost forgot everything while staying long in the stable.
I may call this topic finally completed/solved.

Thanks once again for everything.

Edit hey HevyDevy, thanks for your input aswell bro, I will read carefully all the recommendations.
I have made backups in case i do stupidity. I will try to read more, today I got a little euphoric as it went great passing to testing.

Last edited by Nili (2020-08-20 15:11:19)


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#12 2020-08-20 15:25:18

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Maybe there is  a way around using mpv? Perhaps another way of playing videos. I messed about ages ago with something called ffplay that i believe is part of ffmpeg. Worth a look if you are interested in something that sucks less and rocks!

https://www.ffmpeg.org/ffplay.html

Last edited by HevyDevy (2020-08-20 15:26:28)

Offline

#13 2020-08-20 16:03:23

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

That's good to hear about stuff that suck less. I use ffmpeg to cut or merge stuff, i have heard about ffplay, but haven't watched it yet.
Bookmarked, Thanks HevyDevy!


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

#14 2020-08-20 16:45:03

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

Nili wrote:

I can not find where the dependency it is smile I see no python2 in the list, or who is the dependency factor.

Yes, sorry, I didn't have time to check this morning.

This shows python2:

debtree --show-all mpv | dot -Tsvg > mpv.svg

Brianna Ghey — Rest In Power

Offline

#15 2020-08-20 16:50:20

Nili
Member
From: $HOME/♫♪
Registered: 2016-12-01
Posts: 230  
Website

Re: [SOLVED] mpv (0.29.1-1) dependent on python 2.7

It's OK Hoas, i have passed on testing now, so i got rid python2. Still it's good to have the right command, i'm saving it to use other time if needed.

Best Regards!


openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Offline

Board footer