How To Update Debian 10

Debian 10 is a popular version of the Linux operating system. The Debian version was released on the 6th of July 2019 and is codenamed “Buster”. The free operating system will be supported for 5 years in total.

Why Update Your Debian 10 Server?

If you manage a Debian server yourself, it is necessary to ensure that all software updates and security updates are up to date at all times. The reason for this is that by updating your server regularly, you will be less susceptible to a hack/vulnerability.

How to Update Debian Buster

By following the next steps, you’ll be able to update Debian 10.

Step 1: Back-Up Any Data On Your Server

Before you start, it is crucial that you have backups that are stored externally and not on your server itself. This is important because if your server has any errors or crashes, it won’t be possible to access your backup.

To update your Debian 10 server you need SSH access, for this, you can use putty on Windows. Mac and Linux users can use the terminal.

Step 2: Check if You’re Running Debian 10

Once you are logged in, you should check which Debian version you’re currently using. To check this, you can run the following command:

cat /etc/os-release

If you’re running Debian 10, you should get the following result:

Debian GNU/Linux 10 (buster)

Once you’ve confirmed that you’re running the right Debian version, it’s time for step 2.

Step 3: Update Packages Index

First, ensure that all packages index are updated and that you have the most recent repos (software servers and lists),

apt-get update

Now that you have updated the packages index, you can start with the update of Debian.

Step 4: Update Debian 10

If you want to use the recommended settings for any upgrades, you can run the following command:

apt upgrade -y

If you want to control which settings are used in an upgrade, you can omit -y

apt upgrade

If all updates have been performed successfully, all you have to do is to perform a server reboot so that everything is completed properly. A server reboot can be done with the following command:

reboot

Once the server is rebooted we can remove the old packages and kernels.

apt autoremove -y

Conclusion

By following the directions above, you should have successfully updated Debian 10. When renting a VPS from Hostio Solutions, you can choose to have Debian as your operating system. In case you need help, you can always contact our support team. You can reach us through our ticket system, live chat, Telegram or by phone.

If you have any questions or need help, you can always contact our support team.

Contact support

Share this with someone who'd like to read this

Recent Posts

How to update DirectAdmin

Updating DirectAdmin is necessary to ensure that your system has the most recent security updates. If you have an unmanaged VPS or dedicated server, you will probably

Read More

How to update AlmaLinux

Like any other distribution, it’s important to update your AlmaLinux system. By keeping your AlmaLinux system up to date, you will be sure to have the latest

Read More