[Spacewalk-list] Spacewalk 2.10 Failing to sync repo

Michael Mraka michael.mraka at redhat.com
Fri Feb 14 09:06:01 UTC 2020


Jody McIvor:
...
> 2020/02/13 08:09:02 -07:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel', <MY CHANNEL NAME>', '--type', 'yum']
> 2020/02/13 08:09:02 -07:00 Sync of channel started.
> 2020/02/13 08:09:02 -07:00
> 2020/02/13 08:09:02 -07:00   Processing repository with URL: http://<MYREPOSERVER>/rhel/x86_64/<MYREPOFOLDER/
> 2020/02/13 08:09:03 -07:00     Packages in repo:               111
> 2020/02/13 08:09:04 -07:00     Packages already synced:         65
> 2020/02/13 08:09:04 -07:00     Packages to sync:                14
> 2020/02/13 08:09:04 -07:00     New packages to download:        14
> 2020/02/13 08:09:04 -07:00   Downloading packages:
> 2020/02/13 08:09:04 -07:00     1/14 : <PACKAGENAME>.rpm
...
> 2020/02/13 08:09:08 -07:00   Importing packages to DB:
> 2020/02/13 08:09:08 -07:00 unknown header tag

Hello,

I guess rpm packages you try to sync contain a new header which is not
recognized by rpm on your server.

Try to run from commandline (on server)
# rpm -qip <PACKAGENAME>.rpm
# /usr/bin/spacewalk-repo-sync --channel <MY CHANNEL NAME>
and watch the errors.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list