On 01/15/2016 10:08 AM, Orion Poplawski wrote:
On 01/06/2016 06:33 AM, Bret Wortman wrote:
I updated to 2.6.0 (I was still using 2.4.0 on this server) on F21. I now get this when trying the reposync:
Are you really using 2.6.0? 2.6.10 is the latest in that branch.
# cobbler reposync --only=C7-x86_64-updates task started: 2016-01-06_082842_reposync task started (id=Reposync, time=Wed Jan 6 08:28:42 2016) hello, reposync run, reposync, run! creating: /var/www/cobbler/repo_mirror/C7-x86_64-updates/config.repo creating: /var/www/cobbler/repo_mirror/C7-x86_64-updates/.origin/C7-x86_64-updates.repo running: /usr/bin/dnf reposync -l -n -d --config=/var/www/cobbler/repo_mirror/C7-x86_64-updates/.origin/C7-x86_64-updates.repo --repoid=C7-x86_64-updates --download_path=/var/www/cobbler/repo_mirror -a x86_64 received on stdout: usage: dnf [--allowerasing] [-b] [-C] [-c [config file]]
I don't see how this command line can be generated in 2.6.10, so it looks like you're using and older version and that it may be fixed in a later one.
Ah, I think it may come from reposync_flags in /etc/cobbler/settings. You may need to tweak that.