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

Re: Ignoring the Release 'Valid_Until' option in the preseed file



On Wed 30 Jul 2014 at 16:09:21 +0200, Alvaro Alonso Jiménez wrote:

> 2. I thought about including something in the late_command stage to update
> the sources.list accordingly (i.e. executing
> 
> in-target echo <my_mirror_information> >>
> /etc/apt/sources.list.d/custom.list
> in-target apt-get -o Acquire::Check-Valid-Until="false" update
> in-target apt-get upgrade
> 
> However, I do believe this is not the proper way of solving the issue,
> since there is an apt-setup section prepared to deal with these issues.

Please read the file 60local in apt-setup-udeb and see what you think.

> Is there any other solution which I can use in the preseed?

It would appear not.


Reply to: