Recovering Ubuntu After a Force-Quit Interrupts the 24.04 to 26.04 Release Upgrade

Abstract: A force-quit during Ubuntu's 24.04 to 26.04 upgrade leaves thousands of packages unpacked but unconfigured. Resume with dpkg --configure -a, fix dependencies, then finish with apt-get dist-upgrade.

Created: 2026-11-02 by

A half-finished release upgrade is recoverable without reinstalling. Force-quitting the frozen updater left roughly two thousand packages unpacked but unconfigured, which is why the graphical tools now hang while the terminal reports a massive backlog of pending upgrades. Resume the interrupted work with sudo dpkg --configure -a, repair any dependency damage with sudo apt-get install -f, then complete the move to 26.04 with sudo apt-get dist-upgrade. Avoid rebooting until the configuration phase finishes.

What force-quitting actually did

Debian-style package management happens in two phases. First dpkg unpacks each .deb archive onto disk; afterwards it configures the packages by running their post-installation scripts and triggers. A release upgrade unpacks and configures thousands of packages, so for a long stretch the system is intentionally in a mixed state.

The dialog you force-quit was the graphical frontend, not the package manager itself. A window reporting that "Resolute" (the 26.04 codename) is not responding usually means a background script or a configuration-file prompt blocked the updater's event loop. Killing the window stopped the upgrade midway: packages half-installed, dependencies unresolved, the release only partly switched.

You can confirm this from a terminal:

dpkg --audit
apt list --upgradable | wc -l

The first command lists packages stranded between unpacked and configured. The second shows how much of the upgrade is still pending. The graphical Software Updater hangs because it cannot cope with this inconsistent state; apt in a terminal can.

Step 1: finish configuring the half-installed packages

Run these two commands in sequence and let each one run to completion:

sudo dpkg --configure -a
sudo apt-get install -f

dpkg --configure -a walks through every package that was unpacked but never configured and finishes the job: post-installation scripts, triggers, and database entries. With a backlog this large it can run for well over half an hour. As long as the disk is busy it is making progress, so do not interrupt it.

apt-get install -f then repairs whatever dependency breakage remains, installing or removing packages until the system is consistent again. If either command reports a specific package failing, note its name for the troubleshooting step below.

Step 2: complete the upgrade to 26.04

Once dpkg has no pending work, refresh the package lists and finish the release transition:

sudo apt update
sudo apt-get dist-upgrade

A plain apt upgrade never installs new packages or removes old ones, which is not enough for a release upgrade where dependencies change wholesale. dist-upgrade (equivalently apt full-upgrade) is allowed to add and remove packages, so it pulls in whatever the 26.04 package set requires. Keep your existing configuration files when prompted unless you have a reason to take the packaged default.

When it finishes, reboot and verify the result:

lsb_release -a

It should report 26.04, and the list of upgradable packages should be nearly empty.

If the recovery stalls

  • Disk space. Run df -h. A release upgrade needs several gigabytes free on the root filesystem; clear old kernels and cached archives with sudo apt autoremove and sudo apt clean if space is tight.
  • Third-party repositories. PPAs built for 24.04 can block the transition. Disable them in Software & Updates or move the files in /etc/apt/sources.list.d/ aside, then re-run the recovery commands.
  • One stubborn package. If dpkg --configure -a keeps failing on the same package, check /var/log/dpkg.log for the exact error, then try sudo apt-get install --reinstall <package>, or remove that package and re-run the recovery.
  • Non-interactive run. If repeated configuration-file prompts get in the way, sudo apt-get -o Dpkg::Options::="--force-confold" dist-upgrade keeps your existing files instead of asking, though you lose the chance to review each change.
  • Unusable desktop. Switch to a text console with Ctrl+Alt+F3 and run the recovery there; the package tools do not need a GUI.

Preventing a repeat next time

  • Run release upgrades from a terminal with sudo do-release-upgrade inside tmux or screen. If the window or session dies, the upgrade survives and you can reattach to it.
  • Never force-quit an upgrade. Switch to another console and inspect what is actually running with ps aux | grep -E 'apt|dpkg' before deciding the process is stuck.
  • Do the pre-flight work: fully update 24.04, reboot, free disk space, take a backup, and disable third-party repositories before starting.

Frequently Asked Questions

Is it dangerous if the machine was rebooted during the upgrade?

Not fatal, but finish the pending configuration before rebooting whenever you can. A half-configured system may come up without a display manager or network. If a reboot already happened, log into a text console and run the same recovery commands.

Why dist-upgrade instead of apt upgrade?

apt upgrade only updates packages whose dependencies are already satisfied. A release upgrade changes dependencies wholesale, so packages must be added and removed; dist-upgrade or full-upgrade is what permits that.

How long should dpkg --configure -a take?

Anywhere from minutes to over an hour with a two-thousand-package backlog. Watch disk activity or tail /var/log/dpkg.log to confirm it is still making progress.

How do I confirm I am actually on 26.04 now?

Run lsb_release -a or read /etc/os-release. Also check that apt list --upgradable is short and that sudo apt update completes without errors.

Can I just wipe and reinstall instead?

Only if recovery fails after the steps above. In practice, resuming the configuration and finishing with dist-upgrade resolves the vast majority of interrupted upgrades while preserving your files and installed applications.

Should I use the graphical updater for the next release?

It works, but it hides what is happening and offers only Wait or Force Quit when a dialog stalls. A terminal upgrade with do-release-upgrade inside tmux gives you logs, prompts, and a session that survives accidents.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More