我刚刚通过终端安装了 openshot 视频编辑器:本教程https://www.ubuntupit.com/install-openshot-video-editor-ubuntu-linux-mint/ on ubuntu 21.04 on a raspberry pi 4b。我试图启动它,但它显示了这个故障警告并且 openshot 没有启动。
这是 N0rbert 想让我在终端做的事情(我一开始没有得到),但就是这样。在此底部,有一个额外的终端条目 NObert 希望我添加,所以我也这样做了。
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:~$
我在一个终端会话中一个接一个地完成了这些条目,再加上几个。这些是诺伯特在对这个问题的评论中提出的,所以我在这里做了。我尝试在终端中运行apt-update
,full-upgrade
但没有升级。我将如何安装最新的安装程序?我怎样才能解决这个问题?
“ OpenShot: Stable PPA - Official Releases” PPA不包含armhf和/或arm64
libopenshot
的库。它们仅支持amd64(适用于 Intel/AMD 计算机,不支持 Raspberry Pi)。 我写了一个关于为 Raspberry Pi 构建软件包的请求。目前,您必须使用以下命令删除 OpenShot PPA:
然后您将拥有来自官方存储库的较旧但功能齐全的 OpenShot。
您可以从此处的 openshot 网站下载 appimage:https ://www.openshot.org/en/download/
因为它是一个appimage,所以不需要安装。在撰写本文时,提供的版本是 2.6.1
从这个页面,您可以下载单个文件
OpenShot-v2.6.1-x86_64.Appimage
。下载后,需要通过在您选择的文件管理器中设置属性或chmod +x OpenShot-v2.6.1-x86_64.Appimage
在终端中将其标记为可执行文件。然后通过在文件管理器中双击它或
./OpenShot-v2.6.1-x86_64.Appimage
在终端中键入来运行它。最终编辑:根据 OP,appimage 无法在他的计算机上运行,尽管它在我的计算机上运行。