apt-pkg/acquire-item.cc: improve error message for valid-until
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 1 Jul 2011 13:10:28 +0000 (14:10 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 1 Jul 2011 13:10:28 +0000 (14:10 +0100)
apt-pkg/acquire-item.cc

index c3817f6..215615b 100644 (file)
@@ -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))