gpt4 book ai didi

git安装错误缺少安装候选

转载 作者:行者123 更新时间:2023-12-04 18:49:35 25 4
gpt4 key购买 nike

我尝试安装 git在 Ubuntu 12.10 上使用命令 sudo apt-get install git .但我收到这样的错误消息:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'git' has no installation candidate

我应该进一步做什么?

最佳答案

尝试运行以下命令。

sudo rm -vf /var/lib/apt/lists/*
sudo apt-get update

关于git安装错误缺少安装候选,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63632820/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com