## set up a container with software-properties installed from -proposed $ rel=yakkety $ name=yakkety-1 $ lxc launch ubuntu-daily:$rel $name $ lxc exec $name -- sh -c 'while ! [ -e /run/cloud-init/result.json ]; do echo .; sleep 1; done' </dev/null $ lxc exec $name -- sh -e <<"EOF" rel=$(lsb_release -sc) line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ { printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) }; ' "rel=$rel" /etc/apt/sources.list) echo "$line" | sudo tee /etc/apt/sources.list.d/proposed.list apt-get update -qq apt-get install -qy software-properties-common </dev/null EOF
$ lxc exec $name -- dpkg-query --show software-properties-common </dev/null software-properties-common 0.96.24.7.1 $ for n in queens pike queens-proposed pike-proposed; do lxc exec $name -- sh <<EOF echo == $n == add-apt-repository -y cloud-archive:$n EOF done == queens == cloud-archive for Queens only supported on xenial == pike == cloud-archive for Pike only supported on xenial == queens-proposed == cloud-archive for Queens-proposed only supported on xenial == pike-proposed == cloud-archive for Pike-proposed only supported on xenial $ lxc exec $name -- find /etc/apt/sources.list.d /etc/apt/sources.list.d /etc/apt/sources.list.d/proposed.list.save /etc/apt/sources.list.d/proposed.list /etc/apt/sources.list.d/launchpad-ubuntu-buildd-staging-yakkety.list -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/1670385 Title: Add knowledge of openstack releases Pike and Queens Status in software-properties package in Ubuntu: Fix Released Status in software-properties source package in Xenial: Fix Committed Status in software-properties source package in Yakkety: Fix Committed Status in software-properties source package in Zesty: Fix Released Bug description: === Begin SRU Information === [Impact] Software-properties knows about openstack releases so that the user can do $ add-apt-repository cloud-archive/ocata The next 2 openstack releases are known already, so we might as well add them to software-properties. [Test case] sudo add-apt-repository cloud-archive:queens sudo add-apt-repository cloud-archive:queens-proposed sudo add-apt-repository cloud-archive:pike sudo add-apt-repository cloud-archive:pike-proposed There are no repositories on the other side of those commands at the moment, so an 'apt-get update' will not succeed, but when they are populated it will. [Regression Potential] As mentioned above, the repositories are not yet populated. So, the failure case is a bit different than it was before when add-apt-repositiry would just fail. However, it could not have been expected to succeed in either case. [Other Info] This was originally requested by xnox in bug 1645827. But the SRU and upload to zesty went through, so I made another bug for this. === End SRU Information === O To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1670385/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp