[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Mention Acquire::Check-Valid-Until=false apt option



People may have to use -o Acquire::Check-Valid-Until=false for
apt/aptitude to make it ignore the fact that Release files have
expired by now.  Patch provided by Geoff Simmons.  closes: #595801.
---
 web/app/snapshot/templates/description.mako |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/web/app/snapshot/templates/description.mako b/web/app/snapshot/templates/description.mako
index 7affc5c..ebe55eb 100644
--- a/web/app/snapshot/templates/description.mako
+++ b/web/app/snapshot/templates/description.mako
@@ -61,6 +61,12 @@ browse the list as mentioned above.  Valid date formats are
 is no import at the exact time you specified you will get the latest
 available timestamp which is before the time you specified.
 </p>
+<p>
+It may be necessary to ignore the Valid-Until header within Release files, in order
+to prevent apt from disregarding snapshot entries ("Release file expired").  Use
+<code>aptitude -o Acquire::Check-Valid-Until=false update</code> or
+<code>apt-get -o Acquire::Check-Valid-Until=false update</code> for this purpose.
+</p>
 
 <p style="margin-top:2em;">
 If you want anything related to a specific package simply enter the
-- 
1.7.2.5


Reply to: