Re: Syntax to check md5sum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

Thanks for your advice.

$ rpm -Kv shorewall-1.4.7-1.noarch.rpm
shorewall-1.4.7-1.noarch.rpm:
   Header SHA1 digest: OK (00e62c8e030ae566539101bd3f6285510b3f7145)
   MD5 digest: OK (a1707a9a8e8f8d0911ce7c07d53a22fa)

It works. But how about BBB.tgz file?

I have a package both in rpm and tgz download together with the md5sum file to the same folder. I can run

$ md5sum AAA.rpm

and

md5sum BBB.tgz

comparing their output against the md5sum file (disregarding whether the latter is in the same folder or not). But I am looking whether there is a shortcut similar to running

$ md5sum CCC.iso.md5

generating OK or NOT rather than comparing the outcome

B.R.
Stephen



Michael Schwendt wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 8 Oct 2003 13:11:05 -0400, Lamar Milligan wrote:



What will be the correct syntax to check md5sum of a package


To check the package foo.bar.rpm in the current directory, you could:

$ md5sum foo.bar.rpm
19a721224b3c6593a43e51fe1b53c6d4  foo.bar.rpm

and compare the result to the contents of the foo.bar.rpm.md5 file
provided by the package author



I would run


rpm -Kv foo.bar.rpm

- -- Michael, who doesn't reply to top posts and complete quotes anymore.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/hFka0iMVcrivHFQRAsHRAJ95JTe1rfjQj1nKdjdQBkuWz+bQCACfe661
K0egRQT04yvRHKXfr0z9ohM=
=AO+T
-----END PGP SIGNATURE-----







-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux