"Failed to install important system update error"

Hello.

I just installed Zorin 17 and everything was going smooth. After my first reboot though I'm now getting a failed to install important system update error on every start up.

I get these details from the software manger

Detailed errors from the package manager follow:

failed to build result for a45df35ac0e948ee180fe216a5f703f32dda163f

Is there way to find out what the package is, and how to resolve this? really appreciate a response

How did you manage to upgrade considering the lack of an upgrade tool? :thinking:

Sorry for the confusion, i changed the wording. I was previously on 16.3 and just installed 17 so it was like a "upgrade" to me lol.

Ah, no worries. :blush: Unfortunately, I still have to switch to 17, so I cannot help you there—maybe one of the other members can chime in on your problem.

This looks like a Snap Issue in combination with the Gnome Software store.

Can you kill snapd and Software store,

killall gnome-software snapd gnome-software-plugin-snap

rm -rf ~/.cache/gnome-software

sudo apt install --reinstall fwupd gnome-software gnome-software-plugin-snap

snap refresh

Launch Gnome Software or Software updater (The update depends on Gnome Software) and test...

I have exactly the same message which started showing up on every startup after a successful BIOS update. I tried the snap refresh suggestion above, and that did not fix it. I might have a new (unwanted?) snap installation now however.

d7400@d7400:~$ killall gnome-software snapd gnome-software-plugin-snap
snapd(23152): Operation not permitted
snapd: no process found
gnome-software-plugin-snap: no process found
d7400@d7400:~$ ^[[200~rm -rf ~/.cache/gnome-software~
rm: command not found
d7400@d7400:~$ rm -rf ~/.cache/gnome-software
d7400@d7400:~$ sudo apt install --reinstall fwupd gnome-software gnome-software-plugin-snap
[sudo] password for d7400:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 5 not upgraded.
Need to get 3,336 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 Index of /ubuntu jammy-updates/main amd64 fwupd amd64 1.7.9-1~22.04.3 [2,562 kB]
Get:2 Index of /zorinos/patches/ubuntu jammy/main amd64 gnome-software-plugin-snap amd64 45.2-1+zorin4 [41.6 kB]
Get:3 Index of /zorinos/patches/ubuntu jammy/main amd64 gnome-software amd64 45.2-1+zorin4 [733 kB]
Fetched 3,336 kB in 2s (1,511 kB/s)
(Reading database ... 226188 files and directories currently installed.)
Preparing to unpack .../fwupd_1.7.9-1~22.04.3_amd64.deb ...
Unpacking fwupd (1.7.9-1~22.04.3) over (1.7.9-1~22.04.3) ...
Preparing to unpack .../gnome-software-plugin-snap_45.2-1+zorin4_amd64.deb ...
Unpacking gnome-software-plugin-snap (45.2-1+zorin4) over (45.2-1+zorin4) ...
Preparing to unpack .../gnome-software_45.2-1+zorin4_amd64.deb ...
Unpacking gnome-software (45.2-1+zorin4) over (45.2-1+zorin4) ...
Setting up gnome-software (45.2-1+zorin4) ...
Setting up fwupd (1.7.9-1~22.04.3) ...
fwupd-offline-update.service is a disabled or a static unit not running, not sta
rting it.
fwupd-refresh.service is a disabled or a static unit not running, not starting i
t.
fwupd.service is a disabled or a static unit not running, not starting it.
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Setting up gnome-software-plugin-snap (45.2-1+zorin4) ...
d7400@d7400:~$ snap refresh
All snaps up to date.

If you do not use or want Snap, you can remove any Snap Packages that you have installed with Snap, then run

sudo apt remove --purge snapd

Do you use Flatpak Packages?
If Yes, you may need to run

flatpak update

in terminal.

flatpak update resulted in 'nothing to do'
I haven't noticed any problems, but continue to get this message on every boot.

Detailed errors from the package manager follow:
failed to build result for a45df35ac0e948ee180fe216a5f703f32dda163f

Can you please try:

fwupdmgr refresh

fwupdmgr get-updates

This is normally related to a firmware upgrade. The firmware upgrade is OK but the error gets reported anyway.

If you search for a file containing the text <UID> in /var using grep, for example:
sudo grep -rnw /var/ -e '570d24e21cec6aadc4c7019ea2d7cfc16c22191b'

you will more than likely find /var/lib/fwupd/pending.db. Deleted this file and restart. The message will then be gone.

5 Likes

I cannot delete this file? delete is not an option. How do i have to fix this issue?

The /var directory is in Root so a user must elevate to root in order to delete or modify a file there.

sudo -i

Launch file manager (core or Pro)

nautilus

(Lite or Pro Lite)

thunar

Then navigate to /var/lib/fwupd/ and right click thje pending.db file to delete it.

1 Like

Thanks so much a67016188!

sudo rm pending.db worked for me!

1 Like

Thanks this works perfect!

1 Like

Not limited to Zorin, is actually a very widespead issue. Of no real consequence. There will be a backport eventually. Just Google the string.

Seeing this also. Zorin 17. Tried a few update, refresh commands but still happens on reboot. Will update here if I find something that works.

1 Like

Hi. Im a total beginner. I see a few people saying that something worked here for them with this.

I tried the commands but this is what I got....doesn't seem to look good haha! What am I not getting right?

admin@user11-ThinkPad-P15-Gen-1:~$ killall gnome-software snapd gnome-software-plugin-snap
snapd(773): Operation not permitted
snapd: no process found
gnome-software-plugin-snap: no process found
admin@user11-ThinkPad-P15-Gen-1:~$ rm -rf ~/.cache/gnome-software
admin@user11-ThinkPad-P15-Gen-1:~$ sudo apt install --reinstall fwupd gnome-software gnome-software-plugin-snap
[sudo] password for admin:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
nvidia-firmware-535-535.161.07
Use 'sudo apt autoremove' to remove it.
0 to upgrade, 0 to newly install, 3 reinstalled, 0 to remove and 9 not to upgrade.
Need to get 3,339 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 Index of /ubuntu jammy-updates/main amd64 fwupd amd64 1.7.9-1~22.04.3 [2,562 kB]
Get:2 Index of /zorinos/patches/ubuntu jammy/main amd64 gnome-software-plugin-snap amd64 45.3-2ubuntu1+zorin1 [42.2 kB]
Get:3 Index of /zorinos/patches/ubuntu jammy/main amd64 gnome-software amd64 45.3-2ubuntu1+zorin1 [735 kB]
Fetched 3,339 kB in 1s (4,811 kB/s)
(Reading database ... 287187 files and directories currently installed.)
Preparing to unpack .../fwupd_1.7.9-1~22.04.3_amd64.deb ...
Unpacking fwupd (1.7.9-1~22.04.3) over (1.7.9-1~22.04.3) ...
Preparing to unpack .../gnome-software-plugin-snap_45.3-2ubuntu1+zorin1_amd64.de
b ...
Unpacking gnome-software-plugin-snap (45.3-2ubuntu1+zorin1) over (45.3-2ubuntu1+
zorin1) ...
Preparing to unpack .../gnome-software_45.3-2ubuntu1+zorin1_amd64.deb ...
Unpacking gnome-software (45.3-2ubuntu1+zorin1) over (45.3-2ubuntu1+zorin1) ...
Setting up gnome-software (45.3-2ubuntu1+zorin1) ...
Setting up fwupd (1.7.9-1~22.04.3) ...
fwupd-offline-update.service is a disabled or a static unit not running, not sta
rting it.
fwupd-refresh.service is a disabled or a static unit not running, not starting i
t.
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libglib2.0-0:i386 (2.72.4-0ubuntu2.2) ...
Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Setting up gnome-software-plugin-snap (45.3-2ubuntu1+zorin1) ...
admin@user11-ThinkPad-P15-Gen-1:~$ snap refresh
All snaps up to date.
admin@user11-ThinkPad-P15-Gen-1:~$ fwupdmgr refresh
Firmware metadata last refresh: 2 hours ago. Use --force to refresh again.
admin@user11-ThinkPad-P15-Gen-1:~$ fwupdmgr get-updates
Devices with no available firmware updates:
• Thunderbolt host controller
• UEFI Device Firmware
• UEFI Device Firmware
• UEFI Device Firmware
• UEFI dbx
Devices with the latest available firmware version:
• Embedded Controller
• Intel Management Engine
• KXG6APNV2T04 TOSHIBA
• Prometheus
• Prometheus IOTA Config
• SKHynix HFS001TD9TNI-L2B0B
• System Firmware


Devices that have been updated successfully:

• System Firmware (0.1.36 → 0.1.37)

Uploading firmware reports helps hardware vendors to quickly identify failing and successful updates on real devices.
Upload report now? (Requires internet connection) [Y|n]:
n

Do you want to disable this feature for future updates? [y|N]:
n
Declined upload
admin@user11-ThinkPad-P15-Gen-1:~$ sudo -i
root@user11-ThinkPad-P15-Gen-1:~# nautilus

(org.gnome.Nautilus:19214): libunity-CRITICAL **: 12:10:19.707: file unity-launcher.c: line 1638: unexpected error: Failed to execute child process “dbus-launch” (No such file or directory) (g-exec-error-quark, 8)

(org.gnome.Nautilus:19214): libunity-CRITICAL **: 12:10:19.707: unity_launcher_entry_dbus_impl_construct: assertion 'conn != NULL' failed

(org.gnome.Nautilus:19214): libunity-CRITICAL **: 12:10:19.710: unity-inspector.vala:96: Unable to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)

(org.gnome.Nautilus:19214): dconf-WARNING **: 12:10:19.865: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)

(org.gnome.Nautilus:19214): dconf-WARNING **: 12:10:19.865: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
Traceback (most recent call last):
File "/usr/share/nautilus-python/extensions/nautilus-zorin-connect.py", line 91, in _init_async
proxy = proxy.new_for_bus_finish(res)
gi.repository.GLib.GError: g-exec-error-quark: Failed to execute child process “dbus-launch” (No such file or directory) (8)

** (org.gnome.Nautilus:19214): WARNING **: 12:10:20.053: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory

** (org.gnome.Nautilus:19214): WARNING **: 12:10:20.053: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory

** (org.gnome.Nautilus:19214): CRITICAL **: 12:10:20.110: update_dbus_opened_locations: assertion 'dbus_object_path' failed

(org.gnome.Nautilus:19214): dconf-WARNING **: 12:10:20.110: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
Nautilus-Share-Message: 12:10:20.161: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
thunar
^CTraceback (most recent call last):
File "/usr/share/nautilus-python/extensions/folder-color.py", line 164, in get_file_items
def get_file_items(self, window, items):
KeyboardInterrupt

In case its easier to zoom into this:

I think we need more information about what you are trying to solve and what you are trying to do? Do you have a error like "failed to install important system update" after every reboot? If so, the only thing you need to do is this:

sudo rm /var/lib/fwupd/pending.db

I did read all your output, and it confuses me about what you are trying to do?