Error installing ncrack package

(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.

Hello there,
We have a post template for a reason, please add the missing information.

4 Likes
sudo pacman -S ncrack
[sudo] password for kali:
resolving dependencies...
looking for conflicting packages...

Packages (1) ncrack-0.7-3

Total Installed Size:  1.32 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) 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.

Hello Garuda users.

Please read the following template before requesting assistance:

Please post the terminal/konsole input and output as text (no pictures) from the following command:

garuda-inxi

Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).

Before opening a new help request, please search the Arch and Garuda Wiki's, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum's search engine and on the web. For in depth information on how to search for answers to Linux issues effectively, read the tips on the Garuda Wiki:

Please report in detail everything you have already attempted to solve your problem.

The template above should be deleted before posting your help request.

4 Likes

Or just ask (Copyright (C) 2021" Wes Barnett

IDK :smiley:


If you have at least supplied your garuda-inxi, you can edit your post, I’ll open the thread again in
Unsupported Software (AUR & Other) .

1 Like

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