Comment 9 for bug 2045582

Revision history for this message
Chris Patterson (cjp256) wrote : Re: sru cloud-init (23.4 update) Focal, Jammy, and Lunar, Mantic

For images created from base images with cloud-init <= 23.3 and upgraded to the latest (like being done with this testing), I notice that the user will see some complaints when it comes to apt update due to the old sources.list configuration alongside new sources.list.d configuration. This may be expected, but figured I'd share anyways.

$ sudo apt update
<snip>
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list.d/ubuntu.sources:1
...
<snip>