dolphin and kodi not playing nice together

rsronin

Member

Reaction score: 71
Messages: 79

Hi,

I tried KDE on 11.2-RELEASE-p4 but couldn't install Dolphin along Kodi.

Code:
amw@n54l:/usr/home/amw$ sudo pkg install dolphin
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        dolphin: 18.08.2
        kio-extras: 18.08.2_1
        kf5-kdnssd: 5.51.0
        avahi-libdns: 0.7

Number of packages to be installed: 4

The process will require 12 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/4] Fetching dolphin-18.08.2.txz:  19%  704 KiB 720.9kB/s    00:04 [1/4] Fet
[2/4] Fetching kio-extras-18.08.2_1.txz: 100%  924 KiB 946.2kB/s    00:01    
[3/4] Fetching kf5-kdnssd-5.51.0.txz: 100%   65 KiB  66.7kB/s    00:01    
[4/4] Fetching avahi-libdns-0.7.txz: 100%   42 KiB  42.9kB/s    00:01    
Checking integrity... done (1 conflicting)
  - avahi-libdns-0.7 conflicts with mDNSResponder-878.70.2 on /usr/local/lib/l
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 7 package(s) will be affected (of 0 checked):
                           
Installed packages to be REMOVED:
        kodi-17.6_7        
        shairplay-0.9.0.20150921
        mDNSResponder-878.70.2
                           
New packages to be INSTALLED:
        avahi-libdns: 0.7  
        kf5-kdnssd: 5.51.0 
        kio-extras: 18.08.2_1
        dolphin: 18.08.2   
                           
Number of packages to be removed: 3
Number of packages to be installed: 4

The operation will free 62 MiB.

Proceed with this action? [y/N]: n
amw@n54l:/usr/home/amw$ 

"dolphin_conflicts_kodi.txt" 49 lines, 1650 characters
amw@n54l:/usr/home/amw$ uname -r
11.2-RELEASE-p4
I am only using packages right now. Any clues?

Regards, rsronin
 
Last edited by a moderator:

ShelLuser

Son of Beastie

Reaction score: 1,676
Messages: 3,511

I am only using packages right now. Any
Does "right now" imply that you previously used the ports collection to install / manage your software? Because that could definitely explain a few things; how did you convert from ports to packages?

Unless you re-installed everything using pkg upgrade -f you'd still have several ports lying around which can definitely interfere with the dependencies as used by the binary packages.

I base this theory on the fact that Dolphin doesn't directly depend on ahavi-libdns nor kf5-kdnssd:

Code:
root@psi:~ # pkg search -d dolphin-18 | grep -E 'kio|dns'
        kio-extras-18.08.1_1
        kf5-kio-5.50.0
Now, my jail is using quarterly and I suspect that you're using the latest repository, but I still doubt that the dependencies would change so drastically between (minor) versions (Dolphin 18.08.1 on quarterly and 18.08.2 on what I assume to be latest).

(edit) So, the solution would be to ensure that all your packages originate from the binary package repository and that none of them are left over port builds.
 
OP
OP
rsronin

rsronin

Member

Reaction score: 71
Messages: 79

Dear ShelLuser,

I removed a lot of packages and checked if I had installed packages from /usr/ports but I couldn't find them directly. Then I remembered I installed lame from the ports trying to add mp3 conversion to soundconverter (in which mp3 didn't show up btw).

so after:
sudo pkg remove XYZ
sudo pkg autoremove
sudo pkg clean -a
sudo pkg update
sudo pkg upgrade -f

I was able to install Dolphin, but Kodi wants to uninstall Dolphin again.

If I have time I try to do a complete new installation KDE
 
OP
OP
rsronin

rsronin

Member

Reaction score: 71
Messages: 79

ShelLuser

Son of Beastie

Reaction score: 1,676
Messages: 3,511

Well, I got curious and tried to reproduce this situation on my jail (FreeBSD 11.2-p4, using the latest repository) and well...

Code:
Installed packages to be REMOVED:
        kodi-17.6_7
        shairplay-0.9.0.20150921
        mDNSResponder-878.70.2

New packages to be INSTALLED:
        dolphin: 18.08.3
        kio-extras: 18.08.3_2
        kf5-khtml: 5.52.0
        openslp: 2.0.0_1
        libmtp: 1.1.16
        openexr: 2.3.0
        ilmbase: 2.3.0
        kf5-kdnssd: 5.52.0
        avahi-libdns: 0.7

Number of packages to be removed: 3
Number of packages to be installed: 9
When I try to install dolphin then kodi gets removed.

However, on my host I have these two programs working together. Sure; build from the ports collection and I also maintain my own repository, but even so: I never noticed this conflict before.
Then it hit me:
Code:
peter@zefiris:/home/peter $ pkg info -ox kodi dolphin
kodi-17.6_7                    multimedia/kodi
dolphin-plugins-kde4-4.14.3_3  devel/dolphin-plugins-kde4
peter@zefiris:/home/peter $ pkg which `which dolphin`
/usr/local/bin/dolphin was installed by package kde-baseapps-kde4-4.14.3_4
So this seems to be an issue specifically with KDE5 and not so much with 4.

But yeah, until this gets resolved then you'll need to use the ports collection to sort this out.
 
OP
OP
rsronin

rsronin

Member

Reaction score: 71
Messages: 79

Will try again with KDE4 (like the Oxygen theme more than Breeze). Building everything from the ports can wait until Christmas ;-)
 

ShelLuser

Son of Beastie

Reaction score: 1,676
Messages: 3,511

This is a bit of waste of time since KDE4 is deprecated: 2018-12-31. :)
Have to disagree a bit there; just because it'll be deprecated doesn't mean it'll suddenly stop working. My server is currently also running KDE4 and I see little reason to upgrade; with KDE5 I'll get an environment which will be more demanding of my hardware, which means it will most likely even run slower.

And then there's also the drastically changed workflow. I haven't experienced 5 just yet so I can't fully comment (only on hearsay), but I do believe in "If it isn't broke, don't fix it". And some changes can be quite drastic.

Sure, you won't be getting any updates. But if a system works as desired, then who needs those?
 

rigoletto@

Daemon
Developer

Reaction score: 855
Messages: 1,802

This is too much of optimism expect KDE4 will last longer after being deprecated, since it currently demends a reasonable effort to be kept in usable state. ;)

Also, Qt4 will be deprecated soon after KDE4 be removed from ports. Probably to leave around May.
 

rigoletto@

Daemon
Developer

Reaction score: 855
Messages: 1,802

You will need to run X in the jail, I guess. Search for how-to thread about running Firefox in a jail, might be helpful.
 
OP
OP
rsronin

rsronin

Member

Reaction score: 71
Messages: 79

I read the thread but this is far out of my comfort zone.

Yesterday I installed 11.2 and KDE5 on an old disk. Everything works fine except I can not install Kodi, but I can use my favourite KDE applications and Cantata.

Today I installed 11.2 and KDE4 on an other disk. Everything works fine and I could install Kodi without Dolphin being uninstalled. But...

I tried to install Cantata too and it wants to uninstall a lot of other stuff.

$ sudo pkg install cantata
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 21 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
cantata: 2.3.2
qt5-widgets: 5.11.2
qt5-x11extras: 5.11.2
qt5-gui: 5.11.2
xcb-util-wm: 0.4.1_3
qt5-network: 5.11.2
qt5-core: 5.11.2
pcre2: 10.31
qt5-dbus: 5.11.2
qt5-svg: 5.11.2
vlc: 2.2.8_16,4
qt5-xml: 5.11.2
qt5-concurrent: 5.11.2
qt5-sqldrivers-sqlite3: 5.11.2
qt5-sql: 5.11.2
taglib-extras: 1.0.1
mpg123: 1.25.10
libmusicbrainz5: 5.1.0_1
neon: 0.30.2_4
libebur128: 1.2.4
cdparanoia: 3.9.8_10

Number of packages to be installed: 21

The process will require 107 MiB more space.
20 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/21] Fetching cantata-2.3.2.txz: 100% 2 MiB 2.1MB/s 00:01
[2/21] Fetching qt5-widgets-5.11.2.txz: 100% 2 MiB 2.4MB/s 00:01
[3/21] Fetching qt5-x11extras-5.11.2.txz: 100% 19 KiB 19.0kB/s 00:01
[4/21] Fetching qt5-gui-5.11.2.txz: 100% 3 MiB 1.5MB/s 00:02
[5/21] Fetching xcb-util-wm-0.4.1_3.txz: 100% 38 KiB 38.9kB/s 00:01
[6/21] Fetching qt5-network-5.11.2.txz: 100% 502 KiB 513.8kB/s 00:01
[7/21] Fetching qt5-core-5.11.2.txz: 100% 2 MiB 1.1MB/s 00:02
[8/21] Fetching pcre2-10.31.txz: 100% 1 MiB 1.2MB/s 00:01
[9/21] Fetching qt5-dbus-5.11.2.txz: 100% 273 KiB 280.0kB/s 00:01
[10/21] Fetching qt5-svg-5.11.2.txz: 100% 130 KiB 132.9kB/s 00:01
[11/21] Fetching vlc-2.2.8_16,4.txz: 100% 8 MiB 1.7MB/s 00:05
[12/21] Fetching qt5-xml-5.11.2.txz: 100% 93 KiB 95.3kB/s 00:01
[13/21] Fetching qt5-concurrent-5.11.2.txz: 100% 38 KiB 38.4kB/s 00:01
[14/21] Fetching qt5-sqldrivers-sqlite3-5.11.2.txz: 100% 31 KiB 32.1kB/s 00:01
[15/21] Fetching qt5-sql-5.11.2.txz: 100% 93 KiB 94.8kB/s 00:01
[16/21] Fetching taglib-extras-1.0.1.txz: 100% 21 KiB 21.4kB/s 00:01
[17/21] Fetching mpg123-1.25.10.txz: 100% 197 KiB 201.8kB/s 00:01
[18/21] Fetching libmusicbrainz5-5.1.0_1.txz: 100% 144 KiB 147.1kB/s 00:01
[19/21] Fetching neon-0.30.2_4.txz: 100% 228 KiB 233.2kB/s 00:01
[20/21] Fetching libebur128-1.2.4.txz: 100% 18 KiB 18.6kB/s 00:01
[21/21] Fetching cdparanoia-3.9.8_10.txz: 100% 74 KiB 75.9kB/s 00:01
Checking integrity... done (2 conflicting)
- vlc-2.2.8_16,4 conflicts with vlc-qt4-2.2.8_16,4 on /usr/local/bin/cvlc
- vlc-2.2.8_16,4 conflicts with vlc-qt4-2.2.8_16,4 on /usr/local/bin/cvlc
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 24 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
kde-workspace-kde4-4.11.22_26
phonon-vlc-qt4-0.10.1_1
vlc-qt4-2.2.8_16,4

New packages to be INSTALLED:
pcre2: 10.31
qt5-core: 5.11.2
xcb-util-wm: 0.4.1_3
qt5-network: 5.11.2
qt5-dbus: 5.11.2
qt5-gui: 5.11.2
qt5-widgets: 5.11.2
qt5-x11extras: 5.11.2
qt5-sql: 5.11.2
neon: 0.30.2_4
qt5-svg: 5.11.2
vlc: 2.2.8_16,4
qt5-xml: 5.11.2
qt5-concurrent: 5.11.2
qt5-sqldrivers-sqlite3: 5.11.2
taglib-extras: 1.0.1
mpg123: 1.25.10
libmusicbrainz5: 5.1.0_1
libebur128: 1.2.4
cdparanoia: 3.9.8_10
cantata: 2.3.2

Number of packages to be removed: 3
Number of packages to be installed: 21

The operation will free 9 MiB.

Proceed with this action? [y/N]: n

So still no complete transformation to FreeBSD only, at this time.

Hopefully Puddletag will make it to qt5.

What options do I need to choose/set if compiling Kodi with Poudriere so it will not conflict with avahi-libdns?

(BTW, I found an qt4 alternative qmpdclient for the time being)
 
Top