Re: [et-mgmt-tools] cobbler import --mirror error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Fidell wrote:
Michael DeHaan wrote:

Apologies on being lazy here, though per the manpage...

   mirror

   The addresss of the mirror.  This needs to be either an rsync:// url
or an ssh location usable with rsync.
   The mirror address should specify an exact repository to mirror --
just one architecture
   and just one distribution.  If you have a seperate repo to mirror for
a different arch, add that
   repo seperately.

   Here's an example of what looks like a good URL:

   rsync://yourmirror.example.com/fedora-linux-core/6/i386 (for rsync
protocol)
   user@xxxxxxxxxxxxxxxxxxxxxx/fedora-linux-core/6/i386  (for SSH)

What I thought was a related problem is just something I'm seeing during
the unit tests, so that was a bit of wild goose chase.

Your problem is that you didn't rsync enough data, and don't have the
comps file.    Do an import using the URL format specified in the
manpage and you should be good to go.   I would suggest cleaning up
/var/www/cobbler/ks_mirror manually before doing that, just to free up
the extra space on your drives.

Hope this helps, if not, let me know...

This time I did:

  cobbler import
--mirror=rsync://rsync.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/6/i386
--name=fedoracore6

which i think is as close to the example given as I can get.  I still
get the same error (though obviously it's looking for the comps.xml file
in a slightly different location this time):

  Error: groupfile
/var/www/cobbler/ks_mirror/fedoracore6/i386/os/repodata/comps.xml cannot
be found.

James

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
You probably noticed this already, but the manpage section I copied was for repo management, not the import command. With the import command, you can pretty much point it across a rsync mirror that holds 40 distros and it's expected to import them all.

I'm still retrying the exact command you gave for the import (using mirrorservice) to see what createrepo reports. So far I'm ok with internal mirrors and ibiblio, and the tree structure looks right. Should know shortly.

--Michael


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux