git - 在 ubuntu 中安装期间找不到包 git
问题描述
我使用了这个命令:
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
我该如何解决这个问题?
解决方案
推荐阅读
- java - 为什么在春季使用服务实现模式
- javascript - 发送 PHP 发布表单并使用 Vue.js 仅用于“实时”字段验证
- java - 如何在没有系统属性的新 Algolia API v3 中定义代理设置
- c# - 此请求的授权已被拒绝 - 桌面到 ASP.NET Web API
- python - 除非在其中一个单元测试中导入,否则 Pytest-cov 不考虑文件进行覆盖率分析?
- continuous-integration - Azure 数据工厂如何使用 DevOps 将警报和指标部署到其他环境
- java - 单击按钮时打开 JTextArea
- regex - 使用 awk 和 sed 进行日志解析
- python - 使用嵌套的 while 循环而不是 for 循环
- git - git:如何应用有冲突的补丁?