I updated a little earlier this week, and I went to do an update today and now I am getting the following errors during an update:
:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring [###########################################] 100%
(2/2) checking package integrity [###########################################] 100%
(2/2) loading package files [###########################################] 100%
(2/2) checking for file conflicts [###########################################] 100%
(2/2) checking available disk space [###########################################] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
File "/usr/share/libalpm/scripts/snap-pac", line 40
f"--config {config} create",
^
SyntaxError: invalid syntax
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
I tried with both sudo pacman -Syu
and sudo pamac upgrade -a
I have never altered the snap-pac config so I am unsure why this started throwing errors today preventing me from updating my system or installing new packages.