"Failed to commit transaction" error during routine update

I’m new to Manjaro (Gnome Ed.). After a notice that there was an update, I opened the Pamac Gui and ran update. The update failed with message “Failed to commit transaction”. No other info was provided. I did a search on the Manjaro Forums for the error and followed a suggestion in one of the posts I read.

This resulted in:
gort-prime% sudo pacman-mirrors -f && sudo pacman -Syyu
[sudo] password for louis:

APP_DIR /usr/share
LOCALE_DIR /usr/share/locale
LOCALE en_US

::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
0.528 United_States : FCIX Micro Mirror
0.288 United_States : FCIX Micro Mirror
0.253 United_States : FCIX Micro Mirror
0.189 United_States : FCIX Micro Mirror
0.308 United_States : FCIX Micro Mirror
0.526 United_States : FCIX Micro Mirror
0.566 United_States : FCIX Micro Mirror
0.169 United_States : FCIX Micro Mirror
0.155 United_States : FCIX Micro Mirror
0.613 United_States : FCIX Micro Mirror
0.534 United_States : Index of /manjaro/
0.517 United_States : FCIX Micro Mirror
0.286 United_States : FCIX Micro Mirror
0.548 United_States : FCIX Micro Mirror
0.146 United_States : FCIX Micro Mirror
0.360 United_States : FCIX Micro Mirror
::INFO Writing mirror list
::United_States : https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://volico.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : http://mirror.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
::United_States : https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases…
core 145.2 KiB 995 KiB/s 00:00 [#########################################] 100%
extra 8.6 MiB 20.9 MiB/s 00:00 [#########################################] 100%
community 29.0 B 1450 B/s 00:00 [#########################################] 100%
multilib 145.3 KiB 5.25 MiB/s 00:00 [#########################################] 100%
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…

Packages (2) gnome-shell-extension-gtk4-desktop-icons-ng-1:68-1 pacman-mirrors-4.24.1-1

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

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [#########################################] 100%
downloading required keys…
:: Import PGP key 150C200743ED46D8, “Mark Wagie mark@manjaro.org”? [Y/n]
error: key “150C200743ED46D8” could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
gort-prime%

I also looked at the “Preferences” section of the Updater’s GUI and the mirror was changed from “United States” to “Worldwide”. Every time I change it to “United States” it reverts to “Worldwide”. I also tried clearing the cache with no success, as well as a restart to see if the update would succeed on a system restart, but that didn’t work either.

This is beyond by knowledge to resolve. Assistance is greatly appreciated.

Theres more info.

PS.

Doesnt exist anymore.
(this is also indicative of not handling pacnews in general)

Not really :wink:

downloading required keys…
:: Import PGP key 150C200743ED46D8, “Mark Wagie [mark@manjaro.org](mailto:mark@manjaro.org)”? [Y/n]
error: key “150C200743ED46D8” could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)

failed for missing/outdated key -
update … something
I’m not on Arch/Manjaro and have not been for a while.

search for how to resolve key / kerying issues

ps:
@cscs is likely much closer with his advice than I was - we posted at almost the same time

Additionally, you could tidy your post for better readability; by placing the output in an appropriate preformatted text container; simply add three backticks ( ``` ) as indicated here:

This resulted in:
```
gort-prime% sudo pacman-mirrors -f && sudo pacman -Syyu

Errors occurred, no packages were upgraded.
gort-prime%
```
I also looked at the …

This formatting results in:

gort-prime% sudo pacman-mirrors -f && sudo pacman -Syyu
...
Errors occurred, no packages were upgraded.
gort-prime%

I also looked at the …

See also How to post command output and file content as Formatted Text.

Thanks to all who responded. :smiley:
I believe my problem occurred when I performed the most recent upgrade to Gnome 45.1. When I performed that update, I hadn’t disabled all of the pre 45 gnome extensions. This was mandatory before performing the update. When I rebooted this caused a problem which I previously posted about in another section of this forum and which I thought I had resolved. Apparently I was wrong and I believe that’s why I experienced this key ring problem when I tried to perform the next update which included a gnome extension update.

Anyway, I think I have solved the problem by following ALL of the steps outlined in this well written HOWTO: [HowTo] Solve Keyring Related Issues in Manjaro.

1 Like

Perhaps next time you post, you could follow the steps outlined in the equally well written “How to post command output and file content as Formatted Text”. :slight_smile:

In any case, it’s good to know your issue is resolved. Cheers.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.