Debian Stretch 上的 GIT

Debian Stretch 上的 GIT

我正在运行 Debian 9,vanilla 安装。

我的硬件是 HP Z230-SFF 工作站、Intel Core i7-4790、GPU Nvidia Quadro K620。

通常在启动时我会收到以下错误: tpm: tpm0 a error(7)occurred attempts to read a pcr value(我认为这与我的问题无关;但只是提及它,以防它以某种方式相关)我不知道)。

我的问题是在尝试安装 git 时:我在 Jessie 上看到过与此相同问题相关的帖子;然而,那里提到的解决方案都没有解决拉伸问题。我得到相同的依赖项错误:

我运行 Synaptic GUI,当我标记包 git 时,我得到以下信息:

git:
 Depends: liberror-perl  but it is not installable
 Depends: git-man but it is not going to be installed
 Depends: git-man but it is not going to be installed
 Recommends: patch  but it is not installable

这是我的sources.list

deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

跑步apt-cache policy git

git: Installed: (none) 
Candidate: 1:2.11.0-3+deb9u2 
  Version table : 
 *** 1:2.11.0-3+deb9u2 500 
      500 security.debian.org/debian-security stretch/updates/main amd64 Packages 

跑步ls /var/lib/dpkg/ | grep status

status 
status-old

跑步apt-get update

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ftp.us.debian.org/debian stretch InRelease                        
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease     
Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease          
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:6 http://ftp.us.debian.org/debian stretch Release
Reading package lists... Done   

相关内容