Ubuntu 上的 SceneBuilder for JavaFX 安装问题

问题描述 投票:0回答:1

我无法在 Ubuntu 上安装 SceneBuilder for JavaFX 的 .deb 包。

环境______________________________________

Ubuntu: Ubuntu 24.04.1 LTS; 
Java:
    java version "23.0.1" 2024-10-15
    Java(TM) SE Runtime Environment (build 23.0.1+11-39)
    Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)
JavaFX: 23.0.1
SceneBuilder: 23.0.1

当我运行以下命令时出现错误

sudo dpkg -i SceneBuilder-23.0.1.deb

错误______________________________

Selecting previously unselected package scenebuilder.
(Reading database ... 225792 files and directories currently installed.)
Preparing to unpack SceneBuilder-23.0.1.deb ...
Unpacking scenebuilder (23.0.1) ...
dpkg: dependency problems prevent configuration of scenebuilder:
 scenebuilder depends on libffi7; however:
  Package libffi7 is not installed.
 scenebuilder depends on libgdk-pixbuf2.0-0; however:
  Package libgdk-pixbuf2.0-0 is not installed.
 scenebuilder depends on libpcre3; however:
  Package libpcre3 is not installed.

dpkg: error processing package scenebuilder (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 scenebuilder

在互联网上搜索后,我运行了以下命令来卸载该软件包。

sudo apt-get install -f

输出_______________________________________

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  scenebuilder
0 upgraded, 0 newly installed, 1 to remove and 23 not upgraded.
1 not fully installed or removed.
After this operation, 194 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 225980 files and directories currently installed.)
Removing scenebuilder (23.0.1) ...

我接下来运行了这个命令

sudo apt-get purge

输出________________________________

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

然后是命令

sudo apt-get clean(此命令没有输出并返回提示)

sudo apt-get 检查

输出________________________________

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

然后是命令

sudo dpkg --configure -a(此命令没有输出并返回提示符)

我尝试再次安装,结果相同。

我做错了什么?

java ubuntu scenebuilder
1个回答
0
投票

存在与 scenebuilder 版本 > 23.0 的安装依赖项相关的未解决错误。看 https://github.com/gluonhq/scenebuilder/issues/796

© www.soinside.com 2019 - 2024. All rights reserved.