Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Resuming Stopped Apt Updates

Published on

Updated on

Warning: This post has not been modified for over 2 years. For technical posts, make sure that it is still relevant.

Especially on the Raspberry Pi, it is quite often for me to lose connection while updating. I know some people setup screen or tmux sessions so that they can easily reconnect. I’m not good at remembering to do this. Angus and Cas on StackExchange shared that to resume a stopped update…

sudo kill $(pgrep dpkg)
sudo dpkg --configure --pending
sudo apt install -f

Which will then configure the packages that have already been installed but not configured yet and finish installing packages.

Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter

Published a response to this? :