When I run a cobbler reposync of a mirrored repo and the sync needs to pull dependencies the reposync pulls those dependencies from the system's yum.repos.d list.
e.g.:
Cobbler Server: CentOS 5.3 Cobbler repos: fedora10, rpmfusion
If I try to sync an rpmfusion mirror and some of those files are dependent on core dependency files then cobbler will download those CentOS dependencies instead of from the fedora repositories so I get a mix of el5 and fc10 packages.
The current way I've been getting around this is to symlink the yum.repos.d file to the repos for fedora10 when I run a cobbler reposync and then unlink and re-link for updates to the host OS.
My question is: Is there a better way to do this?
Thanks for any pointers...
David Jablonski wrote:
When I run a cobbler reposync of a mirrored repo and the sync needs to pull dependencies the reposync pulls those dependencies from the system's yum.repos.d list.
e.g.:
Cobbler Server: CentOS 5.3 Cobbler repos: fedora10, rpmfusion
If I try to sync an rpmfusion mirror and some of those files are dependent on core dependency files then cobbler will download those CentOS dependencies instead of from the fedora repositories so I get a mix of el5 and fc10 packages.
The current way I've been getting around this is to symlink the yum.repos.d file to the repos for fedora10 when I run a cobbler reposync and then unlink and re-link for updates to the host OS.
My question is: Is there a better way to do this?
Thanks for any pointers...
Also please share the output of "cobbler --version" and "cobbler repo report" please. I suspect you have --rpm-list set so it's probably using yumdownloader, but anyway, share the above and I can look into it.
--Michael
Michael DeHaan wrote:
Also please share the output of "cobbler --version" and "cobbler repo report" please. I suspect you have --rpm-list set so it's probably using yumdownloader, but anyway, share the above and I can look into it.
Yes, I am using --rpm-list on some of the repos and that is exactly what is happening. Thanks...
cobbler 1.6.2
cobbler repo report
repo : adobe-linux-i386 arch : i386 breed : yum comment : created : Thu Apr 2 13:40:19 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://linuxdownload.adobe.com/linux/i386/ mirror locally : True modified : Thu Apr 2 13:43:05 2009 owners : ['admin'] priority : 99 rpm list : ['flash-plugin'] yum options : {}
repo : f10-i386-everything arch : i386 breed : yum comment : created : Thu Mar 26 14:27:04 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://fedora.mirrors.tds.net/pub/fedora/releases/10/Everything/i386/os/ mirror locally : True
modified : Tue May 12 16:32:12 2009
owners : ['admin']
priority : 99
rpm list : ['facter,', 'gnome-applet-sshmenu,', 'apr-util-ldap,', 'pidgin,', 'pidgin-docs,', 'gnome-compiz-manager,', 'ccsm,', 'dkms,', 'compiz-fusion-extras-gnome,', 'compizconfig-backend-gconf,', 'gnome-compiz-manager,', 'gnome-keyring-sharp,', 'libudev0,', 'thunderbird-lightning,', 'revelation,', 'awn-extras-applets,', 'aalib-libs,', 'tsclient,', 'compat-libstdc++-33,', 'avant-window-navigator'] yum options : {}
repo : f10-i386-updates arch : i386 breed : rsync comment : created : Wed Mar 25 11:41:10 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : rsync://fedora.mirrors.tds.net/fedora-enchilada/updates/10/i386 mirror locally : True
modified : Wed Mar 25 13:09:56 2009
owners : ['admin']
priority : 99
rpm list :
yum options : {}
repo : inoc arch : i386 breed : yum comment : created : Thu Mar 26 11:16:54 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://backuppc.inoc.com/systems-repo mirror locally : True modified : Thu Mar 26 11:16:54 2009 owners : ['admin'] priority : 99 rpm list : yum options : {}
repo : rpmfusion-fedora-10-free arch : i386 breed : yum comment : created : Wed Apr 1 14:30:01 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://download1.rpmfusion.org/free/fedora/releases/10/Everything/i386/os/ mirror locally : True
modified : Thu Apr 30 15:12:43 2009
owners : ['admin']
priority : 99
rpm list : ['akmods,', 'audacious-plugins*,', 'gstreamer-plugins*'] yum options : {}
repo : rpmfusion-fedora-10-nonfree arch : i386 breed : yum comment : created : Tue Mar 31 14:32:49 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://download1.rpmfusion.org/nonfree/fedora/releases/10/Everything/i386/os... mirror locally : True
modified : Thu Apr 2 13:16:55 2009
owners : ['admin']
priority : 99
rpm list : ['admin,', 'adobe-flash']
yum options : {}
repo : rpmfusion-fedora-10-updates-free arch : i386 breed : yum comment : created : Wed Apr 1 14:24:59 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://download1.rpmfusion.org/free/fedora/updates/10/i386 mirror locally : True modified : Tue May 12 15:04:55 2009 owners : ['admin'] priority : 99 rpm list : ['kmodtool,', 'gstreamer-plugins-ugly'] yum options : {}
repo : rpmfusion-fedora-10-updates-nonfree arch : i386 breed : yum comment : created : Tue Mar 31 16:23:49 2009 createrepo_flags : -c cache environment : {} keep updated : True mirror : http://download1.rpmfusion.org/nonfree/fedora/updates/10/i386 mirror locally : True modified : Sat May 23 18:46:58 2009 owners : ['admin'] priority : 99 rpm list : ['kmod-nvidia-PAE'] yum options : {}
cobbler@lists.fedorahosted.org