[publish] use a persistent header for generated apt.conf (closes #119789) [applied]