我正在尋找一種在 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 位元應用程式都會讓我經歷相同的永恆循環。
我還嘗試在安裝後配置軟體包,但它給了我相同的依賴錯誤。
我還檢查以確保依賴套件實際上安裝了適合我嘗試安裝的應用程式的版本...我缺少什麼?