unattended-upgrades runs with duplicate sources

Bug #2016472 reported by Olivier Gayot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Low
Unassigned

Bug Description

Since focal (as far as LTS releases are concerned), unattended-upgrades ships 50unattended-upgrades which ends up installed in /etc/apt/apt.conf.d/50unattended-upgrades

Before running unattended-upgrades, subiquity creates the /etc/apt/apt.conf.d/zzzz-temp-installer-unattended-upgrade file (with or without -updates enabled).

But unattended-upgrade reads the directives from both files, and we end up with duplicate sources:

2023-04-17 08:39:48,779 INFO Allowed origins are: o=Ubuntu,a=lunar, o=Ubuntu,a=lunar-security, o=UbuntuESMApps,a=lunar-apps-security, o=UbuntuESM,a=lunar-infra-security, o=Ubuntu,a=lunar, o=Ubuntu,a=lunar-security, o=UbuntuESMApps,a=lunar-apps-security, o=UbuntuESM,a=lunar-infra-security

Furthermore, if 50unattended-upgrades started enabling -updates, it would defeat subiquity's ability to pull only -security.

Olivier Gayot (ogayot)
Changed in subiquity:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.