I need a clarification to the documentation. My manager added a 6.2 repo; however, when I try doing pxeboot installs, it fails, asserting that it can't find the group info. Another admin I work with thinks it's not really what it's failing in, and notes that it 404's on images/updates.img and images/product.img. We *think* that's irrelevant and ok. What is not clear to me is when we run createrepo, what directory you need to be in at the time you execute it. mark
On Wed, 4 Jan 2012, m.roth at 5-cent.us wrote:> I need a clarification to the documentation. > > My manager added a 6.2 repo; however, when I try doing pxeboot installs, > it fails, asserting that it can't find the group info. Another admin I > work with thinks it's not really what it's failing in, and notes that it > 404's on images/updates.img and images/product.img. We *think* that's > irrelevant and ok. > > What is not clear to me is when we run createrepo, what directory you need > to be in at the time you execute it.I would expect the createrepo to be done from the DVD root path, but I could be wrong on that point. Did you include the -g option to point to the comps.xml to include the package group info? Why are you doing a createrepo there at all? If you're adding your own packages to the base, why not have it as a separate repo? jh
On Wed, 4 Jan 2012, m.roth at 5-cent.us wrote:> I need a clarification to the documentation. > > My manager added a 6.2 repo [...]That's a bit unclear. Did he mirror an existing repository using rsync or a similar tool? Did he build a local repo for locally built packages? createrepo would only need to be run in the latter case. -- Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
John Hodrien wrote:> On Wed, 4 Jan 2012, m.roth at 5-cent.us wrote:<snip>>> My manager added a 6.2 repo; however, when I try doing pxebootinstalls, it fails, asserting that it can't find the group info. Another admin I work <snip>>> What is not clear to me is when we run createrepo, what directory youneed to be in at the time you execute it.> > I would expect the createrepo to be done from the DVD root path, but Icould be wrong on that point. <snip>> Why are you doing a createrepo there at all? If you're adding your ownpackages to the base, why not have it as a separate repo? You seem to have misunderstood. .../CentOS/base/6.0 .../CentOS/base/6.2 rsync'd 6.2 from mirror to the latter. Now, are you saying to cd to .../CentOS/base/6.2/ and run createrepo ....? mark