summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-10-15 09:35:52 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:01 +0100
commit002b1bc46b18e9d309d337ddb15a6ccdfb6c9dde (patch)
tree4ba630b34486aa6fcbc90ec5a117f01b24bdf0b7 /apt-pkg
parentf18f2338a17d3037ac0d6f81a7f1a37df6eaca01 (diff)
refer to apt-secure(8) in unsecure repositories warning
The manpage is also slightly updated to work better as a central hub to push people from all angles into the right directions without writting a book disguised as an error message.
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 0c7c7c75c..5fda1439c 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -160,6 +160,7 @@ static bool MessageInsecureRepository(bool const isError, std::string const &msg
_error->Warning("%s", msg.c_str());
_error->Notice("%s", _("Data from such a repository can not be authenticated and is therefore potentially dangerous to use."));
}
+ _error->Notice("%s", _("See apt-secure(8) manpage for repository creation and user configuration details."));
return false;
}
static bool MessageInsecureRepository(bool const isError, char const * const msg, std::string const &repo)
@@ -182,7 +183,6 @@ static bool AllowInsecureRepositories(char const * const msg, std::string const
}
MessageInsecureRepository(true, msg, repo);
- _error->Notice(_("Use --allow-insecure-repositories to force an insecure update"));
TransactionManager->AbortTransaction();
I->Status = pkgAcquire::Item::StatError;
return false;