How to Handle Package Upgrades on a Single Ubuntu Server?

April 26, 2025 1 answer
Asked by choir seat 54
I have a bare-metal server running Ubuntu 22.04.5 LTS set up with unattended-upgrades for main and security updates. However, I also have third-party packages from vendors like Lambdalabs and Mellanox, which means when I check for updates, I need to manually review anything left over, like the jammy-updates and those vendor packages. Since I lack a dedicated test server for checking these updates, I want to know how others manage the necessary manual upgrades using the apt command. Do you usually review all packages and pick a few to upgrade manually, or do you go for a full update on a scheduled basis, such as monthly?

Answers

turnstile__operator
I usually synchronize my locally hosted apt repository first, then run `apt-get upgrade` in a dev environment. I give it about two weeks to see if any issues arise before rolling the updates out to production. This method helps me identify potential problems without affecting users immediately.

flat-pack-desk: Thanks for sharing! Just to clarify, I donโ€™t have a separate dev/testing environment, only this single server, so it really is about getting it right on the first try.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions