diff --git a/README.rst b/README.rst index ffe25926d..aa83b3f4b 100644 --- a/README.rst +++ b/README.rst @@ -48,7 +48,7 @@ To install aptly on Debian/Ubuntu, add new repository to ``/etc/apt/sources.list And import key that is used to sign the release:: - $ apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C + $ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ED75B5A4483DA07C After that you can install aptly as any other software package:: diff --git a/pgp/gnupg.go b/pgp/gnupg.go index 9441ae9d6..99d06621e 100644 --- a/pgp/gnupg.go +++ b/pgp/gnupg.go @@ -263,7 +263,7 @@ func (g *GpgVerifier) runGpgv(args []string, context string, showKeyTip bool) (* keys[i] = string(result.MissingKeys[i]) } - fmt.Printf("gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver pool.sks-keyservers.net --recv-keys %s\n\n", + fmt.Printf("gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver keyserver.ubuntu.com --recv-keys %s\n\n", strings.Join(keys, " ")) fmt.Printf("Sometimes keys are stored in repository root in file named Release.key, to import such key:\n\n") diff --git a/pgp/internal.go b/pgp/internal.go index 82a0a8c35..191743a8a 100644 --- a/pgp/internal.go +++ b/pgp/internal.go @@ -335,7 +335,7 @@ func (g *GoVerifier) showImportKeyTip(signers []signatureResult) { keys = append(keys, string(KeyFromUint64(signer.IssuerKeyID))) } - fmt.Printf("gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver pool.sks-keyservers.net --recv-keys %s\n\n", + fmt.Printf("gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver keyserver.ubuntu.com --recv-keys %s\n\n", strings.Join(keys, " ")) fmt.Printf("Sometimes keys are stored in repository root in file named Release.key, to import such key:\n\n")