On Mon, May 17, 2010 at 01:19:01PM +0200, Klaus Kaempf wrote:
* Elmar Stellnberger
[May 17. 2010 12:38]: Can anyone tell me on how to obtain the last field ("checksum") in order to write out a zypp history entry? http://en.opensuse.org/Libzypp/Package_History no more detailed description here. can not find an approriate rpm-header tag either. . So where does the checksum in the last column of /var/log/zypp/history come from, what kind of checksum is it, what does it checksum and how can I generate it for a program having to installing rpms manually?
It should be the packages md5 sum, needed to uniquely identify a package.
A md5 sum with 40 characters? Seems more like the sha1 sum of the rpm. It's probably just the checksum from the metadata, i.e. it may be sha256 in the future. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org