I just installed openshot video editor via terminal: this tutorial https://www.ubuntupit.com/install-openshot-video-editor-ubuntu-linux-mint/ on ubuntu 21.04 on a raspberry pi 4b. I tried to start it, but it showed this glitch warning and openshot did not start.

enter image description here

Here's something that N0rbert wanted me to do in terminal (I didn't get that at first) but here it is. At the bottom of this, there is an additional terminal entry NOrbert wanted me to add so I did it too.

pi@pi-raspberrypi:~$ sudo su
[sudo] password for pi: 
root@pi-raspberrypi:/home/pi# apt-cache policy openshot
openshot:
  Installed: (none)
  Candidate: 2.5.1+dfsg1-1
  Version table:
     2.5.1+dfsg1-1 500
        500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 Packages
root@pi-raspberrypi:/home/pi# snap list | grep -i openshot
root@pi-raspberrypi:/home/pi#  flatpak list | grep -i openshot
Command 'flatpak' not found, but can be installed with:
apt install flatpak
root@pi-raspberrypi:/home/pi# apt install flatpak
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libappstream-glib8 libmalcontent-0-0 libostree-1-1
Suggested packages:
  malcontent-gui
The following NEW packages will be installed:
  flatpak libappstream-glib8 libmalcontent-0-0 libostree-1-1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,460 kB of archives.
After this operation, 5,902 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libappstream-glib8 arm64 0.7.18-1 [129 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libmalcontent-0-0 arm64 0.10.0-2 [19.8 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libostree-1-1 arm64 2020.8-2 [266 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 flatpak arm64 1.10.2-1ubuntu1 [1,045 kB]
Fetched 1,460 kB in 1s (1,516 kB/s)
Selecting previously unselected package libappstream-glib8:arm64.
(Reading database ... 276399 files and directories currently installed.)
Preparing to unpack .../libappstream-glib8_0.7.18-1_arm64.deb ...
Unpacking libappstream-glib8:arm64 (0.7.18-1) ...
Selecting previously unselected package libmalcontent-0-0:arm64.
Preparing to unpack .../libmalcontent-0-0_0.10.0-2_arm64.deb ...
Unpacking libmalcontent-0-0:arm64 (0.10.0-2) ...
Selecting previously unselected package libostree-1-1:arm64.
Preparing to unpack .../libostree-1-1_2020.8-2_arm64.deb ...
Unpacking libostree-1-1:arm64 (2020.8-2) ...
Selecting previously unselected package flatpak.
Preparing to unpack .../flatpak_1.10.2-1ubuntu1_arm64.deb ...
Unpacking flatpak (1.10.2-1ubuntu1) ...
Setting up libappstream-glib8:arm64 (0.7.18-1) ...
Setting up libostree-1-1:arm64 (2020.8-2) ...
Setting up libmalcontent-0-0:arm64 (0.10.0-2) ...
Setting up flatpak (1.10.2-1ubuntu1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.20-1ubuntu3) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...
root@pi-raspberrypi:/home/pi# snap list | grep -i openshot
root@pi-raspberrypi:/home/pi# which openshot
root@pi-raspberrypi:/home/pi# 

pi@pi-raspberrypi:~$ apt-cache  policy openshot-qt libopenshot
openshot-qt:
  Installed: 2.6.0+dfsg2+1454+202108251849~ubuntu21.04.1
  Candidate: 2.6.0+dfsg2+1454+202108251849~ubuntu21.04.1
  Version table:
 *** 2.6.0+dfsg2+1454+202108251849~ubuntu21.04.1 500
        500 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu hirsute/main arm64 Packages
        100 /var/lib/dpkg/status
     2.5.1+dfsg1-1 500
        500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 Packages
libopenshot:
  Installed: (none)
  Candidate: (none)
  Version table:
pi@pi-raspberrypi:~$

I did these entries one after another plus a couple more in one terminal session. THese were suggested in a comment to this question by NOrbert so I did them here. I tried running apt-update and full-upgrade in terminal but it did not upgrade. How would I install the latest installer? How can I fix this?


Solution 1:

The "OpenShot: Stable PPA - Official Releases" PPA does not contain libopenshot libraries for armhf and/or arm64. They support only amd64 (for Intel/AMD computers, not Raspberry Pi).
I have wrote a request about building packages for Raspberry Pi.

Currently you have to remove OpenShot PPA with commands below:

sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge ppa:openshot.developers/ppa

and then you will have older but fully-functional OpenShot from official repository.

Solution 2:

You can download an appimage from the openshot website here: https://www.openshot.org/en/download/

Since it's an appimage, no installation is required. As of this writing, the version offered is 2.6.1

From this page, you can download the single file OpenShot-v2.6.1-x86_64.Appimage. Once downloaded, it needs to be marked as executable, either by setting the properties in your file manager of choice, or by chmod +x OpenShot-v2.6.1-x86_64.Appimage in a terminal.

Then you run it by double-clicking it in the file manager, or typing ./OpenShot-v2.6.1-x86_64.Appimage in the terminal.

Final edit: according to the OP, the appimage did not work on his computer, although it did work on mine.