Hi,
I use XEmacs 21.2.29 with Mule and I am unable to use package-get to
install packages. It fails with:
Package %s does not match md5 checksum
I checked md5sum of the file with external program (md5sum) and it
matches the sum in package-index.LATEST.
I think that the following code in package-get.el causes the problem:
;; What ever happened to i-f-c-literally
(let (file-name-handler-alist)
(insert-file-contents-internal full-package-filename))
it should insert the file into temporary buffer without any changes, but
it does change its content and the md5 sum of the buffer is then
invalid. I tried to replace this piece with:
(insert-file-contents-literally full-package-filename)
and it works, i.e. md5 sum is correct and the installtion succeeds.
Judging from the comment in the code I guess, that i-f-c-literally was
broken for somebody and so he replaced it by this hack. It seems that
either i-f-c-literally has been fixed or it does not work with other
configurations of XEmacs (without Mule ?) or I missed something. Does
anybody know ?
Regards, Petr
--
You will be called upon to help a friend in trouble.