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!
Accepted Answer
Thank you for the answers.
There is another method to update it, wich is:
apt-mark unhold cloud-init
in the first place to unhold the holded package, and then
apt upgrade
My questions are:
I would not recomend apt dist-upgrade as it involves updating other staff from vesion to version.
I have updated it on several servers, so I would consider it safe and with no issues.
You need to run apt dist-upgrade
to upgrade between versions.
The apt upgrade
will only upgrade minor updates like security patches.
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
.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.