<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      On 22 March 2011 at 18:57 Hugh Brown <hbrown@divms.uiowa.edu> wrote:<br />
      <br />
      > On 03/22/2011 01:37 PM, Michael Mayer wrote:<br />
      > > Hi all,<br />
      > ><br />
      > > i have a weird issue with RHEL5.5 and kickstart.<br />
      > ><br />
      > > My current setup is:<br />
      > ><br />
      > > All RHEL5.5 RPMs(i.e. the whole tree) and two additional repositories<br />
      > > are in a subversion repo. The repo is accessible via http to the client<br />
      > > to be installed.<br />
      > > The client is a virtual machine hosted on an ESX server. I have modified<br />
      > > boot.iso as well to contain the kickstart file which points to the<br />
      > > subversion repo via the "url" and "repo" commands. The boot.iso (about<br />
      > > 10 MB in size) is attached to the virtual machine as a virtual CD-ROM.<br />
      > ><br />
      > > If the virtual server boots up, it reads the kickstart file and then<br />
      > > proceeds to download the second-stage installer from the repository. It<br />
      > > sets up networking, formats the disk as wanted, browses through the RPM<br />
      > > repos for dependency resolution. Once that is finished, the screen<br />
      > > appears where RPMs are going to be installed.<br />
      > ><br />
      > > So far so good.<br />
      > ><br />
      > > Now things are going odd: anaconda complains about packages being<br />
      > > corrupt, broken or missing. This cannot be true here because I have<br />
      > > checked md5sum of the rpm both in the repo and after downloaded via<br />
      > > wget. In the SVN server access logs the respective RPM is downloaded 10<br />
      > > times, each time with return code 200 which for me indicates successful<br />
      > > download. If I am looking on the kickstarting server, there are no RPMs<br />
      > > to be seen anywhere. If I run a wget on that kickstarted server with the<br />
      > > same URL the RPM is downloaded correctly. Depending on which repos I am<br />
      > > using in the kickstart file, a different RPM is thought to be corrupt.<br />
      > ><br />
      ><br />
      ><br />
      > This is most likely a problem with the filelists.xml.gz file in your yum<br />
      > repository.  Each package gets stored with a pkgid that is hash of the<br />
      > package (the hash depends on the checksum employed by createrepo).  If<br />
      > it is complaining about a package in one of your additional<br />
      > repositories, then I'd start by making sure that a<br />
      ><br />
      > createrepo --update /path/to/repo<br />
      ><br />
      > has been done recently (needs to be done after any new packages are added).<br />
      ><br />
      > If the repodata is current, then I've seen issues like this where the<br />
      > ram was going bad.<br />
      >
    </div>

    <p style="margin: 0px;">Done that, even recreated the repodata for the RHEL Server stuff as well (Server, VT, ...) keeping the group information But the situation is still pretty much the same.</p>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">Michael.</p>
  </body>
</html>