Error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner

following an update, my login screen now has the error -

The current theme cannot be loaded due to the errors below please select another theme
file://usr/share/sddm/themes/breath/Main.qml Type WallpaperFader unavailable

then when i trying doing this: sudo pacman -S polkit-gnome
i get the following error:

warning: polkit-gnome-0.105-10 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) polkit-gnome-0.105-10

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

:: Proceed with installation? [Y/n] y
(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%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling polkit-gnome                                                 [##############################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
**Error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer: startup job failed.**
error: command failed to execute correctly
(3/3) Updating the desktop file MIME type cache...

ive looked around online but cant seem to get this working


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Welcome to the fourm! :wave:

Perhaps switch to a different SDDM theme? Wait, you tagged this post GNOME. Why are you using SDDM? :thinking:

Why do you have packagekit installed?

Warning: PackageKit opens up system permissions by default, and is otherwise not recommended for general usage. See FS#50459 and FS#57943.

pacman/Tips and tricks - ArchWiki

:information_source: Note that I’ve fixed the formatting in your post. :wink: