diff --git a/docs/usage.rst b/docs/usage.rst index 44789e4..5670ce0 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -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) diff --git a/nvchecker_source/apt.py b/nvchecker_source/apt.py index 51fc1b4..7610b88 100644 --- a/nvchecker_source/apt.py +++ b/nvchecker_source/apt.py @@ -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')