我在新安装的 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é]
据此,每个包仅安装一次。我不知道该相信谁了。
答案1
Synaptic 是对的,您已经为amd64
和i386
.这是正常的:NVIDIA 驱动程序包依赖于nvidia-driver-libs
,它本身会建议nvidia-driver-libs-i386
引入i386
库amd64
(如果您有i386
可用的架构)。这样,amd64
二进制i386
文件就可以使用这些库;例如,如果您想运行 32 位游戏,这会派上用场。
apt list
每个已安装的软件包仅显示一种架构,因此您只能看到amd64
安装了两种架构的软件包的版本。