Use deb.debian.org instead of ftp.debian.org

This commit is contained in:
Felix Yan 2020-09-16 17:41:45 +08:00
parent ae563d007f
commit 819a8461a4
No known key found for this signature in database
GPG Key ID: 786C63F330D7CB92
2 changed files with 2 additions and 2 deletions

View File

@ -622,7 +622,7 @@ apt
Name of the APT package.
mirror
URL of the repository (defaults to http://ftp.debian.org/debian/)
URL of the repository (defaults to http://deb.debian.org/debian/)
suite
Name of the APT repository release (jessie, wheezy, etc, defaults to sid)

View File

@ -23,7 +23,7 @@ async def get_url(url):
async def get_version(name, conf, *, cache, **kwargs):
pkg = conf.get('apt') or name
mirror = conf.get('mirror', "http://ftp.debian.org/debian/")
mirror = conf.get('mirror', "http://deb.debian.org/debian/")
suite = conf.get('suite', 'sid')
repo = conf.get('repo', 'main')
arch = conf.get('arch', 'amd64')