Arming ConditionNeedsUpdate

I’m running KDE unstable on an RPI-5.
I just ran:

sudo pacman -Syu

There was one package to update, “raspberrypi-utils-20241118-1”.

The installation has stopped with the notification:

(2/2) Arming ConditionNeedsUpdate…

and has not completed.

Is this a problem?

1 Like

No problem here on XFCE:

Packages (1) raspberrypi-utils-20241118-1

Total Installed Size:  1.25 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) reinstalling raspberrypi-utils               [######################] 100%
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Refreshing PackageKit...
(4/4) Checking which packages need to be rebuilt
[ray@jellyfin packages]$ 

Didn’t get to

Refreshing PackageKit…

Should I just CTRL-C and hope for the best?

Looks like yours had 2/2 while mine had 2/4 processes to do at that point. I have more stuff installed than you do. I would try CTRL-C and and re-install the package and see if the process will complete.

Oops. Now I get:

error: failed to synchronize all databases (unable to lock database)

How do I get out of this situation?

sudo rm /var/lib/pacman/db.lck

1 Like

Thanks. Now it gives “there is nothing to do”.

I also checked the list of packages, and the updated package is there. Thanks for your help.

Packagekit is actively buggy as well as a security problem.

You should probably not have anything related to it installed.