[Fedora-packaging] checking digest of one file

Aaron Hanson a.hanson at f5.com
Mon May 9 21:50:41 UTC 2011


Yes! Thanks Rex for the clue.

Solution:

[user at host]$ prelink -y /bin/ls |sha256sum
def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e  -
[user at host]$ rpm -q --dump coreutils |grep bin/ls
/bin/ls 109208 1288784582 def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e 0100755 root root 0 0 0 X

-Aaron
________________________________________
From: packaging-bounces at lists.fedoraproject.org [packaging-bounces at lists.fedoraproject.org] on behalf of Rex Dieter [rdieter at math.unl.edu]
Sent: Monday, May 09, 2011 12:08 PM
To: packaging at lists.fedoraproject.org
Subject: Re: [Fedora-packaging] checking digest of one file

On 05/09/2011 01:55 PM, Aaron Hanson wrote:
> Hi All -
>
> I can't figure out how to see and validate a specific file digest on my Fedora 14 system; I think I must be missing something simple.
>
> Here's a quick example of what I'm trying to do:
>
> [user at host]$ rpm -q --dump coreutils |grep bin/ls
> /bin/ls 109208 1288784582 def61ac5ca608ba6f41eb08aa3eaa0b2274a67512938030830051d792fb3946e 0100755 root root 0 0 0 X
> [user at host]$ sha256sum /bin/ls
> 881282512562ad22095371f0865be66f5424b7590e6c73eb15aae884cf9edd1c  /bin/ls
>
> Why doesn't the digest match? 'rpm' says the package is fine:


prelink?  (something which rpm handles).

-- Rex
--
packaging mailing list
packaging at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


More information about the packaging mailing list