[Spacewalk-list] Spacewalk 2.10 Failing to sync repo
Michael Mraka
michael.mraka at redhat.com
Fri Feb 21 08:49:38 UTC 2020
Jody McIvor:
> Hi Michael,
>
> I ran your suggested command to peek at the header info of one of (most recent) the RPMs:
> ====================================================
> [jmcivor@<MYREPOSERVER>]$ rpm -qip <PACKAGENAME>.rpm
> Name : <PACKAGENAME>-v2.15.01
...
>
> And ran manual repo sync:
> ====================================================
> [root@<SPACEWALKSERVER>]# spacewalk-repo-sync --channel <CHANNELNAME> --type yum
> 08:42:02 ======================================
> 08:42:02 | Channel: <CHANNELNAME>
> 08:42:02 ======================================
> 08:42:02 Sync of channel started.
> 08:42:02
> 08:42:02 Processing repository with URL: http://<REPOSERVER>/rhel/x86_64/<CHANNELNAME> /
> 08:42:03 Packages in repo: 111
> 08:42:03 Packages already synced: 65
> 08:42:03 Packages to sync: 14
> 08:42:03 New packages to download: 14
> 08:42:03 Downloading packages:
> 08:42:03 1/14 : <PACKAGENAME>.rpm
...
> As usual, it reports completion, but digging into the actual log for this channels reposync (var/log/rhn/reposync/<CHANNELNAME>.log) gives us the details I provided previously:
> ====================================================
...
> 2020/02/14 08:48:10 -07:00 Importing packages to DB:
> 2020/02/14 08:48:10 -07:00 unknown header tag
> 2020/02/14 08:48:11 -07:00 unknown header tag
Hello,
I've never seen similar issue. I just guess the rpm package contains
a header which is not known by rpm library on the server.
I'm afraid there's no other way then debug spacewalk-repo-sync.
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list