使用 Raspian 在 32 位 Raspberry Pi 上运行 64 位应用程序

使用 Raspian 在 32 位 Raspberry Pi 上运行 64 位应用程序

我正在寻找一种在 32 位 Raspian 操作系统中运行 64 位应用程序的方法。

我使用以下命令将内核更新为最新的 64 位内核:

sudo rpi-更新

然后将 64 位标志添加到 config.txt 中:

手臂_64位=1

内核更新正确:

pi@raspberrypi:~/Downloads/ZendStudio $ uname -a Linux raspberrypi 4.19.114-v8+ #1303 SMP 抢占 4 月 7 日星期二 15:55:30 BST 2020 aarch64 GNU/Linux

但是我仍然无法安装 64 位应用程序。

我尝试安装一些不同的应用程序,当包尝试安装时,所有应用程序都给出相同的依赖项错误。

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

因此,我尝试在标记它们后修复依赖性问题,使用:

须藤 apt -f 安装

然而,这并没有按预期解决依赖性问题。只需删除我之前安装的应用程序即可解决依赖冲突:

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.

我尝试安装的所有 64 位应用程序都会让我经历同样的永恒循环。

我还尝试在安装后配置软件包,但它给了我相同的依赖错误。

我还检查以确保依赖包实际上安装了适合我尝试安装的应用程序的版本...我缺少什么?

相关内容