Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

替换 apt source.list 时未判断 apt-transport-https 包安装状况 #17

Open
StarDuster opened this issue Jun 6, 2018 · 3 comments

Comments

@StarDuster
Copy link

To be discussed : 是检查没装自动使用 http or 检查没装提醒安装并退出

@CptTZ
Copy link

CptTZ commented Jul 7, 2018

很多主机的apt可能默认不支持https地址,这个确实要检查下

@hosiet
Copy link
Member

hosiet commented Jul 7, 2018

从某个版本的 apt 开始 https 支持进行了内置。所以不能暴力检查 apt-transport-https 的安装情况,要进行进一步的判断。

@CptTZ
Copy link

CptTZ commented Jul 7, 2018

Debian 9 默认的apt 1.4.8貌似还不是默认支持。是不是可以先检查apt版本?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants