[Spacewalk-list] Is it reasonable to remove every RPM and start with a fresh satellite-sync?

Mathew Snyder mathew.snyder at gmail.com
Fri Apr 11 22:37:15 UTC 2014


> Anyway, as a Satellite user, you will get faster and accurate answer from Red
Hat support ;).

You'd be surprised. I've had to ask twice this very question and neither
time have they answered it. You beat them to it even after a three day
delay. ;)

-Mathew

"When you do things right, people won't be sure you've done anything at
all." - God; Futurama

"We'll get along much better once you accept that you're wrong and neither
am I." - Me


On Fri, Apr 11, 2014 at 2:52 AM, Michael Mraka <michael.mraka at redhat.com>wrote:

> Mathew Snyder wrote:
> % I attempted to sync our Satellite server today and encountered an error a
> % couple times. It ultimately resulted in a failed sync:
> %
> % Exception Handler Information
> % Traceback (most recent call last):
> ...
> %   File "/usr/lib64/python2.6/site-packages/rpm/transaction.py", line 154,
> % in hdrFromFdno
> %     raise rpm.error("error reading package header")
> % error: error reading package header
> %
> % I looked at RHN and found a resolution at
> % https://access.redhat.com/site/solutions/232023. The resolution calls
> for
> % removing any corrupt RPMs. I'm running the command provided and if I'm
> % interpreting this correctly just about every RPM is corrupt.
> %
> % Does it make sense to just flush out /var/satellite and do a complete,
> % fresh sync? Is there a process for doing this cleanly so as to not break
> % anything?
>
> Hi Mathew,
>
> you can safely remove /var/satellite/redhat/NULL/* and the content will be
> resynced
> by next satellite-sync. For custom packages in /var/satellite/redhat/[0-9]*
> you have to know where did they come from.
>
>
> Anyway, as a Satellite user, you will get faster and accurate answer from
> Red Hat support ;).
>
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140411/41db28c9/attachment.htm>


More information about the Spacewalk-list mailing list