我尝试使用 BalenaEtcher 创建可启动 USB,但在安装程序时遇到错误。
.deb
我从github 发布页面下载了主文件,但是当我运行时sudo apt install ./balena-etcher_1.19.5_amd64.deb
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'balena-etcher' instead of './balena-etcher_1.19.5_amd64.deb'
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:
balena-etcher : Depends: gconf-service but it is not installable
Depends: gconf2 but it is not installable
Depends: libgconf-2-4 but it is not installable
E: Unable to correct problems, you have held broken packages.
我想这可能与我使用23.10
. 有谁知道如何解决这一问题?
编辑(根据评论的建议)
sudo apt install gconf-service
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gconf-service is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gconf-service' has no installation candidate
sudo apt install gconf2
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gconf2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gconf2' has no installation candidate
sudo apt install libgconf-2-4
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libgconf-2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libgconf-2-4' has no installation candidate
sudo apt update
:
Hit:1 http://us.archive.ubuntu.com/ubuntu mantic InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu mantic-backports InRelease
Hit:7 https://hub-dist.unity3d.com/artifactory/hub-debian-prod-local stable InRelease
Hit:8 https://ppa.launchpadcontent.net/mjasnik/ppa/ubuntu mantic InRelease
Hit:9 https://ppa.launchpadcontent.net/mkusb/ppa/ubuntu mantic InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
apt policy gconf-service
:
gconf-service:
Installed: (none)
Candidate: (none)
Version table:
Gnome 已经离开 到
gconf
很久dconf
以前了。最后打包的版本gconf
是 Ubuntu Lunar 23.04 和 Debian Bookworm 12。然后它从后续版本中删除。这些可以检查任何包裹状态的好网站:
发现上游已经报告: Debian测试已经删除了gconf2软件包。第4096章
最好的选择是使用 appimage 包或替代工具,直到修复上游。
另一种选择是强制
gconf
从旧版本存储库安装。但这种方法很脏,而且结果不可预测,甚至会破坏 Gnome。如果这是特殊情况,该工具是唯一的解决方案,您可以在 VirtualBox 中安装较旧的 Ubuntu 并在其中安装 Balena Etcher。(这可能不适用于像 Chrome 笔记本这样非常弱的 PC)