Amarok unable to start in 16.04 beta

Bug #1565552 reported by Valorie Zimmerman
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
Expired
Undecided
Unassigned

Bug Description

Starting from krunner, I get the error message: KDEInit could not launch 'amarok':
Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_amarok'.
Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_amarok: (/usr/lib/x86_64-linux-gnu/libkdeinit5_amarok.so: cannot open shared object file: No such file or directory)

When I launched `ubuntu-bug amarok` from the command-line, apport reported that Amarok was not installed, which was news, since it was installed before upgrading to the beta.

$ sudo apt install amarok
[sudo] password for valorie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 amarok : Depends: amarok-common (= 2:2.8.0-0ubuntu6) but 2:2.8.90-0ubuntu1~ubuntu15.10~ppa2 is to be installed
E: Unable to correct problems, you have held broken packages.

$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04

$ apt-cache policy amarok
amarok:
  Installed: (none)
  Candidate: 2:2.8.0-0ubuntu6
  Version table:
     2:2.8.90-0ubuntu1~ubuntu15.10~ppa2 0
        100 /var/lib/dpkg/status
     2:2.8.0-0ubuntu6 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: amarok (not installed)
ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Apr 3 13:41:32 2016
InstallationDate: Installed on 2015-08-11 (236 days ago)
InstallationMedia: It
SourcePackage: amarok
UpgradeStatus: Upgraded to xenial on 2016-03-27 (7 days ago)

Revision history for this message
Valorie Zimmerman (valorie-zimmerman) wrote :
Revision history for this message
Valorie Zimmerman (valorie-zimmerman) wrote :

Once I purged amarok* (sudo apt-get purge amarok*) I could then successfully re-install and run Amarok.

Sorry for the bug report; please close or remove.

Revision history for this message
Philip Muškovac (yofel) wrote :

Reassigning it to the PPA instead.

The problem is that the backports ppa for some reason unknown to me has a beta build of amarok 2.9 that was never released anywhere else, and as that seems to be incompatible with the rest of the software stack in xenial, everyone that used the backports ppa in wily and upgrades to xenial will run into this.

affects: amarok (Ubuntu) → kubuntu-ppa
Changed in kubuntu-ppa:
status: New → Triaged
Revision history for this message
amichair (amichai2) wrote :

Thanks for the purge/reinstall workaround - worked for me.

Revision history for this message
Jaume (minterior) wrote :

Hi. I had exactly the same error message:

KDEInit could not launch 'amarok':
Could not open library '/usr/lib/x86_64-linux-gnu/libkdeinit5_amarok'.
Cannot load library /usr/lib/x86_64-linux-gnu/libkdeinit5_amarok: (/usr/lib/x86_64-linux-gnu/libkdeinit5_amarok.so: cannot open shared object file: No such file or directory)

And Amarok is not installed right now as well. So when I try to install it I get:

$ sudo apt install amarok
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 amarok : Depends: libqca2v5 (>= 2.0.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

I then tried:

$ sudo apt install amarok libqca2v5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqca2v5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libqca2:i386 libqca2

E: Package 'libqca2v5' has no installation candidate

$ dpkg --get-selections | grep libqca2
libqca2:amd64 install
libqca2-plugin-ossl:amd64 install
libqca2-plugins:amd64 install
libqca2v5:amd64 deinstall

I then tried to purge libqca2 (which uninstalls an amount of related dependencies) and try to install amarok again with the same problem (so I reinstalled the removed packages to the same initial status).

It seems that libqca2v5 is not installable and libqca2 is already installed and replaces it, but amarok depends on the other.

I also tried the Valorie Zimmerman suggestion (purge amarok*) without success.

Revision history for this message
Jaume (minterior) wrote :

I forgot to mention my system data:

$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04

$ apt-cache policy amarok
amarok:
  Installed: (none)
  Candidate: 2:2.8.90-0ubuntu1~ubuntu15.10~ppa2
  Version table:
     2:2.8.90-0ubuntu1~ubuntu15.10~ppa2 500
        500 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu wily/main amd64 Packages
     2:2.8.0-0ubuntu9 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Seeing the two versions of the package, I finally tried to install the exact version 2:2.8.0-0ubuntu9 like this:

$ sudo apt-get install amarok=2:2.8.0-0ubuntu9 amarok-common=2:2.8.0-0ubuntu9 amarok-utils=2:2.8.0-0ubuntu9

And it worked now! So as Philip Muškovac pointed out the problem seems to reside in kubuntu-ppa.

Revision history for this message
Alessandro Pra' (alessandro-pra) wrote :

I suppose the PPA included the Amarok beta because in the current release scrobbling is completely broken, both from iPod/mp3 player and the system's music collection. I've been able to solve that by installing the PPA beta version, and now that it's not available for xenial I have no scrobbling again. :/

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Kubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Kubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Kubuntu version. If you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 1565552

and any other logs that are relevant for this particular issue.

Changed in kubuntu-ppa:
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Kubuntu PPA because there has been no activity for 60 days.]

Changed in kubuntu-ppa:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.