-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dpkg-reconfigure cloud-init-base always reports: Removing cloud-init/datasources in favor of cloud-init-base/datasources #5780
Comments
Tracking in SC-1967. |
Thanks, @blackboxsw, for reporting this issue. I am able to reproduce it by:
The issue happens because on a package upgrade to What we would like to happen is to call [1] This happens because, by default, a call to
To fix this issue, we would wish to be able to unregister I would propose to just remove the |
Bug report
debian/cloud-init-base.postinst has a migrate_debconf_to_cloud_init_base that attempts to migrate old package debconf values from cloud-init/datasources to cloud-init-base/datasources. It attempts to perform a db_unregister of the old debconf setting once the migration and db_set of cloud-init-base/datsources is performed. Yet, no matter how many times you run dpkg-reconfigure, that message is printed, leading me to believe the db_unregister cloud-init/datasources wasn't enough or persisted.
Steps to reproduce the problem
git checkout upstream/ubuntu/devel
change d/changelog from UNRELEASED to oracular
git commit -am 'pkg build test'
build-package; sbuild ....oracular ... ./out/dsc
lxc launch ubuntu-daily:oracular test-o
lxc file push cloud-initdeb test-o/
lxc exec test-o -- dpkg -i /cloud-init_*deb /cloud-init-base_*deb
dpkg-reconfigure cloud-init-base
Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered: