mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-02 04:50:49 +00:00
Fix: Replace security.debian.org with archive
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
Downloading http://security.debian.org/dists/stretch/updates/InRelease...
|
||||
Success downloading http://security.debian.org/dists/stretch/updates/InRelease
|
||||
Downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease...
|
||||
Success downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease
|
||||
gpgv: RSA key ID 331F7F50
|
||||
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
|
||||
gpgv: RSA key ID E562B32A
|
||||
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>"
|
||||
|
||||
Mirror [mirror19]: http://security.debian.org/ stretch/updates [src] successfully added.
|
||||
Mirror [mirror19]: http://archive.debian.org/debian-security/ stretch/updates [src] successfully added.
|
||||
You can run 'aptly mirror update mirror19' to download repository contents.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: mirror19
|
||||
Archive Root URL: http://security.debian.org/
|
||||
Archive Root URL: http://archive.debian.org/debian-security/
|
||||
Distribution: stretch/updates
|
||||
Components: main
|
||||
Architectures: i386
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
Downloading http://security.debian.org/dists/stretch/updates/InRelease...
|
||||
Error downloading http://security.debian.org/dists/stretch/updates/InRelease: http://security.debian.org/dists/stretch/updates/InRelease: Get "http://security.debian.org/dists/stretch/updates/InRelease": http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused retrying...
|
||||
Retrying 0 http://security.debian.org/dists/stretch/updates/InRelease...
|
||||
Giving up on http://security.debian.org/dists/stretch/updates/InRelease...
|
||||
Downloading http://security.debian.org/dists/stretch/updates/Release...
|
||||
Error downloading http://security.debian.org/dists/stretch/updates/Release: http://security.debian.org/dists/stretch/updates/Release: Get "http://security.debian.org/dists/stretch/updates/Release": http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused retrying...
|
||||
Retrying 0 http://security.debian.org/dists/stretch/updates/Release...
|
||||
Giving up on http://security.debian.org/dists/stretch/updates/Release...
|
||||
ERROR: unable to fetch mirror: http://security.debian.org/dists/stretch/updates/Release: Get http://security.debian.org/dists/stretch/updates/Release: http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused
|
||||
Downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease...
|
||||
Error downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease: http://archive.debian.org/debian-security/dists/stretch/updates/InRelease: Get "http://archive.debian.org/debian-security/dists/stretch/updates/InRelease": http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused retrying...
|
||||
Retrying 0 http://archive.debian.org/debian-security/dists/stretch/updates/InRelease...
|
||||
Giving up on http://archive.debian.org/debian-security/dists/stretch/updates/InRelease...
|
||||
Downloading http://archive.debian.org/debian-security/dists/stretch/updates/Release...
|
||||
Error downloading http://archive.debian.org/debian-security/dists/stretch/updates/Release: http://archive.debian.org/debian-security/dists/stretch/updates/Release: Get "http://archive.debian.org/debian-security/dists/stretch/updates/Release": http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused retrying...
|
||||
Retrying 0 http://archive.debian.org/debian-security/dists/stretch/updates/Release...
|
||||
Giving up on http://archive.debian.org/debian-security/dists/stretch/updates/Release...
|
||||
ERROR: unable to fetch mirror: http://archive.debian.org/debian-security/dists/stretch/updates/Release: Get http://archive.debian.org/debian-security/dists/stretch/updates/Release: http: error connecting to proxy http://127.0.0.1:3137: dial tcp 127.0.0.1:3137: connection refused
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Downloading http://security.debian.org/dists/stretch/updates/Release...
|
||||
Success downloading http://security.debian.org/dists/stretch/updates/Release
|
||||
Downloading http://archive.debian.org/debian-security/dists/stretch/updates/Release...
|
||||
Success downloading http://archive.debian.org/debian-security/dists/stretch/updates/Release
|
||||
|
||||
Mirror [mirror22]: http://security.debian.org/ stretch/updates successfully added.
|
||||
Mirror [mirror22]: http://archive.debian.org/debian-security/ stretch/updates successfully added.
|
||||
You can run 'aptly mirror update mirror22' to download repository contents.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: mirror22
|
||||
Archive Root URL: http://security.debian.org/
|
||||
Archive Root URL: http://archive.debian.org/debian-security/
|
||||
Distribution: stretch/updates
|
||||
Components: main
|
||||
Architectures: amd64, arm64, armel, armhf, i386
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
Downloading http://security.debian.org/dists/stretch/updates/InRelease...
|
||||
Success downloading http://security.debian.org/dists/stretch/updates/InRelease
|
||||
Downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease...
|
||||
Success downloading http://archive.debian.org/debian-security/dists/stretch/updates/InRelease
|
||||
gpgv: RSA key ID 331F7F50
|
||||
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
|
||||
gpgv: RSA key ID E562B32A
|
||||
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>"
|
||||
|
||||
Mirror [mirror24]: http://security.debian.org/ stretch/updates successfully added.
|
||||
Mirror [mirror24]: http://archive.debian.org/debian-security/ stretch/updates successfully added.
|
||||
You can run 'aptly mirror update mirror24' to download repository contents.
|
||||
|
||||
@@ -1 +1 @@
|
||||
Mirror [mirror5]: http://security.debian.org/ stretch/updates successfully updated.
|
||||
Mirror [mirror5]: http://archive.debian.org/debian-security/ stretch/updates successfully updated.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: mirror5
|
||||
Archive Root URL: http://security.debian.org/
|
||||
Archive Root URL: http://archive.debian.org/debian-security/
|
||||
Distribution: stretch/updates
|
||||
Components: main
|
||||
Architectures: amd64, arm64, armel, armhf, i386
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: mirror4
|
||||
Archive Root URL: http://security.debian.org/
|
||||
Archive Root URL: http://archive.debian.org/debian-security/
|
||||
Distribution: stretch/updates
|
||||
Components: main
|
||||
Architectures: amd64, arm64, armel, armhf, i386
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"UUID": "548dbdb6-75d6-42ac-80de-d6aff8012f83",
|
||||
"Name": "mirror4",
|
||||
"ArchiveRoot": "http://security.debian.org/",
|
||||
"ArchiveRoot": "http://archive.debian.org/debian-security/",
|
||||
"Distribution": "stretch/updates",
|
||||
"Components": [
|
||||
"main"
|
||||
|
||||
@@ -237,7 +237,7 @@ class CreateMirror19Test(BaseTest):
|
||||
"""
|
||||
fixtureGpg = True
|
||||
|
||||
runCmd = "aptly -architectures='i386' mirror create -keyring=aptlytest.gpg -with-sources mirror19 http://security.debian.org/ stretch/updates main"
|
||||
runCmd = "aptly -architectures='i386' mirror create -keyring=aptlytest.gpg -with-sources mirror19 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
|
||||
def outputMatchPrepare(self, s):
|
||||
return re.sub(r'Signature made .* using', '', s)
|
||||
@@ -258,7 +258,7 @@ class CreateMirror20Test(BaseTest):
|
||||
fixtureGpg = True
|
||||
configOverride = {"max-tries": 1}
|
||||
|
||||
runCmd = "aptly -architectures='i386' mirror create -keyring=aptlytest.gpg -with-sources mirror20 http://security.debian.org/ stretch/updates main"
|
||||
runCmd = "aptly -architectures='i386' mirror create -keyring=aptlytest.gpg -with-sources mirror20 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
environmentOverride = {"HTTP_PROXY": "127.0.0.1:3137"}
|
||||
expectedCode = 1
|
||||
|
||||
@@ -270,8 +270,8 @@ class CreateMirror20Test(BaseTest):
|
||||
).replace(
|
||||
'proxyconnect tcp', 'http: error connecting to proxy http://127.0.0.1:3137'
|
||||
).replace(
|
||||
'Get http://security.debian.org/dists/stretch/updates/Release:',
|
||||
'Get "http://security.debian.org/dists/stretch/updates/Release":'
|
||||
'Get http://archive.debian.org/debian-security/dists/stretch/updates/Release:',
|
||||
'Get "http://archive.debian.org/debian-security/dists/stretch/updates/Release":'
|
||||
)
|
||||
|
||||
|
||||
@@ -302,7 +302,7 @@ class CreateMirror22Test(BaseTest):
|
||||
"""
|
||||
create mirror: mirror with filter
|
||||
"""
|
||||
runCmd = "aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' mirror22 http://security.debian.org/ stretch/updates main"
|
||||
runCmd = "aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' mirror22 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
|
||||
def check(self):
|
||||
def removeDates(s):
|
||||
@@ -317,7 +317,7 @@ class CreateMirror23Test(BaseTest):
|
||||
"""
|
||||
create mirror: mirror with wrong filter
|
||||
"""
|
||||
runCmd = "aptly mirror create -ignore-signatures -filter='nginx | ' mirror23 http://security.debian.org/ stretch/updates main"
|
||||
runCmd = "aptly mirror create -ignore-signatures -filter='nginx | ' mirror23 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
expectedCode = 1
|
||||
|
||||
|
||||
@@ -325,7 +325,7 @@ class CreateMirror24Test(BaseTest):
|
||||
"""
|
||||
create mirror: disable config value with option
|
||||
"""
|
||||
runCmd = "aptly mirror create -ignore-signatures=false -keyring=aptlytest.gpg mirror24 http://security.debian.org/ stretch/updates main"
|
||||
runCmd = "aptly mirror create -ignore-signatures=false -keyring=aptlytest.gpg mirror24 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
fixtureGpg = True
|
||||
|
||||
def outputMatchPrepare(self, s):
|
||||
|
||||
@@ -49,7 +49,7 @@ class EditMirror5Test(BaseTest):
|
||||
edit mirror: remove filter
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' mirror5 http://security.debian.org/ stretch/updates main",
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' mirror5 http://archive.debian.org/debian-security/ stretch/updates main",
|
||||
]
|
||||
runCmd = "aptly mirror edit -filter= mirror5"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class ShowMirror4Test(BaseTest):
|
||||
show mirror: mirror with filter
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' -filter-with-deps=true mirror4 http://security.debian.org/ stretch/updates main"
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' -filter-with-deps=true mirror4 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
]
|
||||
runCmd = "aptly mirror show mirror4"
|
||||
|
||||
@@ -75,7 +75,7 @@ class ShowMirror8Test(BaseTest):
|
||||
show mirror: mirror with filter
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' -filter-with-deps=true mirror4 http://security.debian.org/ stretch/updates main"
|
||||
"aptly mirror create -ignore-signatures -filter='nginx | Priority (required)' -filter-with-deps=true mirror4 http://archive.debian.org/debian-security/ stretch/updates main"
|
||||
]
|
||||
runCmd = "aptly mirror show -json mirror4"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user