[Bug 1325746] Re: dpkg-reconfigure doesn't work as expected
Scott Moser
smoser at ubuntu.com
Mon Jul 7 22:05:06 UTC 2014
$ rel=$(lsb_release -sc);
$ echo "deb http://archive.ubuntu.com/ubuntu/ $rel-proposed main" | sudo tee /etc/apt/sources.list.d/$rel-proposed.list
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main
$ sudo apt-get update -q
$ sudo apt-cache policy cloud-init
sudo: unable to resolve host trusty-20140707-215033
cloud-init:
Installed: 0.7.5-0ubuntu1
Candidate: 0.7.5-0ubuntu1.1
Version table:
0.7.5-0ubuntu1.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
*** 0.7.5-0ubuntu1 0
500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
### Verify broken ###
$ sudo DEBIAN_FRONTEND=text dpkg-reconfigure cloud-init
## answered: 9,13
## (Openstack, None)
## Saw lots of messages like:
### Use of uninitialized value in string eq at /usr/.../Multiselect.pm line 38
$ cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ CloudStack ]
### update ###
$ sudo apt-get install cloud-init --assume-yes --quiet
### show fixed
$ sudo DEBIAN_FRONTEND=text dpkg-reconfigure cloud-init
$ cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ Openstack, None ]
$ cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ Openstack, None ]
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1325746
Title:
dpkg-reconfigure doesn't work as expected
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1325746/+subscriptions
More information about the Ubuntu-server-bugs
mailing list