我刚刚通过终端安装了 openshot 视频编辑器:本教程https://www.ubuntupit.com/install-openshot-video-editor-ubuntu-linux-mint/在 Raspberry Pi 4b 上的 ubuntu 21.04 上。我尝试启动它,但它显示了这个故障警告,并且 openshot 没有启动。
这是 N0rbert 想要我在终端中做的事情(我一开始没明白),但这就是它。在它的底部,有一个额外的终端条目,NOrbert 想要我添加,所以我也这样做了。
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:~$
我在一个终端会话中一个接一个地输入了这些条目,还输入了其他几个条目。这些都是 NOrbert 在对这个问题的评论中建议的,所以我在这里做了它们。我尝试在终端中运行,apt-update
但full-upgrade
没有升级。我该如何安装最新的安装程序?我该如何解决这个问题?
答案1
这“OpenShot:稳定 PPA - 官方发布” PPA不包含libopenshot
以下库臂丛和/或arm64. 他们支持仅有的amd64(适用于 Intel/AMD 计算机,不适用于 Raspberry Pi)。
我已写了一份关于为 Raspberry Pi 构建软件包的请求。
目前您必须使用以下命令删除 OpenShot PPA:
sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge ppa:openshot.developers/ppa
然后您将从官方存储库获得较旧但功能齐全的 OpenShot。
答案2
您可以从此处的 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 在他的计算机上无法运行,但在我的计算机上可以运行。