System update interrupted by network outage

Using Ubuntu-Mate 24.04.1

This morning I was offered a system update but it was interrupted by my wi-fi going down for a moment and then was offered a partial-distribution-upgrade which was also interrupted.I switched over to a wired connection and now when trying to update via GUI I’m hit with the message:

Waiting for do-partial-upgr to exit

Or when updating via CLI this message:

Could not get lock /var/lib/apt/lists/lock. It is held by process 13356 (do-partial-upgr)

and it just hangs there until I forcequit the GUI or close the terminal.

Entering this command in terminal,as suggested on another site,killed the process and I was able to update normally.
sudo kill -9 13356

1 Like