[Spacewalk-list] Uploading SLES11 media on spacewalk

Deependra Singh Shekhawat deepsa at fedoraproject.org
Sun Sep 25 12:30:38 UTC 2011


On Sun, Sep 25, 2011 at 5:38 PM, Foster <thomas.foster80 at gmail.com> wrote:

> When you look in the directory do you see repodata?  If so then your URL
> needs to point to the directory, because the code looks for
> directory/repodata.  So your URL would stop at the directory name
>
>
>
> On Sep 25, 2011, at 7:48 AM, Deependra Singh Shekhawat <
> deepsa at fedoraproject.org> wrote:
>
>
>
> On Sun, Sep 25, 2011 at 4:01 PM, Foster < <thomas.foster80 at gmail.com>
> thomas.foster80 at gmail.com> wrote:
>
>> Did you use createrepo on the directory?
>>
>>
>>
>> On Sep 25, 2011, at 1:33 AM, Deependra Singh Shekhawat <<deepsa at fedoraproject.org>
>> deepsa at fedoraproject.org> wrote:
>>
>>
>>
>> On Sun, Sep 25, 2011 at 9:20 AM, Deependra Singh Shekhawat <<deepsa at fedoraproject.org><deepsa at fedoraproject.org>
>> deepsa at fedoraproject.org> wrote:
>>
>>> Hi All,
>>>
>>> I have uploaded SLES11 SP1 media on spacewalk but no repodata is created
>>> for the same in /var/cache/rhn/repodata/sles-11-sp1/
>>>
>>> and hence on the SLES clients I am not able to use the repository because
>>> it always complain about no repodata/repomd.xml. The category of this
>>> repository comes as YUM in Yast. Can someone through some insight on what
>>> might be a possible solution to this problem?
>>>
>>> Thanks,
>>> Deependra
>>>
>>
>> Hi All,
>>
>> I think I found what was going wrong, had to set , yum repository checksum
>> type to sha1 inside manage software channel, earlier it was set to none.
>>
>> Now time to configure the updates I got from mrepo last night.
>>
>> Thanks,
>> Deependra
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> <Spacewalk-list at redhat.com>Spacewalk-list at redhat.com
>>  <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>>  <Spacewalk-list at redhat.com>Spacewalk-list at redhat.com
>>  <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> Yes, I used, createrepo -q  <directory>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


Yeah, sorry for the confusion. I actually solved the problem. I just had to
set , yum repository checksum and repodata was populated at the correct
place which the spacewalk client was also pointing too.

createrepo -q was used with mrepo so I could later use spacewalk-repo-sync
to push the packages on the channel.

It is all working fine now.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110925/e69b6fc2/attachment.htm>


More information about the Spacewalk-list mailing list