If you try installing the Google Chrome browser on an ARM (Macbook M1/M2) Ubuntu VM, you will encounter this error.
The not installable error
Complete Error:
The following packages have unmet dependencies:
google-chrome-stable:amd64 : Depends: libasound2:amd64 (>= 1.0.17) but it is not installable
Depends: libatk-bridge2.0-0:amd64 (>= 2.5.3) but it is not installable
Depends: libatk1.0-0:amd64 (>= 2.2.0) but it is not installable
Depends: libatspi2.0-0:amd64 (>= 2.9.90) but it is not installable
Depends: libc6:amd64 (>= 2.17) but it is not installable
Depends: libcairo2:amd64 (>= 1.6.0) but it is not installable
Depends: libcups2:amd64 (>= 1.6.0) but it is not installable
Depends: libcurl3-gnutls:amd64 but it is not installable or
libcurl3-nss:amd64 but it is not installable or
libcurl4:amd64 but it is not installable or
libcurl3:amd64 but it is not installable
Depends: libdbus-1-3:amd64 (>= 1.9.14) but it is not installable
Depends: libdrm2:amd64 (>= 2.4.75) but it is not installable
Depends: libgbm1:amd64 (>= 17.1.0~rc2) but it is not installable
Depends: libglib2.0-0:amd64 (>= 2.39.4) but it is not installable
Depends: libgtk-3-0:amd64 (>= 3.9.10) but it is not installable or
libgtk-4-1:amd64 but it is not installable
Depends: libnspr4:amd64 (>= 2:4.9-2~) but it is not installable
Depends: libnss3:amd64 (>= 2:3.31) but it is not installable
Depends: libpango-1.0-0:amd64 (>= 1.14.0) but it is not installable
Depends: libvulkan1:amd64 but it is not installable
Depends: libx11-6:amd64 (>= 2:1.4.99.1) but it is not installable
Depends: libxcb1:amd64 (>= 1.9.2) but it is not installable
Depends: libxcomposite1:amd64 (>= 1:0.4.4-1) but it is not installable
Depends: libxdamage1:amd64 (>= 1:1.1) but it is not installable
Depends: libxext6:amd64 but it is not installable
Depends: libxfixes3:amd64 but it is not installable
Depends: libxkbcommon0:amd64 (>= 0.5.0) but it is not installable
Depends: libxrandr2:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.
Reason:
Google Chrome is unavailable for Debian ARM processors yet (2023/May).
Solution: Install Chromium
You can install Chromium from APT
sudo apt install chromium-browser
Example
root@codetryout:~# sudo apt install chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
chromium-browser
0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded.
Need to get 48.5 kB of archives.
After this operation, 165 kB of additional disk space will be used.
Get:1 https://in.ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 chromium-browser arm64 1:85.0.4183.83-0ubuntu0.20.04.3 [48.5 kB]
Fetched 48.5 kB in 1s (47.2 kB/s)
Preconfiguring packages ...
Selecting previously unselected package chromium-browser.
(Reading database ... 168036 files and directories currently installed.)
Preparing to unpack .../chromium-browser_1%3a85.0.4183.83-0ubuntu0.20.04.3_arm64.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
chromium 113.0.5672.126 from Canonical** installed
=> Snap installation complete
Unpacking chromium-browser (1:85.0.4183.83-0ubuntu0.20.04.3) ...
Setting up chromium-browser (1:85.0.4183.83-0ubuntu0.20.04.3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...