Failed to commit transaction du use add/remove software

hello
when i want to update my software in add/remove software i get this
failed to commit transaction
failed to run transaction hooks
how can i fix that?

We need more detailed output of the issue please.

3 Likes

first i am opening add/remove software from menu
then as an exam search gimp then click on install >apply>
choos optional dependencies for gimp>click on one of them >choos>password>transaction summary windows opend>apply> failed to commit transaction windows opend in this windows>failed to run transaction hooks>close

sorry for that i am not allow to send pic

That still doesn't tell more about what's happening.
Install it via Pacman and paste the output here

sudo pacman -Syu gimp
4 Likes

Total (367/367) 2033.7 MiB 3.06 MiB/s 11:06 [------------------------------------] 100%
error: failed retrieving file 'dxvk-mingw-git-1.9.2.r7.gc8341e4b-1-x86_64.pkg.tar.zst' from geo-mirror.chaotic
.cx : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'firedragon-92.0.1-1-x86_64.pkg.tar.zst' from geo-mirror.chaotic.cx : Operation
too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'lxc-git-4.0.0.r2044.g6187bcb81-1-x86_64.pkg.tar.zst' from geo-mirror.chaotic.cx
: Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from geo-mirror.chaotic.cx, skipping for the remainder of this transaction
error: failed retrieving file 'game-devices-udev-0.15-1-any.pkg.tar.zst' from geo-mirror.chaotic.cx : Operatio
n too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'dxvk-mingw-git-1.9.2.r7.gc8341e4b-1-x86_64.pkg.tar.zst' from cdn-mirror.chaotic
.cx : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'firedragon-92.0.1-1-x86_64.pkg.tar.zst' from cdn-mirror.chaotic.cx : Operation
too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'lxc-git-4.0.0.r2044.g6187bcb81-1-x86_64.pkg.tar.zst' from cdn-mirror.chaotic.cx
: Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from cdn-mirror.chaotic.cx, skipping for the remainder of this transaction
error: failed retrieving file 'gamehub-0.16.1.2-1-x86_64.pkg.tar.zst' from cdn-mirror.chaotic.cx : Operation t
oo slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'game-devices-udev-0.15-1-any.pkg.tar.zst' from cdn-mirror.chaotic.cx : Operatio
n too slow. Less than 1 bytes/sec transferred the last 10 seconds
(592/592) checking keys in keyring [------------------------------------] 100%
(592/592) checking package integrity [------------------------------------] 100%
error: spdlog: signature from "Brett Cornwall [email protected]" is unknown trust
:: File /var/cache/pacman/pkg/spdlog-1.9.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PG
P signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

and when i try Update PGP Keys with ```
sudo pacman --sync --needed archlinux-keyring


[sudo] password for hassan:
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20210902-1

Total Installed Size:  1.35 MiB
Net Upgrade Size:      0.02 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...
Another instance of this application is running (PID=6207)
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

have you tried

upd

in terminal

2 Likes

thank you my problem solved i just make timeshift a back up and then my update run well!

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