diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-06-29 17:15:56 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-06-29 17:15:56 +0200 |
commit | 49434e94575cfcc14d2f43bdd86c2c5c351d02a8 (patch) | |
tree | 464b7c12e8a1b6e26bb78bd4c73ef9d93461369f /cmdline | |
parent | bd0fc582449b86f74be582e3407e09334ba9e71d (diff) | |
download | apt-49434e94575cfcc14d2f43bdd86c2c5c351d02a8.tar.gz |
* cmdline/apt-key:
- explicitly state that net-update is not supported if no url is set
Diffstat (limited to 'cmdline')
-rwxr-xr-x | cmdline/apt-key | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key index 3838fafcd..86e982054 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -59,13 +59,13 @@ add_keys_with_verify_against_master_keyring() { # (otherwise it does not make sense from a security POV) net_update() { if [ -z "$ARCHIVE_KEYRING_URI" ]; then - echo "ERROR: no location for the archive-keyring given" + echo >&2 "ERROR: Your distribution is not supported in net-update as no uri for the archive-keyring is set" exit 1 fi # in theory we would need to depend on wget for this, but this feature # isn't useable in debian anyway as we have no keyring uri nor a master key if ! which wget >/dev/null 2>&1; then - echo "ERROR: an installed wget is required for a network-based update" + echo >&2 "ERROR: an installed wget is required for a network-based update" exit 1 fi if [ ! -d /var/lib/apt/keyrings ]; then |