SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: Oulik on September 16, 2023, 05:56:56 PM

Title: [solved] sudo dpkg –configure -a throws error after upgrading sparky 7 to 8
Post by: Oulik on September 16, 2023, 05:56:56 PM
During the upgrading from sparky 7 to sparky 8 the system got stuck at 93%
sudo dpkg –configure -a throws me an error.
What can I do?
Title: Re: sudo dpkg –configure -a throws error after upgrading sparky 7 to 8
Post by: pavroo on September 17, 2023, 02:48:53 PM
What error? An output from your terminal should be nice.
Title: Re: sudo dpkg –configure -a throws error after upgrading sparky 7 to 8
Post by: Oulik on September 18, 2023, 03:09:36 AM
Hi Pavroo.

I eventually fixed it by doing the following:

To fix broken packages on Debian-based distributions using APT:
1. Open the terminal by pressing Ctrl + Alt + T on your keyboard and enter:
sudo apt --fix-missing update
2. Update your system's package list from the available sources:
sudo apt update
3. Now, force the installation of the broken packages using the -f flag. APT will
automatically search for broken packages on your system and reinstall them from the
official repository.
sudo apt install -f

Source:
https://www.makeuseof.com/how-to-find-and-fix-broken-packages-on-linux/

That did the trick, and it went on from where it stopped.