Debian
相同的包安裝在兩個架構版本中
我在新安裝的 debian 8.7 上使用 i386/amd64 多架構。我剛剛添加它
dpkg --add-architecture i386
以安裝我在 amd64 版本中找不到的包。然後我使用儲存庫安裝了我的 nvidia 驅動程序的 jessie-backports (375) 版本:
# jessie-backports deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
這就是突觸現在給我的:
我將所有這些 nvidia 軟體包安裝了兩次,每個架構一個。這有什麼正常的嗎?在這一切過程中我做錯了什麼嗎?
真正奇怪的是,
apt list --installed |grep nvidia
它甚至沒有給我相同的答案:ut@Albizia:~$ apt list --installed |grep nvidia WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts. glx-alternative-nvidia/jessie-backports,now 0.7.3~bpo8+1 amd64 [installé, automatique] libegl-nvidia0/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libegl1-glvnd-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgl1-glvnd-nvidia-glx/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgl1-nvidia-glvnd-glx/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgldispatch0-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgles-nvidia1/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgles-nvidia2/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgles1-glvnd-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libgles2-glvnd-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libglx-nvidia0/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libglx0-glvnd-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libnvidia-cfg1/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libnvidia-eglcore/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libnvidia-glcore/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libnvidia-ml1/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] libopengl0-glvnd-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-alternative/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-driver/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-driver-bin/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-driver-libs/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-driver-libs-i386/jessie-backports,now 375.26-1~bpo8+1 i386 [installé, automatique] nvidia-egl-common/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-egl-icd/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-installer-cleanup/jessie-backports,now 20151021+1~bpo8+1 amd64 [installé, automatique] nvidia-kernel-common/jessie-backports,now 20151021+1~bpo8+1 amd64 [installé, automatique] nvidia-kernel-dkms/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-kernel-support/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-legacy-check/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-modprobe/jessie-backports,now 358.09-1~bpo8+1 amd64 [installé, automatique] nvidia-persistenced/jessie-backports,now 358.09-1~bpo8+1 amd64 [installé, automatique] nvidia-settings/jessie-backports,now 375.26-3~bpo8+1 amd64 [installé, automatique] nvidia-support/jessie-backports,now 20151021+1~bpo8+1 amd64 [installé, automatique] nvidia-vdpau-driver/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-vulkan-common/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] nvidia-vulkan-icd/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé, automatique] xserver-xorg-video-nvidia/jessie-backports,now 375.26-1~bpo8+1 amd64 [installé]
據此,每個軟體包只安裝一次。我不知道該相信誰了。
Synaptic 是對的,您為
amd64
和i386
. 這是正常的:NVIDIA 驅動程序包依賴於nvidia-driver-libs
,它本身會建議在庫nvidia-driver-libs-i386
中拉取哪個(如果您有可用的體系結構)。這樣,二進製文件都可以使用庫;例如,如果您想執行 32 位遊戲,這會派上用場。i386``amd64``i386``amd64``i386
apt list
每個安裝的包只顯示一個架構,所以你只會看到amd64
安裝了這兩種架構的包的版本。