Eu estava tentando criar um USB inicializável com BalenaEtcher, mas encontrei um erro ao instalar o programa.
Baixei o .deb
arquivo principal da página de lançamento do github , mas quando executo 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.
Eu acho que isso pode estar relacionado comigo usando 23.10
. Alguém sabe como consertar isso?
EDITAR (conforme proposto pelo comentário )
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:
O Gnome se mudou há
gconf
muitodconf
tempo. Os últimos lançamentos que empacotaramgconf
foram Ubuntu Lunar 23.04 e Debian Bookworm 12. Em seguida, ele foi eliminado de versões posteriores.Estes bons sites para verificar o status de qualquer pacote:
Descobri que já foi relatado pelo autor: O Debian Testing removeu os pacotes gconf2. #4096
A melhor opção é usar o pacote appimage ou ferramenta alternativa, até que o upstream seja corrigido.
Outra opção é forçar a instalação
gconf
do repositório de versões antigas. Mas esse método é sujo e o resultado não é previsível, pode até quebrar o Gnome.Se este for um caso especial em que esta ferramenta é a única solução, você pode configurar o Ubuntu mais antigo no VirtualBox e instalar o Balena Etcher nele. (Isso provavelmente não funcionará em PCs muito fracos, como notebooks Chrome)