Error on qube update: suggests "manually run 'dpkg --configure -a'". Is this to be believed?

I ran Qubes Updater (twice) and the update failed. It suggests I run a dpkg command, but I want to know if that is safe for my system - is that properly a Qubes message for a Qubes system?

Partial output:

ID: update
      Function: pkg.uptodate
        Result: False
       Comment: Problem encountered upgrading packages. Additional info follows:
                
                result:
                    ----------
                    pid:
                        1765
                    retcode:
                        100
                    stderr:
                        Running scope as unit: run-rb60848abed094debbb4c48090ef4ba34.scope
                        E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
                    stdout:
       Started: 15:10:09.182218
      Duration: 19601.068 ms
       Changes:   

I have to do that once in a while.

Qubes Updater uses dpkg, sometimes the database gets corrupted, which is why you need to manually run the command.

So where are you running it [edit - i.e. the command]? I just tried it in dom0 and bash told me dpkg was not found.

In the terminal of the template that failed.

perfect, thanks.