diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-01 14:10:28 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-01 14:10:28 +0100 |
commit | 457bea86ba07fc0cfcb08bcf9f81f5858975f916 (patch) | |
tree | 3e30b910e7cf1b1ca4eb7dfb31e7bd1b8a9b632f | |
parent | ab30a600527ba467cda6474c3ab09d64fcbfacd6 (diff) | |
download | apt-457bea86ba07fc0cfcb08bcf9f81f5858975f916.tar.gz |
apt-pkg/acquire-item.cc: improve error message for valid-until
-rw-r--r-- | apt-pkg/acquire-item.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index c3817f6ee..215615bdd 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1473,8 +1473,10 @@ bool pkgAcqMetaIndex::VerifyVendor(string Message) /*{{{*/ // TRANSLATOR: The first %s is the URL of the bad Release file, the second is // the time since then the file is invalid - formated in the same way as in // the download progress display (e.g. 7d 3h 42min 1s) - return _error->Error(_("Release file expired, ignoring %s (invalid since %s)"), - RealURI.c_str(), TimeToStr(invalid_since).c_str()); + return _error->Error( + _("Release file for %s is expired (invalid since %s). " + "Updates for this repository will not be applied."), + RealURI.c_str(), TimeToStr(invalid_since).c_str()); } if (_config->FindB("Debug::pkgAcquire::Auth", false)) |