abhigenie92 / unattended_upgrades_repos

Generates system-specific repositories to be added in configuration file for silently updating all packages via unattended upgrades.
84 stars 12 forks source link

Repeat of defaults reported #2

Closed ahayes closed 5 years ago

ahayes commented 6 years ago

It would appear that the script lists repos that are already included (after interpretation.)

For example, on Ubuntu 16.04, it suggests adding:

"Ubuntu:xenial-updates";
"Ubuntu:xenial";
"Ubuntu:xenial-backports";
"Ubuntu:xenial-security";

When the 50unattended-upgrades file already includes:

"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
"${distro_id}:${distro_codename}-updates";
"${distro_id}:${distro_codename}-backports";
abhigenie92 commented 5 years ago

Hi Amos, Thanks for pointing out the issue! The detailed information you provided was really helpful as well! It should be fixed now, please do git pull and check. :)