安装 libgdm amd64 以及 arm64、Ubuntu x86_64 仿真、Parallels、Apple Silicon 芯片

安装 libgdm amd64 以及 arm64、Ubuntu x86_64 仿真、Parallels、Apple Silicon 芯片

我有带有 Ubuntu 20.04.2(x86_64 仿真)的 Parallels Desktop。它在 macOS Apple Silicon 芯片上运行。Parallels 使用 Rosetta 使原生 arm64 Ubuntu 运行 amd64 二进制文件。我正在尝试安装仅适用于 amd64 的 Unity Hub。它下载了大多数 amd64 依赖项,但其中一些不会自动安装(我认为是因为它们是系统默认设置而未列出)。例如,我成功地与原生依赖项一起手动安装了 libdrm2:amd64。但我尝试解决的下一个依赖项是 libgdm.so.1,它是包 libgdm1 的一部分。当我安装时,sudo apt install libgdm1:amd64我丢失了 GUI。我重新安装了 Ubuntu 并发现此命令将删除原生 arm64 gdm3。是否可以安装 amd64 版本并保留原生 arm64 版本?

以下是该命令的输出:

parallels@ubuntu-linux-22-04-02-desktop:~$ sudo apt install libgdm1:amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-accountsservice-1.0 gir1.2-adw-1 gir1.2-gck-1 gir1.2-gcr-3 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-3.0 gir1.2-graphene-1.0 gir1.2-gtk-4.0
  gir1.2-gweather-3.0 gir1.2-json-1.0 gir1.2-mutter-10 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-rsvg-2.0 gir1.2-upowerglib-1.0 gnome-bluetooth-3-common
  gnome-shell-common gstreamer1.0-pipewire libgnome-bluetooth-3.0-13 libsysmetrics1 switcheroo-control xwayland
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dconf-gsettings-backend:amd64 libdconf1:amd64 notification-daemon policykit-1-gnome
The following packages will be REMOVED:
  gdm3 gir1.2-gdm-1.0 gnome-initial-setup gnome-shell gnome-shell-extension-appindicator gnome-shell-extension-desktop-icons-ng
  gnome-shell-extension-ubuntu-dock libgdm1 ubuntu-desktop ubuntu-desktop-minimal ubuntu-session
The following NEW packages will be installed:
  dconf-gsettings-backend:amd64 libdconf1:amd64 libgdm1:amd64 notification-daemon policykit-1-gnome
0 upgraded, 5 newly installed, 11 to remove and 0 not upgraded.
Need to get 206 kB of archives.
After this operation, 8558 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

有关 Parallels Desktop 中的 Rosetta 的文章链接

相关内容