Problem: System Diagnotic Shows Package Status Corrupt Warning

Problem

System diagnostic shows a package status corrupt warning.

Solution

Step 1

Try to fix automatically and get further details about the corrupted package:

root@host:~# dpkg --configure -a
root@host:~# dpkg --audit
The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:
firefox-esr          Mozilla Firefox web browser - Extended Support Release (E

Step 2

Remove the corrupted package and re-install it by

apt remove firefox-esr
apt install firefox-esr

Step 3

If still not fixed and the package is unneeded, simply remove it by

apt remove firefox-esr