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

Bug#771699: Provide A Preseed Option For Ignoring The Valid-Until Field of InRelease Files



Hi,

Cyril Brulebois <kibi@debian.org> wrote:
> I don't have the right setup handy right now to test this. Could you 
> please at least tell us whether that's something that should be dealt 
> with at debootstrap time and/or in some other places? (It's not 
> entirely clear where you draw the line between installer only and 
> target image since many apt calls happens within /target).

When using snapshot.debian.org (e.g. to work around bug#803769) it seems 
debootstrap ignores expiry (which is arguably a bug in itself): Only 
midway through the install process does it fail asking to retry, and 
retrying succeeds after running either of these commands:

 a) date -s $some-old-enough-data
 b) echo 'Acquire::Check-Valid-Until "false";' > /target/etc/apt/apt.conf.d/99ignore-repo-exiry

As I understand this issue and your question, Cyril, the answer is 
therefore that such flag currently (with arguably buggy debootstrap) 
only need to affect the later APT calls within /target.


Regards, and thanks a lot for all the great work on the installer,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: