zzUpdate – Fully Upgrade Ubuntu to Latest Newer Release

zzUpdate is a free, open-source, simple, fully configurable, and easy-to-use command line utility to upgrade an Ubuntu system via an apt package management system.

It is a complete config file-driven shell script that allows you to upgrade your Ubuntu desktop or server hands-off and unwatched for almost the entire process.

It will upgrade your Ubuntu system to the next available release in case of a normal release. For Ubuntu LTS (Long Term Support) releases, it tries to search for the next LTS version only and not the latest Ubuntu version available.

In this article, we will explain how to install and run the zzupdate tool to upgrade an Ubuntu system to the latest available version from the command line.

How to Install zzUpdate Tool in Ubuntu

First, make sure that your system has the git program installed, otherwise, install it using the following command.

sudo apt install git

Now install zzupdate on your Ubuntu system by cloning the latest version from its GitHub repository.

git clone https://github.com/TurboLabIt/zzupdate.git
cd zzupdate
sudo chmod +x zzupdate.sh

Next, create a configuration file named zzupdate.cfg to customize the upgrade process or you can start with the example configuration provided in the repository.

sudo cp zzupdate.default.conf zzupdate.conf
sudo nano zzupdate.conf

Adjust the following default configuration variables (a value of 1 means yes and 0 means no) you will find in this file.

zzUpdate Configuration
zzUpdate Configuration

Before upgrading your Ubuntu system, you can check your current Ubuntu release using the following cat command.

cat /etc/os-release
Check Ubuntu Release Version
Check the Ubuntu Release Version

When you have configured zzupdate to work the way you wish, simply run it to fully upgrade your Ubuntu system with root user privileges. It will inform you of any actions performed.

sudo ./zzupdate.sh

Once you have launched it, zzupdate will self-update via git, update available package information (asks you to disable third-party repositories), upgrade any packages where necessary, and check for a new Ubuntu release.

If there is a new release, it will download the upgrade packages and install them, when the system upgrade is complete, it will prompt you to restart your system.

Fully Upgrade Ubuntu
Fully Upgrade Ubuntu

Once the upgrade is finished, you can verify your Ubuntu release to ensure that the upgrade was successful.

lsb_release -a
OR
cat /etc/os-release

The output will include information about your Ubuntu operating system, kernel, uptime, and more.

Verify Ubuntu Release Version
Verify Ubuntu Release Version

Troubleshooting

If you encounter issues during the upgrade process, here are some common troubleshooting steps:

1. Before running zzUpdate, ensure your system is fully up-to-date:

sudo apt-get update
sudo apt-get upgrade

2. If zzUpdate encounters an error, check the log file (/var/log/zzupdate.log) for detailed information about what went wrong.

sudo nano /var/log/zzupdate.log

3. If there are broken dependencies, you can try to fix them with the following command:

sudo apt-get install -f

4. In some cases, manual intervention may be required. If the script fails, you can manually perform the distribution upgrade:

sudo do-release-upgrade
Conclusion

zzUpdate is a simple and fully configurable command line utility to fully update an Ubuntu system via apt package manager.

In this guide, we have explained how to install and use zzupdate to upgrade an Ubuntu system from the command line. You can ask any questions via the feedback form below.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

8 Comments

Leave a Reply
  1. If zzupdate is an automatic way of upgrading Ubuntu with many steps described in your article, and do-release-upgrade is manual according to your writing, I think you got it wrong. do-release-upgrade automatically performs all the steps to upgrade Ubuntu; you’ll only have to confirm twice with a 'y' (yes) or so along the process.

    Anyway, Ubuntu will not upgrade the LTS version until the first point release (24.04.1) is out, in order to clear most bugs found meanwhile. Ubuntu 24.04.1 will be released next August.

    Reply
    • @Martins,

      Thanks for the clarification! You’re right, do-release-upgrade automates the process and only needs a couple of confirmations.

      Also, good point about Ubuntu LTS versions waiting for the first point release like 24.04.1.

      Reply
    • @Mani,

      Yes, the zzupdate tool should work on Debian as well since it uses the APT package manager, but I haven’t tested it yet.

      Reply
  2. Thanks, but NO. I’ll stick with apt and Synaptic. No need to introduce another layer to the software update process.

    Reply
    • @Dragonmouth,

      Thank you for your feedback. I understand your preference for sticking with familiar tools like apt and Synaptic.

      While zzUpdate offers a streamlined way to fully upgrade Ubuntu to the latest release, it’s entirely optional and meant to provide an alternative for those who find it convenient.

      Reply
  3. I was trying to install zzUpdate in my Ubuntu 15.04 version OS. To do so, while installing ‘curl’ I get the following massage:

    E: package curl has no installation candidate

    Any solution?

    Reply
    • @Sumit,

      Try to change the mirror server to main server.

      Open System settings > Software & Updates > Ubuntu Software > and make sure to select all sources (main, universe, restricted, and multiverse) and select download from the Main server.

      Now try again sudo apt-get update && sudo apt-get install curl

      Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.