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

Re: How to use a local Debian mirror when installing with preseed (PXE)?



On Fri, Sep 02, 2016 at 08:14:14PM +0200, Frank Thommen wrote:
> On 09/02/2016 08:03 PM, Geert Stappers wrote:
> >On Fri, Sep 02, 2016 at 11:37:53AM +0200, Frank Thommen wrote:
> >>On 09/02/2016 01:18 AM, Steve McIntyre wrote:
> >
> >>>Check the syslog in the installer to see what apt says about the
> >>>mirror.
> >>
> >>
> >>and
> >>
> >>Aug 31 15:01:48 in-target: Get:2 http://our.debmirror stable Release
> >>[148 kB]
> >>Aug 31 15:01:48 debconf: --> PROGRESS SET 502
> >>
> >>and
> >>
> >>Aug 31 15:01:48 in-target: Get:3 http://our.debmirror stable/main
> >>amd64 Packages [6,761 kB]
> >>Aug 31 15:01:48 debconf: --> PROGRESS SET 502
> >>
> >>
> >>Are these HTTP error codes?
> >
> >I think ( as in "not sure" ) it is a HTTP error code.
> >Mostly because I see in '502'  "Bad gateway"
> >
> >  https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error
> >
> >
> >>Would that mean, that our local mirror is not ok?
> >
> >Yes, it could mean that the local mirror is not OK.
> >
> >Where I'm _not_ familiar with `ftpsync sync:all`, I accept that
> >it only does "data synchronization". Not any webserver setup.
> >
> >Advice: test/check/verify the local mirror with an installed system.
> 
> I'll removed all lines from /etc/apt/source.list, leaving it with a single
> 
> deb http://our.debmirror stable main
> 
> and installed some packages.  Everything works fine and I see the
> packages being downloaded in the Apache logs on the server side.  No
> error messages...
> 

Nice.  Check server log for these known good.

Then a run with d-i installer. Watch the _server_ log.
Try to catch the '502' from above.

Debug hint: have in the install client the "ALT F4 logging terminal" open.



Groeten
Geert Stappers
-- 
Leven en laten leven


Reply to: