I have checked with “apt-mark hold cloud-init” and got the following mesage: “cloud-init was already set on hold.”
Is it safe to unhold it and upgrade it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Thank you for the answers.
There is another method to update it, wich is:
in the first place to unhold the holded package, and then
My questions are:
I would not recomend apt dist-upgrade as it involves updating other staff from vesion to version.
Straight from DO support: “We pin cloud-init to a specified version in order to prevent upgrades from affecting the configuration options within your Droplet. While upgrades to cloud-init should not affect your Droplet, there have been certain situations where changes to the system had been performed due to cloud-init upgrades.”
Based on that, I would say that it “should” be safe to unpin and upgrade it, but why take the chance?
I had the same problem and it seems like a strange situation to me. Anyway, I fixed this by installing the
cloud-init
package:sudo apt install cloud-init
.