Problem with package

Thanks this topic made me understand the thing, but how should I delete the file?

I tried this in terminal:


╭─[email protected] in ~
╰─λ rm name-that-hash-1.6.0.tar.gz
rm: cannot remove 'name-that-hash-1.6.0.tar.gz': No such file or directory

╭─[email protected] in ~ took 2ms
[🔴] × sudo rm -r name-that-hash-1.6.0.tar.gz
[sudo] password for imrtls00:
rm: cannot remove 'name-that-hash-1.6.0.tar.gz': No such file or directory

╭─[email protected] in ~ took 2s
[🔴] × sudo rm -r python-name-that-hash-1.6.0.tar.gz
rm: cannot remove 'python-name-that-hash-1.6.0.tar.gz': No such file or directory

╭─[email protected] in ~ took 19ms
[🔴] ×

I was trying to install Ciphey (a decryption tool)
Everything else ran fine, until this...

Building python-name-that-hash...
==> Making package: python-name-that-hash 1.6.0-4 (Tue 27 Jul 2021 07:47:52 PM PKT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found name-that-hash-1.6.0.tar.gz
==> Validating source files with md5sums...
    name-that-hash-1.6.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-name-that-hash

then I tried installing "name-that-hash" manually:

╭─[email protected] in ~ 
╰─λ sudo pacman -S name-that-hash-1.6.0.tar.gz
[sudo] password for imrtls00:       
error: target not found: name-that-hash-1.6.0.tar.gz

╭─[email protected] in ~ took 2s
[🔴] × sudo pacman -S name-that-hash
error: target not found: name-that-hash

╭─[email protected] in ~ took 306ms
[🔴] × pip install name-that-hash
Defaulting to user installation because normal site-packages is not writeable
Collecting name-that-hash
Downloading name_that_hash-1.10.0-py3-none-any.whl (29 kB)
Requirement already satisfied: click<9.0.0,>=7.1.2 in /usr/lib/python3.9/site-packages (from name-that-hash) (8.0.1)
Requirement already satisfied: rich<11.0,>=9.9 in /usr/lib/python3.9/site-packages (from name-that-hash) (10.5.0)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /usr/lib/python3.9/site-packages (from rich<11.0,>=9.9->name-that-hash) (2.9.0)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /usr/lib/python3.9/site-packages (from rich<11.0,>=9.9->name-that-hash) (0.9.1)
Requirement already satisfied: colorama<0.5.0,>=0.4.0 in /usr/lib/python3.9/site-packages (from rich<11.0,>=9.9->name-that-hash) (0.4.4)
Installing collected packages: name-that-hash
WARNING: The scripts name-that-hash and nth are installed in '/home/imrtls00/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed name-that-hash-1.10.0

╭─[email protected] in ~ took 3s
╰─λ

It's been a month I transferred from windows, so if I'm making any basic mistake apologies in advance... :yum:

Also, I'm trying to download Ciphey to decrypt this file https://drive.google.com/file/d/1rFK0jGIIcFEaiZnrWQ-uhFH1CWdctMqd/view?usp=sharing . My friend recently faced a ransomware attack. All his files are encrypted, so if you any other method, I'll be grateful...

This is because the file is not in the current directory. cd to the directory containing the file, then try again.

3 Likes

I don't know where to look for, I tried searching in every directory in sda1 (my SSD in which Garuda is installed) I used Dolphin to search but there is no file named "name-that-hash"

man find
python-name-that-hash
1 Like

Thanks, I found it, in my case, it was /var/tmp/pamac-build-imrtls00/python-name-that-hash/ here

But deleting didn't worked...

Cloning python-name-that-hash build files...

Building python-name-that-hash...
==> Making package: python-name-that-hash 1.6.0-4 (Tue 27 Jul 2021 10:15:24 PM PKT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading name-that-hash-1.6.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

100 25558  100 25558    0     0  12518      0  0:00:02  0:00:02 --:--:-- 12518
100 25558  100 25558    0     0  12516      0  0:00:02  0:00:02 --:--:--     0
==> Validating source files with md5sums...
    name-that-hash-1.6.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-name-that-hash

As jonathon said I E-mailed the Maintainer: Machina [email protected] of this python-name-that-hash package about issue...
AUR Package page: AUR (en) - python-name-that-hash

Update:
Screenshot_43
Found this at the end of AUR package page...

Installing Ciphey through

$ python3 -m pip install ciphey --upgrade

works well.

1 Like

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