Unmet dependency while installing Musescore 2.o.3

Asked by William Pabon

Hi:

When I try to install Musescore from the repositories I get the following message:

The following packages have unmet dependencies:
 musescore : Depends: qtbase-abi-5-5-1
E: Unable to correct problems, you have held broken packages.
williepabon@WP-Macmini:~$

How do I resolve this?

Details of my machine:

williepabon@WP-Macmini:~$
williepabon@WP-Macmini:~$ uname -a
Linux WP-Macmini 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
williepabon@WP-Macmini:~$ lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

Thanks for your help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

apt-cache policy musescore

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For diagnostic purposes please provide the output of the following commands:

apt-cache policy musescore libqt5core5a
sudo dpkg --audit

Revision history for this message
William Pabon (williepabon) said :
#3

Andrew;

As requested, this is the output:

williepabon@WP-Macmini:~$ apt-cache policy musescore
musescore:
  Installed: (none)
  Candidate: 2.0.3+dfsg1-0ubuntu0ppa1~xenial1
  Version table:
     2.0.3+dfsg1-0ubuntu0ppa1~xenial1 500
        500 http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.2+dfsg-2ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
     2.0.2+dfsg-2build1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Manfred:

These are the outputs requested:

williepabon@WP-Macmini:~$ apt-cache policy musescore libqt5core5a
musescore:
  Installed: (none)
  Candidate: 2.0.3+dfsg1-0ubuntu0ppa1~xenial1
  Version table:
     2.0.3+dfsg1-0ubuntu0ppa1~xenial1 500
        500 http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.2+dfsg-2ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
     2.0.2+dfsg-2build1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
libqt5core5a:
  Installed: 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4
  Candidate: 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4
  Version table:
 *** 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4 500
        500 http://ppa.launchpad.net/kubuntu-ppa/backports-landing/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     5.5.1+dfsg-16ubuntu7.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     5.5.1+dfsg-16ubuntu7 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

williepabon@WP-Macmini:~$ sudo dpkg --audit
[sudo] password for williepabon:
williepabon@WP-Macmini:~$

Hope this info will help to diagnose the problem. Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

What is the output of:

grep mscore /etc/apt/sources.list.d/*

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The problem seems to be that you are using the kubuntu-ppa/backports-landing PPA.
The version of libqtcore5a from that PPA provides qtbase-abi-5-6-1 instead of qtbase-abi-5-5-1

Proposals for solution of the problem (not sure about feasibility and consequences):

Install the standard Ubuntu version of libqtcore5a (providing qtbase-abi-5-5-1)
or
try installing the version of musecore from the standard Ubuntu repository for yakkety (depending on qtbase-abi-5-6-1)

Revision history for this message
William Pabon (williepabon) said :
#6

andrew:
Here is the output you requested:

williepabon@WP-Macmini:~$ grep mscore /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/mscore-ubuntu-ubuntu-mscore-stable-xenial.list:deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial main
/etc/apt/sources.list.d/mscore-ubuntu-ubuntu-mscore-stable-xenial.list:# deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial main
/etc/apt/sources.list.d/mscore-ubuntu-ubuntu-mscore-stable-xenial.list.save:deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial main
/etc/apt/sources.list.d/mscore-ubuntu-ubuntu-mscore-stable-xenial.list.save:# deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu xenial main

Thanks

Revision history for this message
William Pabon (williepabon) said :
#7

Manfred:

I don't have any idea about the kubuntu ppa and how it got there. Is this the right one, or it should be changed?. What I kind of remember is that a few days ago there came a big software update ( about 300 Meg) and after that the musescore app vanished and while reinstalling it, I got the message that I reported.

wp

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#8

If you cannot tell why that kubuntu ppa is used, who else can?

Downgrading packages is not always working well, this is why I recommend trying the second option first:

Download the files
https://launchpad.net/ubuntu/+archive/primary/+files/musescore-common_2.0.3+dfsg1-2build1~1_all.deb
https://launchpad.net/ubuntu/+archive/primary/+files/musescore_2.0.3+dfsg1-2build1~1_amd64.deb
to your Downloads folder and issue the command

sudo dpkg --install Downloads/musescore*.deb

what are the results?

Revision history for this message
William Pabon (williepabon) said :
#9

Manfred:

I ran the two files above and Musescore installed correctly and is working ok now. Thanks. One last question, should I uncheck the kubuntu ppa from the Software Sources, since I can't remember why I added it? Thanks again.

Revision history for this message
William Pabon (williepabon) said :
#10

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

I am not able to predict whether you will get less problems with or without that PPA.
As long as everything else is working well, I am inclined to recommend leaving it as it is.