Estou procurando uma maneira de executar aplicativos de 64 bits no sistema operacional Raspian de 32 bits.
Atualizei o kernel para o kernel mais recente de 64 bits usando:
sudo rpi-atualização
Em seguida, adicionei o sinalizador de 64 bits ao config.txt:
braço_64bit=1
O kernel foi atualizado corretamente:
pi@raspberrypi:~/Downloads/ZendStudio $ uname -a Linux raspberrypi 4.19.114-v8+ #1303 SMP PREEMPT Terça, 7 de abril 15:55:30 BST 2020 aarch64 GNU/Linux
No entanto, ainda não consigo instalar aplicativos de 64 bits.
Tentei instalar alguns aplicativos diferentes e todos apresentaram o mesmo erro de dependência quando o pacote tentou a instalação.
Selecting previously unselected package mysql-workbench-community:amd64.
(Reading database ... 166988 files and directories currently installed.)
Preparing to unpack .../mysql-workbench-community_8.0.19-1ubuntu18.04_amd64.deb ...
Unpacking mysql-workbench-community:amd64 (8.0.19-1ubuntu18.04) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:amd64:
mysql-workbench-community:amd64 depends on libatk1.0-0 (>= 1.12.4).
mysql-workbench-community:amd64 depends on libatkmm-1.6-1v5 (>= 2.24.0).
mysql-workbench-community:amd64 depends on libc6 (>= 2.27).
mysql-workbench-community:amd64 depends on libcairo2 (>= 1.15.8).
mysql-workbench-community:amd64 depends on libgcc1 (>= 1:3.4).
mysql-workbench-community:amd64 depends on libgdk-pixbuf2.0-0 (>= 2.22.0).
mysql-workbench-community:amd64 depends on libgl1.
mysql-workbench-community:amd64 depends on libglib2.0-0 (>= 2.45.4).
mysql-workbench-community:amd64 depends on libglibmm-2.4-1v5 (>= 2.54.0).
mysql-workbench-community:amd64 depends on libgtk-3-0 (>= 3.21.5).
mysql-workbench-community:amd64 depends on libgtk2.0-0 (>= 2.8.0).
mysql-workbench-community:amd64 depends on libgtkmm-3.0-1v5 (>= 3.22.0).
mysql-workbench-community:amd64 depends on libpango-1.0-0 (>= 1.18.0).
mysql-workbench-community:amd64 depends on libpangocairo-1.0-0 (>= 1.14.0).
mysql-workbench-community:amd64 depends on libpcre3.
mysql-workbench-community:amd64 depends on libpcrecpp0v5 (>= 7.7).
mysql-workbench-community:amd64 depends on libpng16-16 (>= 1.6.2-1).
mysql-workbench-community:amd64 depends on libpython2.7 (>= 2.7).
mysql-workbench-community:amd64 depends on libsecret-1-0 (>= 0.7).
mysql-workbench-community:amd64 depends on libsigc++-2.0-0v5 (>= 2.8.0).
mysql-workbench-community:amd64 depends on libsqlite3-0 (>= 3.5.9).
mysql-workbench-community:amd64 depends on libssl1.1 (>= 1.1.1).
mysql-workbench-community:amd64 depends on libstdc++6 (>= 7).
mysql-workbench-community:amd64 depends on libtinfo5 (>= 6).
mysql-workbench-community:amd64 depends on libuuid1 (>= 2.16).
mysql-workbench-community:amd64 depends on libx11-6.
mysql-workbench-community:amd64 depends on libxml2 (>= 2.7.4).
mysql-workbench-community:amd64 depends on libzip4 (>= 0.10).
mysql-workbench-community:amd64 depends on zlib1g (>= 1:1.2.0).
dpkg: error processing package mysql-workbench-community:amd64 (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.10-1) ...
Errors were encountered while processing:
mysql-workbench-community:amd64
Então tentei corrigir o problema de dependência depois que eles foram marcados, usando:
sudo apt -f instalar
No entanto, isso não corrige os problemas de dependência conforme esperado. Basta remover totalmente o aplicativo que instalei anteriormente para corrigir o conflito de dependência:
pi@raspberrypi:/etc $ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libdrm-etnaviv1 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libllvm6.0 libva-wayland2 libxfce4util-bin libxfce4util-common libxfce4util7
libxfconf-0-2 pimixer point-rpi rpi.gpio-common xfconf
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mysql-workbench-community:amd64
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 122 MB disk space will be freed.
Todos os aplicativos de 64 bits que tentei instalar me levaram por esse mesmo ciclo perpétuo.
Também tentei configurar o pacote após a instalação, mas ocorreu os mesmos erros de dependência.
Também verifiquei se os pacotes de dependência foram realmente instalados com uma versão adequada para o aplicativo que estava tentando instalar... O que estou perdendo?