This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok lastfm configuration fails after upgrade

Tags: None
(comma "," separated)
alleyoopster
Registered Member
Posts
8
Karma
0
OS
After upgrading from 2.6 to 2.7 I cannot configure lastfm module. I am not sure if this is a bug or a support issue. Also an upgrade from KDE 4.8.4 to KDE 4.9.5
The error is:
Cannot load library /usr/lib/kde4/kcm_amarok_service_lastfm.so: (libamarok_service_lastfm_shared.so: cannot open shared object file: No such file or directory)

Possible reasons:
    An error occurred during your last KDE upgrade leaving an orphaned control module
    You have old third party modules lying around.


ls -l /usr/lib/kde4/kcm_amarok_service_lastfm.so
Code: Select all
-rw-r--r-- 1 root root 48080 Jan 27 14:46 /usr/lib/kde4/kcm_amarok_service_lastfm.so
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
"You have old third party modules lying around."

^That is the most likely reason. Please disable all external scripts and erase the configuration files in $HOME/.kde/share/config/

Also please make sure you have all Amarok packages, in Debain this is amarok, amarok-common and amarok-utils


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
alleyoopster
Registered Member
Posts
8
Karma
0
OS
I disabled all plugins and scripts and removed:
.kde/share/config/amarok-appletsrc
.kde/share/config/amarok_homerc
.kde/share/config/amarokrc

Amarok Packages:
i amarok - easy to use media player based on the KDE Platform
i amarok-common - architecture independent files for Amarok
i amarok-dbg - debugging symbols for Amarok
p amarok-doc - Amarok documentation (Handbook)
i amarok-utils - utilities for Amarok media player

Fired up amarok, still same problem
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
And you are sure your amarok is installec correctly? FWIW you should have a working KDE 4.9.x before being able to isntall Amarok 2.7 as it depends on it, so if you had Amarok 2.7 before the KDE upgrade from 4.8.x then something is not right with the package.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
alleyoopster
Registered Member
Posts
8
Karma
0
OS
I did upgrade Amarok first, however I have since reinstalled Amarok (with purge). The reason for this is that I am using KDE 4.9.5 is from experimental-snapshots as it is not available with Debian sid at the moment. Amarok is from Debian (experimental) repo as it is not currently available with the snapshot. I have done a full-upgrade on the system as below:

Code: Select all
## Experimental
deb http://ftp.uk.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ experimental main

##KDE snapshot
deb http://qt-kde.debian.net/debian/ experimental-snapshots main
deb-src http://qt-kde.debian.net/debian/ experimental-snapshots main


I am guessing the problem lies in that they are from different sources and this is not supported? Do you know what packages / files maybe causing the problem? All the dependencies seem to be met on the install.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
You should try getting Amarok from the same sources as KDE 4.9.x, a it has to be compiled against it.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
alleyoopster
Registered Member
Posts
8
Karma
0
OS
I understand. That won't be possible at the with Debain at the moment, but I know roughly where the problem is. I think sid may have the packages Amarok is missing as the snapshot of KDE is normally run alongside sid.

Thanks for pointing me in the right direction.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]