'Cleanup' skipped in upgrade to 26.04 LTS. How to invoke this now?

Ubuntu Version

Ubuntu 26.04 LTS

Desktop Environment (if applicable)

GNOME

Problem Description

I agreed to the upgrade last night but it took a longer period of time to complete. For this reason my wife skipped the ‘cleanup’ step as the dialog indicated this would take 3-4 hours. Please inform me how I can invoke ‘cleanup’ by any means to remove the unnecessary files from the disk drive.

Relevant System Information

Lenovo X230 was using 24.04 LTS.

This will update sources and show removable packages.

sudo apt update && sudo apt full-upgrade

May I suggest that you run Software Updater and see what it removes. We can also use the terminal.

sudo-rs apt update
sudo-rs apt upgrade
sudo-rs apt autoremove

Some will tell you that the “sudo” prefix still works and that is true. But “sudo-rs” is official and the future. I think it sensible to get use to using what one day be compulsory.

1 Like

I was required to use the terminal commands to resolve this issue.

If the issue is resolved please mark the relevant post as the solution.
It gives credit to the user who helped and tells the community a working solution exists.
The platform software will automatically close the thread to prevent the discussion meandering off-topic in the future.

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.