Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install openshot-qt on Ubuntu 23.10 from PPA #5360

Open
JamesRichards22 opened this issue Nov 22, 2023 · 7 comments
Open

Can't install openshot-qt on Ubuntu 23.10 from PPA #5360

JamesRichards22 opened this issue Nov 22, 2023 · 7 comments
Assignees
Labels
🐞 bug A bug, error, or breakage of any kind

Comments

@JamesRichards22
Copy link

JamesRichards22 commented Nov 22, 2023

Describe the bug:
Installing openshot-qt from the PPA does not have Ubuntu 23.10 mantic support with versions of dependent libraries. Openshot from the Ubuntu 23.04 lunar PPA requires libavcodec59 however in Ubuntu 23.10 this has been updated to libavcodec60 and related packages.

Downgrading libavcodec60 to 59 isn't an option, as there is quite a lot using it.

The AppImage also has issues, see #5182.

Steps to reproduce the behavior:

  1. Follow the steps in https://www.openshot.org/ppa/ to install the PPA for Openshot. It default to the current release.
  2. Run sudo apt update
  3. Run sudo apt install openshot-qt
$ sudo apt install openshot-qt
Reading package lists... Done
Building dependency tree... Done
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:
 libopenshot25 : Depends: libavcodec59 (>= 7:5.0) but it is not installable
                 Depends: libavformat59 (>= 7:5.0) but it is not installable
                 Depends: libavutil57 (>= 7:5.0) but it is not installable
                 Depends: libswscale6 (>= 7:5.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Expected behavior:
Openshot installs without issue.

System Details:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.10
Release:	23.10
Codename:	mantic
@Colorjet3
Copy link
Collaborator

Hello @JamesRichards22. The PPA installation is broken and the lead developer has been informed of this. If you try executing the PPA command (stable or daily) you are going to get v2.6.1.

Instead, download the AppImage and run it. A workaround has been posted in the link you pointed to: #5182.

Here is how I did it (not a Linux expert):

  1. Download and extract the image.
  2. Make it Executable.
  3. Now extract the AppImage file: "./OpenShot-v3.1.1-daily-11556-95eccafc-08c2cdd1-x86_64.AppImage --appimage-extract"

This will extract the files to the "$YOUR-PATH/squashfs-root" directory. "libm.so.6" is in squashfs-root/usr/bin/.

  1. Now navigate to "$YOUR-PATH/squashfs-root".
  2. Override the libm.so.6 file in OpenShot with the one from your system (Ubuntu).
  3. Find the "AppRun", right click it and select "Run".

Hint: I found libm.so.6 in /usr/lib/x86_64-linux-gnu. This is what I used to override what comes in the OpenShot AppImage.

Here is what user https://github.com/Fabioamd87 suggested:

$ wget https://github.com/OpenShot/openshot-qt/releases/download/v3.1.1/OpenShot-v3.1.1-x86_64.AppImage
$ chmod +x OpenShot-v3.1.1-x86_64.AppImage
$ ./OpenShot-v3.1.1-x86_64.AppImage --appimage-extract
$ sudo cp /usr/lib/x86_64-linux-gnu/libm.so.6 squashfs-root/usr/bin/

Let us know if you were able to get the AppImage running.

@diazdaiz
Copy link

Hi @Colorjet3 , i want to add step that you given here

Hello @JamesRichards22. The PPA installation is broken and the lead developer has been informed of this. If you try executing the PPA command (stable or daily) you are going to get v2.6.1.

Instead, download the AppImage and run it. A workaround has been posted in the link you pointed to: #5182.

Here is how I did it (not a Linux expert):

  1. Download and extract the image.
  2. Make it Executable.
  3. Now extract the AppImage file: "./OpenShot-v3.1.1-daily-11556-95eccafc-08c2cdd1-x86_64.AppImage --appimage-extract"

This will extract the files to the "$YOUR-PATH/squashfs-root" directory. "libm.so.6" is in squashfs-root/usr/bin/.

  1. Now navigate to "$YOUR-PATH/squashfs-root".
  2. Override the libm.so.6 file in OpenShot with the one from your system (Ubuntu).
  3. Find the "AppRun", right click it and select "Run".

Hint: I found libm.so.6 in /usr/lib/x86_64-linux-gnu. This is what I used to override what comes in the OpenShot AppImage.

Here is what user https://github.com/Fabioamd87 suggested:

$ wget https://github.com/OpenShot/openshot-qt/releases/download/v3.1.1/OpenShot-v3.1.1-x86_64.AppImage $ chmod +x OpenShot-v3.1.1-x86_64.AppImage $ ./OpenShot-v3.1.1-x86_64.AppImage --appimage-extract $ sudo cp /usr/lib/x86_64-linux-gnu/libm.so.6 squashfs-root/usr/bin/

Let us know if you were able to get the AppImage running.

i follow some additional step from this comment Step

which to download appimagetool-x86_64.AppImage from here AppImageTool

make the AppImageTool executeable as program

and for easier step, i just move that AppImageTool into the squashfs-root location, and run this command on terminal
$ ./appimagetool-x86_64.AppImage -v squashfs-root

this work for me, I hope it's working for others as well!

@Colorjet3
Copy link
Collaborator

Thank you @diazdaiz. I'll give it a try in the next few days and report back if it worked for me. Hopefully a few others provide feedback as well.

@JamesRichards22
Copy link
Author

JamesRichards22 commented Nov 24, 2023

The last step that worked is to run ./squashfs-root/AppRun

It runs, so it's an okay workaround. As it's not using local libraries for VA-API for hardware acceleration and doesn't use the native OS icons and file manager.

@Colorjet3
Copy link
Collaborator

This worked for me as well. Sorry for the late response.

@JamesRichards22
Copy link
Author

Ubuntu 24.04 has Openshot 3.1.1 in the default repo and it runs fine.

@Colorjet3
Copy link
Collaborator

Thank you @JamesRichards22 for the FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug A bug, error, or breakage of any kind
Projects
None yet
Development

No branches or pull requests

4 participants