On Tue, Jul 7, 2009 at 8:13 AM, Michael DeHaan<mdehaan(a)redhat.com> wrote:
On 07/04/2009 04:44 PM, Léon Keijser wrote:
On Fri, 2009-07-03 at 15:31 -0400, Lester M. wrote:
Léon,
This is the exact same error I use to get when importing RHEL5.3 Dvd
on a Fedora Release 11 host using cobbler 1.6.4 - 1.6.6.
You may want to look at the ticket I filed documenting this problem,
it has been around for a while,
https://fedorahosted.org/cobbler/ticket/464
I was able to resolve the problem using a reply to this ticket
somebody was very nice to post on my ticket:
Direct link -->
https://fedorahosted.org/cobbler/ticket/463
When you follow the steps in that ticket, go to each directory
(Server, VT, Clustering, ClusterStorage) and execute the command the
user posted. (Please read the whole ticket to get familiar with it.)
Oh, whoever you are to the person that replied to my ticket
(nplusplus), Thank you! Now I can help someone else who is having the
same problem.
Hope this helps, please let us know if this helps you as well. :-)
--L.M.
That worked perfectly, thanks!
Michael et. al. : Creating/updating the repository with this command:
createrepo -s sha -o . -g repodata/comps-XXXX .
did the trick.
Thanks, Lester!
Hmm, can you help isolate when we do and do not need to add "-s sha" ?
It would probably be an easy change to make, though I'm not entirely clear
in what versions we need to run that... if it won't hurt things to use it
everywhere, I think we could call it... but that is also in question.
as
this is very likely related.
Fedora 11 changed the rpm hash to SHA256 by default. This breaks all
kinds of things in spectacular ways. To install any src.rpm from F11
to anything pre F11 (like a RHEL mock build host) you have to do rpm
-ivh --nomd5. If you don't rpm will complain loudly and die with
something like:
error: unpacking of archive failed on file
/etc/prelink.conf.d/nss-prelink.conf;49dbc0bb: cpio: MD5 sum mismatch
It should be really interesting to see how they solve this and a load
of other issues next yearish or so when RHEL6 comes out.
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.