archives: deduplicate apt sourcelist file construction
had to include two other commits for which MRs have already been submitted due to conflicts
Closes: #952889
Edited by Lyndon Brown
had to include two other commits for which MRs have already been submitted due to conflicts
Closes: #952889