===== Setup ===== cow:~ $ lxc launch ubuntu:lunar lunar Creating lunar Starting lunar cow:~ $ lxc config device add lunar artifacts disk source=/home/james/cloud-artifacts path=/root/a # debs for older versions Device artifacts added to lunar cow:~ $ lxc shell lunar root@lunar:~# cd a/debs root@lunar:~/a/debs# ===== Failure case ===== root@lunar:~/a/debs# dpkg -i cloud-init_23.1.2-0ubuntu0~23.04.1_all.deb dpkg: warning: downgrading cloud-init from 23.2.2-0ubuntu0~23.04.1 to 23.1.2-0ubuntu0~23.04.1 (Reading database ... 33924 files and directories currently installed.) Preparing to unpack cloud-init_23.1.2-0ubuntu0~23.04.1_all.deb ... Unpacking cloud-init (23.1.2-0ubuntu0~23.04.1) over (23.2.2-0ubuntu0~23.04.1) ... Setting up cloud-init (23.1.2-0ubuntu0~23.04.1) ... Installing new version of config file /etc/cloud/cloud.cfg ... Installing new version of config file /etc/cloud/templates/chrony.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.centos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.cos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-leap.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-microos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-tumbleweed.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle-micro.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle_hpc.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntpd.conf.openbsd.tmpl ... Processing triggers for rsyslog (8.2302.0-1ubuntu3) ... Processing triggers for man-db (2.11.2-1) ... root@lunar:~/a/debs# dpkg -i cloud-init_23.2.1-0ubuntu0~23.04.1_all.deb (Reading database ... 33930 files and directories currently installed.) Preparing to unpack cloud-init_23.2.1-0ubuntu0~23.04.1_all.deb ... Unpacking cloud-init (23.2.1-0ubuntu0~23.04.1) over (23.1.2-0ubuntu0~23.04.1) ... dpkg: warning: unable to delete old directory '/etc/NetworkManager/dispatcher.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/NetworkManager': Directory not empty Setting up cloud-init (23.2.1-0ubuntu0~23.04.1) ... Installing new version of config file /etc/cloud/cloud.cfg ... Installing new version of config file /etc/cloud/templates/chrony.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.centos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.cos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-leap.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-microos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-tumbleweed.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle-micro.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle_hpc.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntpd.conf.openbsd.tmpl ... Processing triggers for rsyslog (8.2302.0-1ubuntu3) ... Processing triggers for man-db (2.11.2-1) ... root@lunar:~/a/debs# ls /etc/NetworkManager/dispatcher.d/ hook-network-manager root@lunar:~/a/debs# ===== Success case ===== root@lunar:~# apt install cloud-init=23.1.2-0ubuntu0~23.04.1 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be DOWNGRADED: cloud-init 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded. Need to get 558 kB of archives. After this operation, 21.5 kB disk space will be freed. Do you want to continue? [Y/n] Y Get:1 http://security.ubuntu.com/ubuntu lunar-security/main amd64 cloud-init all 23.1.2-0ubuntu0~23.04.1 [558 kB] Fetched 558 kB in 1s (623 kB/s) Preconfiguring packages ... dpkg: warning: downgrading cloud-init from 23.2.2-0ubuntu0~23.04.1 to 23.1.2-0ubuntu0~23.04.1 (Reading database ... 33921 files and directories currently installed.) Preparing to unpack .../cloud-init_23.1.2-0ubuntu0~23.04.1_all.deb ... Unpacking cloud-init (23.1.2-0ubuntu0~23.04.1) over (23.2.2-0ubuntu0~23.04.1) ... Setting up cloud-init (23.1.2-0ubuntu0~23.04.1) ... Installing new version of config file /etc/cloud/cloud.cfg ... Installing new version of config file /etc/cloud/templates/chrony.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.centos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.cos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-leap.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-microos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-tumbleweed.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle-micro.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle_hpc.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntpd.conf.openbsd.tmpl ... Processing triggers for man-db (2.11.2-1) ... Processing triggers for rsyslog (8.2302.0-1ubuntu3) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@lunar:~# echo deb "http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" | tee /etc/apt/sources.list.d/proposed.list deb http://archive.ubuntu.com/ubuntu lunar-proposed main root@lunar:~# apt update; apt install cloud-init -t=$(lsb_release -sc)-proposed Hit:1 http://archive.ubuntu.com/ubuntu lunar InRelease Hit:2 http://archive.ubuntu.com/ubuntu lunar-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu lunar-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu lunar-security InRelease Hit:5 http://archive.ubuntu.com/ubuntu lunar-proposed InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be upgraded: cloud-init 1 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. Need to get 577 kB of archives. After this operation, 122 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu lunar-proposed/main amd64 cloud-init all 23.3.1-0ubuntu1~23.04.1 [577 kB] Fetched 577 kB in 7s (80.4 kB/s) Preconfiguring packages ... (Reading database ... 33924 files and directories currently installed.) Preparing to unpack .../cloud-init_23.3.1-0ubuntu1~23.04.1_all.deb ... Unpacking cloud-init (23.3.1-0ubuntu1~23.04.1) over (23.1.2-0ubuntu0~23.04.1) ... dpkg: warning: unable to delete old directory '/etc/NetworkManager/dispatcher.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/NetworkManager': Directory not empty Setting up cloud-init (23.3.1-0ubuntu1~23.04.1) ... Installing new version of config file /etc/cloud/cloud.cfg ... Installing new version of config file /etc/cloud/templates/chrony.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.centos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.cos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-leap.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-microos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse-tumbleweed.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle-micro.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sle_hpc.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.fedora.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.freebsd.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.opensuse.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.photon.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.rhel.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl ... Installing new version of config file /etc/cloud/templates/ntp.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/ntpd.conf.openbsd.tmpl ... Removing obsolete conffile /etc/NetworkManager/dispatcher.d/hook-network-manager ... Processing triggers for man-db (2.11.2-1) ... Processing triggers for rsyslog (8.2302.0-1ubuntu3) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@lunar:~# ls /etc/NetworkManager/dispatcher.d/ root@lunar:~#