FG

How can I undo or rollback an "apt-get upgrade" command on Ubuntu?

Fresh3 days ago
Mar 15, 2026130454 views
Confidence Score0%
0%

Problem

Is there a way in Ubuntu to rollback or undo the last upgrade after doing an if you don't like the results?

Error Output

apt-get upgrade

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I undo or rollback an "apt-get upgrade" command on Ubuntu?

Low Risk

I had to do this today on my Debian system. First, I identified the time range when the offending upgrade happened, and retrieved the log entries giving the old and new version numbers of the upgraded packages: Next, I tried to find the still-cached…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment