Problema semelhante ao aqui, mas não exatamente o mesmo e também não no Ubuntu 23.04, mas no 24.04 LTS.
Quando tento executá wine
-lo resulta nesta mensagem:
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
Ao tentar executá sudo apt-get install wine32:i386
-lo resulta em:
sudo apt-get install wine32:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
libgd3:i386 : Depends: libheif1:i386 (>= 1.17.6-1ubuntu4~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Ao tentar instalar libheif1:i386
resulta em:
sudo apt-get install libheif1:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
libheif1:i386 : Depends: libdav1d5:i386 (>= 0.1.0) but it is not installable
Depends: libde265-0:i386 (>= 1.0.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt update
fornece esta saída:
OK:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease
OK:2 https://ubuntu.mirror.wearetriple.com/archive noble InRelease
OK:3 http://packages.easyroam.de/repos/easyroam-desktop stable InRelease
OK:4 http://ftp.klid.dk/ftp/ubuntu noble InRelease
OK:5 http://ubuntu.mirror.tudos.de/ubuntu noble InRelease
OK:6 https://mirror.united-gameserver.de/ubuntu noble InRelease
OK:7 http://security.ubuntu.com/ubuntu noble-security InRelease
Holen:8 https://typora.io/linux ./ InRelease [793 B]
OK:10 http://de.archive.ubuntu.com/ubuntu noble InRelease
Holen:11 http://de.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
OK:12 http://ftp.tudelft.nl/archive.ubuntu.com noble InRelease
OK:13 http://repository.spotify.com stable InRelease
OK:14 https://brave-browser-apt-release.s3.brave.com stable InRelease
OK:16 http://nl3.archive.ubuntu.com/ubuntu noble InRelease
OK:17 https://nl.mirrors.clouvider.net/ubuntu noble InRelease
OK:18 https://mirror.nl.mirhosting.net/ubuntu noble InRelease
Holen:19 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7.553 B]
Holen:20 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7.456 B]
Holen:15 http://mirrors.edge.kernel.org/ubuntu noble InRelease [256 kB]
OK:21 https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu jammy InRelease
OK:22 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu noble InRelease
Holen:23 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7.450 B]
OK:9 https://mirrors.edge.kernel.org/ubuntu noble InRelease
OK:24 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease
Holen:25 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7.449 B]
OK:26 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu mantic InRelease
Es wurden 413 kB in 3 s geholt (136 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
E o conteúdo de /etc/apt/sources.list.d/winehq-noble.sources
é:
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: noble
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
A questão agora seria: preciso mesmo deste wine32:i386
pacote ou posso ignorá-lo? E se eu precisar, como posso conseguir?
Ok, então com a ajuda do comentário de @Organic Marble consegui fazer funcionar!
Fiz
sudo ppa-purge -s dl.winehq.org -o wine-builds -p ubuntu
para limpar o PPA e removi os arquivos criados manualmente emBem como o
~/.wine
diretório.Mas essa não foi toda a solução para o problema!
Como afirmado aqui :
Eu ainda estava com minha configuração
/etc/apt/sources.list
desde que atualizei de 22.04. Então removi o referido arquivo e criei um novo arquivo/etc/apt/sources.list.d/ubuntu.sources
com este conteúdo:Depois disso, simplesmente executei
sudo apt install --install-recommends wine
e verifiquei se o pacote problemáticowine32:i386
estava incluído nos candidatos à instalação!Agora tudo funciona bem :)