安装 Balena Etcher 时出错

安装 Balena Etcher 时出错

我尝试使用 BalenaEtcher 创建可启动 USB,但在安装程序时遇到错误。

.debgithub 发布页面但是当我跑步时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:

答案1

gconfGnome很久以前就不再使用了dconf。最后打包的版本gconf是 Ubuntu Lunar 23.04 和 Debian Bookworm 12。然后它在后来的版本中被删除了。

这些好的网站可以检查任何包裹的状态:

发现已经向上游报告: Debian 测试版已删除 gconf2 包。#4096

  • 最好的选择是使用 appimage 包或替代工具,直到修复上游。

  • 另一个选项是强制gconf从旧版本存储库安装。但这种方法很不安全,结果不可预测,甚至会破坏 Gnome。

  • 如果这是特殊情况,该工具是唯一的解决方案,您可以在 VirtualBox 中设置旧版 Ubuntu,并在其中安装 Balena Etcher。(这在 Chrome 笔记本等性能非常弱的 PC 上可能不起作用)

相关内容