Sorry that this is coming in bits and pieces.  It looks to me that -c
option is used when verifying the checksum file.

[ Downloads]$ sha256sum -c  ossec-hids-2.8.3.tar.gz.*sha256 *
ossec-hids-2.8.3.tar.gz: OK

I don't think that the actual program tar file contains a checksum (hence
the error) and you use the command without any options to *calculate *a sum
that you compare to the checksum file that you download separately.

[ Downloads]$ sha256sum ossec-hids-2.8.3.tar.gz
917989e23330d18b0d900e8722392cdbe4f17364a547508742c0fd005a1df7dd
ossec-hids-2.8.3.tar.gz

Natassia


On Wed, Dec 11, 2019 at 7:29 AM Natassia S <[email protected]> wrote:

> Correction, I just noticed that you used the -c option and got the same
> error as you did.  I normally run sha256sum without any flags.
>
> Natassia
>
> On Wed, Dec 11, 2019 at 7:27 AM Natassia S <[email protected]> wrote:
>
>> I'm not sure why you got the error.  I ran the sha256sum on the same file
>> on a CentOS 8 box, got the same checksum and no errors.  I'm guessing that
>> you already tried downloading a fresh copy?
>>
>> Natassia
>>
>> On Wed, Dec 11, 2019 at 3:14 AM karthik s <[email protected]> wrote:
>>
>>> Hello Team,
>>>
>>> When I try to run below command, i'm getting this error. Could someone
>>> help me ASAP.
>>>
>>> ubuntu@ip-x-x-x-x:~$ cat ossec-hids-2.8.3.tar.gz.sha256
>>> SHA256 (ossec-hids-2.8.3.tar.gz) =
>>> 917989e23330d18b0d900e8722392cdbe4f17364a547508742c0fd005a1df7dd
>>> ubuntu@ip-x-x-x-x:~$ sha256sum -c  ossec-hids-2.8.3.tar.gz.sha256
>>> ossec-hids-2.8.3.tar.gz
>>> ossec-hids-2.8.3.tar.gz: OK
>>> sha256sum: ossec-hids-2.8.3.tar.gz: no properly formatted SHA256
>>> checksum lines found
>>> ubuntu@ip-x-x-x-x:~$
>>>
>>> Thanks and Regards,
>>> Karthik
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "ossec-list" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ossec-list/f11e7cea-c4e8-4d22-b7d6-25012db7d5e0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ossec-list/f11e7cea-c4e8-4d22-b7d6-25012db7d5e0%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ossec-list/CAFN5h2%2B6hK-EuBFZ-YzOuOu6yWg5Ao%2B0RiYH7bc9Dq_CKNWb0w%40mail.gmail.com.

Reply via email to