v2.3.4 installation problems (python3-pyqt5 but it is not going to be installed, etc.)

Asked by Michael

I receive the following messages when trying to install OpenShot Video Editor v2.3.4 using the following commands:
sudo add-apt-repository ppa:openshot.developers/ppa
sudo apt-get update
sudo apt-get install openshot-qt

"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:
 openshot-qt : Depends: python3-pyqt5 but it is not going to be installed
               Depends: python3-pyqt5.qtmultimedia but it is not going to be installed
               Depends: python3-pyqt5.qtopengl but it is not going to be installed
               Depends: python3-pyqt5.qtsvg but it is not going to be installed
               Depends: python3-pyqt5.qtwebkit but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

This problem first surfaced after I had installed MuseScore 2.0.3 (http://www.musescore.org/)

The earlier version available through Software manager (OpenShot 1.4.3) installs successfully but I am unable to open .osp project files created in OpenShot v2.3

Any assistance to find the root cause is much appreciated.
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output of the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo apt-get update
apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit

Revision history for this message
Michael (mtarendse) said :
#2

Thanks for the response.
I am unable to perform this procedure today. Monday offers the first available opportunity I have.
Will revert next week.

Enjoy the weekend!
Michael

---- Manfred Hampl wrote ----

>Your question #646468 on OpenShot Video Editor changed:
>https://answers.launchpad.net/openshot/+question/646468
>
> Status: Open => Needs information
>
>Manfred Hampl requested more information:
>For diagnostic purposes please provide the output of the following
>commands (to be executed in a terminal window):
>
>uname -a
>lsb_release -crid
>sudo apt-get update
>apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
>
>--
>To answer this request for more information, you can either reply to
>this email or enter your reply at the following page:
>https://answers.launchpad.net/openshot/+question/646468
>
>You received this question notification because you asked the question.

Revision history for this message
Michael (mtarendse) said :
#3

Hi,

The output requested is as follows:

_uname -a_
Linux mtarendse-desktop 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May
8 09:44:48 UTC 2015 i686 i686 i686 GNU/Linux

_lsb_release -crid_
Distributor ID: LinuxMint
Description: Linux Mint 17.2 Rafaela
Release: 17.2
Codename: rafaela

_sudo apt-get update_
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://mirror.is.co.za rafaela InRelease
Hit http://mirror.is.co.za rafaela Release.gpg
Hit http://mirror.is.co.za rafaela Release
Hit http://mirror.is.co.za rafaela/main i386 Packages
Hit http://mirror.is.co.za rafaela/upstream i386 Packages
Hit http://mirror.is.co.za rafaela/import i386 Packages
Ign http://ftp.sun.ac.za trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://archive.canonical.com trusty Release
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://archive.canonical.com trusty/partner Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ftp.sun.ac.za trusty-updates InRelease
Ign http://mirror.is.co.za rafaela/import Translation-en_ZA
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://mirror.is.co.za rafaela/import Translation-en
Hit http://ftp.sun.ac.za trusty Release.gpg
Ign http://mirror.is.co.za rafaela/main Translation-en_ZA
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ftp.sun.ac.za trusty-updates/main i386 Packages
Ign http://mirror.is.co.za rafaela/main Translation-en
Ign http://mirror.is.co.za rafaela/upstream Translation-en_ZA
Ign http://mirror.is.co.za rafaela/upstream Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ftp.sun.ac.za trusty-updates/restricted i386 Packages
Hit http://ftp.sun.ac.za trusty-updates/universe i386 Packages
Hit http://ftp.sun.ac.za trusty-updates/multiverse i386 Packages
Hit http://ftp.sun.ac.za trusty-updates/main Translation-en
Hit http://ftp.sun.ac.za trusty-updates/multiverse Translation-en
Ign http://extra.linuxmint.com rafaela InRelease
Hit http://ftp.sun.ac.za trusty-updates/restricted Translation-en
Hit http://extra.linuxmint.com rafaela Release.gpg
Ign http://ppa.launchpad.net trusty/main Translation-en_ZA
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://ftp.sun.ac.za trusty-updates/universe Translation-en
Hit http://extra.linuxmint.com rafaela Release
Hit http://ftp.sun.ac.za trusty Release
Hit http://extra.linuxmint.com rafaela/main i386 Packages
Hit http://ftp.sun.ac.za trusty/main i386 Packages
Hit http://ftp.sun.ac.za trusty/restricted i386 Packages
Hit http://ftp.sun.ac.za trusty/universe i386 Packages
Hit http://ftp.sun.ac.za trusty/multiverse i386 Packages
Ign http://extra.linuxmint.com rafaela/main Translation-en_ZA
Ign http://extra.linuxmint.com rafaela/main Translation-en
Hit http://ftp.sun.ac.za trusty/main Translation-en
Hit http://ftp.sun.ac.za trusty/multiverse Translation-en
Hit http://ftp.sun.ac.za trusty/restricted Translation-en
Hit http://ftp.sun.ac.za trusty/universe Translation-en
Ign http://ftp.sun.ac.za trusty/main Translation-en_ZA
Ign http://ftp.sun.ac.za trusty/multiverse Translation-en_ZA
Ign http://ftp.sun.ac.za trusty/restricted Translation-en_ZA
Ign http://ftp.sun.ac.za trusty/universe Translation-en_ZA
Reading package lists... Done

_apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia
python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit_
NOTE: This is only a simulation!
       apt-get needs root privileges for real execution.
       Keep also in mind that locking is deactivated,
       so don't depend on the relevance to the real current situation!
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:
  python3-pyqt5 : Depends: qtbase-abi-5-2-1
  python3-pyqt5.qtmultimedia : Depends: libqt5multimedia5 (>= 5.2.0) but
it is not going to be installed
                               Depends: libqt5multimediawidgets5 (>=
5.0.2) but it is not going to be installed or
libqt5multimediawidgets5-gles (>= 5.0.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

Regards

Michael

On 07/07/2017 10:25, Manfred Hampl wrote:
> Your question #646468 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/646468
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output of the following
> commands (to be executed in a terminal window):
>
> uname -a
> lsb_release -crid
> sudo apt-get update
> apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
>

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

Now check the next level of packages for dependency problems.
What is the output of the commands

apt-cache policy python3-pyqt5 libqt5core5a
apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia libqt5multimedia5 libqt5multimediawidgets5

(Remark: qtbase-abi-5-2-1 is a virtual package, provided by libqt5core5a 5.2.1-*)

Revision history for this message
Michael (mtarendse) said :
#5

Hi,

The output requested is as follows:

_apt-cache policy python3-pyqt5 libqt5core5a_
python3-pyqt5:
   Installed: (none)
   Candidate: 5.2.1+dfsg-1ubuntu2
   Version table:
      5.2.1+dfsg-1ubuntu2 0
         500 http://ftp.sun.ac.za/ftp/ubuntu/ trusty-updates/main i386
Packages
      5.2.1+dfsg-1ubuntu1 0
         500 http://ftp.sun.ac.za/ftp/ubuntu/ trusty/main i386 Packages
libqt5core5a:
   Installed: 5.3.0+dfsg-2ubuntu9~trusty1
   Candidate: 5.3.0+dfsg-2ubuntu9~trusty1
   Version table:
  *** 5.3.0+dfsg-2ubuntu9~trusty1 0
         500
http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu/ trusty/main
i386 Packages
         100 /var/lib/dpkg/status
      5.2.1+dfsg-1ubuntu14.3 0
         500 http://ftp.sun.ac.za/ftp/ubuntu/ trusty-updates/main i386
Packages
         500 http://security.ubuntu.com/ubuntu/ trusty-security/main
i386 Packages
      5.2.1+dfsg-1ubuntu14 0
         500 http://ftp.sun.ac.za/ftp/ubuntu/ trusty/main i386 Packages

_apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia
libqt5multimedia5 libqt5multimediawidgets5_
NOTE: This is only a simulation!
       apt-get needs root privileges for real execution.
       Keep also in mind that locking is deactivated,
       so don't depend on the relevance to the real current situation!
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:
  libqt5multimedia5 : Depends: qtbase-abi-5-2-1
  python3-pyqt5 : Depends: qtbase-abi-5-2-1
E: Unable to correct problems, you have held broken packages.

Regards

Michael

On 10/07/2017 09:58, Manfred Hampl wrote:
> Your question #646468 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/646468
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Now check the next level of packages for dependency problems.
> What is the output of the commands
>
> apt-cache policy python3-pyqt5 libqt5core5a
> apt-get --simulate install python3-pyqt5 python3-pyqt5.qtmultimedia libqt5multimedia5 libqt5multimediawidgets5
>
> (Remark: qtbase-abi-5-2-1 is a virtual package, provided by libqt5core5a
> 5.2.1-*)
>

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

The dependency problem is the following:

Openshot depends on python3-pyqt5 which in turn depends on qtbase-abi-5-2-1 provided by libqt5core5a 5.2.1-*

The PPA for musescore that you have enabled, however, contains libqt5core5a 5.3.0-* which provides qtbase-abi-5-3-0

I do not see a solution for your problem except:
1. remove everything related to the musescore PPA and revert to the standard versions of the packages
or
2. try finding a version of python3-pyqt5 that works with qtbase-abi-5-3-0 (I do not know whether such version exists at all)
or maybe
3. try finding a version of openshot v2.3.* that does not depend on python3-pyqt5 (I do not know whether such version exists at all)
or maybe
4. upgrade to the next release of Mint (18.* Sarah/Serena/Sonya)

What you see is one of the potential problems that you can get when using PPAs.

Revision history for this message
Michael (mtarendse) said :
#7

Thanks.

I need to be able to use both applications - MuseScore, and OpenShot v2.3.4 - but not daily, not simultaneously.
If I created a new user (say, "mtarendseOS")and installed OpenShot v.2.3.4 under this new user (and not MuseScore), would the dependency still exist across the two users?

Regards
Michael

---- Manfred Hampl wrote ----

>Your question #646468 on OpenShot Video Editor changed:
>https://answers.launchpad.net/openshot/+question/646468
>
> Status: Open => Answered
>
>Manfred Hampl proposed the following answer:
>The dependency problem is the following:
>
>Openshot depends on python3-pyqt5 which in turn depends on qtbase-
>abi-5-2-1 provided by libqt5core5a 5.2.1-*
>
>The PPA for musescore that you have enabled, however, contains
>libqt5core5a 5.3.0-* which provides qtbase-abi-5-3-0
>
>I do not see a solution for your problem except:
>1. remove everything related to the musescore PPA and revert to the standard versions of the packages
>or
>2. try finding a version of python3-pyqt5 that works with qtbase-abi-5-3-0 (I do not know whether such version exists at all)
>or maybe
>3. try finding a version of openshot v2.3.* that does not depend on python3-pyqt5 (I do not know whether such version exists at all)
>or maybe
>4. upgrade to the next release of Mint (18.* Sarah/Serena/Sonya)
>
>What you see is one of the potential problems that you can get when
>using PPAs.
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/openshot/+question/646468/+confirm?answer_id=5
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/openshot/+question/646468
>
>You received this question notification because you asked the question.

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

The dependency problems are system-wide. A second user will not help.

Ubuntu currently is developing a different packaging method to avoid such problems ("snap packages"). This could be another option for a workaround. I see some discussions about musescore in a snap package, e.g. https://github.com/pachulo/musescore-snap/blob/master/snap/snapcraft.yaml but I do not know whether this can work on your Linux Mint system.

Revision history for this message
Michael (mtarendse) said :
#9

Thank you for the clarification.

Regards
Michael

On 10 Jul 2017 15:44, "Manfred Hampl" <email address hidden>
wrote:

> Your question #646468 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/646468
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The dependency problems are system-wide. A second user will not help.
>
> Ubuntu currently is developing a different packaging method to avoid
> such problems ("snap packages"). This could be another option for a
> workaround. I see some discussions about musescore in a snap package,
> e.g. https://github.com/pachulo/musescore-
> snap/blob/master/snap/snapcraft.yaml but I do not know whether this can
> work on your Linux Mint system.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/openshot/+question/646468/+
> confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/openshot/+question/646468
>
> You received this question notification because you asked the question.
>

Revision history for this message
Michael (mtarendse) said :
#10

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Kuldeep Singh (evagabond) said :
#11

I was facing the same problem because of MuseScore.

I was able to install OpenShot 1.4 using Synaptic Package Manager along with MuseScore but the latest version, which currently is V2.4.1 didn't install at all in spite of trying couple of approaches.

Finally I was able to run the latest version of OpenShot using its AppImage.