[Spacewalk-list] Error when creating kickstart tree
Anoop Bhat
ABhat at trustwave.com
Tue Jul 1 18:21:41 UTC 2008
Justin,
Thanks for the prompt reply.
Yes. /var/satellite existed as I created it to run rhnpush as per https://bugzilla.redhat.com/show_bug.cgi?id=451721
The rpm's exist but not in /var/satellite/redhat/.
/var/satellite/redhat/1/yum-skip-broken/1.1.10-9.el5.centos/noarch
is where I found yum-skip-broken-1.1.10-9.el5.centos.noarch.rpm
I should also note that the list of "Not Found" rpms isn't just what was included below. It was virtually all rpms but I didn't count them to get the exact number.
Thanks again
Anoop
On 7/1/08 1:15 PM, "Justin Sherrill" <jsherril at redhat.com> wrote:
Anoop Bhat wrote:
> In addition to this, there was also
>
> Not found: /media/CentOS/yum-tsflags-1.0.4-3.el5.centos.2.noarch.rpm
> Not found: /media/CentOS/yum-updateonboot-1.0.4-3.el5.centos.2.noarch.rpm
> Not found: /media/CentOS/yum-updatesd-3.0.5-1.el5.centos.5.noarch.rpm
> Not found: /media/CentOS/yum-utils-1.0.4-3.el5.centos.2.noarch.rpm
> Not found: /media/CentOS/yum-versionlock-1.0.4-3.el5.centos.2.noarch.rpm
> === LINT_RESULTS END ===
> ... done
> packages not complete in channel centos51... requires manual intervention...
>
>
>
> /media/CentOS/a2ps-4.13b-57.1.el5.i386.rpm
> /media/CentOS/acl-2.2.39-2.1.el5.i386.rpm
> /media/CentOS/alsa-utils-1.0.14-2.rc4.el5.i386.rpm
> /media/CentOS/amtu-1.0.4-4.i386.rpm
> /media/CentOS/anaconda-11.1.2.87-1.el5.centos.i386.rpm
>
>
> >From the make-ks-tree command.
>
> /var/satellite/rhn/kickstart/ks-centos51-u1/CentOS only has TRANS.TBL in it as opposed to the rpms.
>
> Did I miss something?
>
> Thanks
>
> Anoop
>
>
> On 7/1/08 12:31 PM, "Anoop Bhat" <ABhat at trustwave.com> wrote:
>
> Hi,
>
> I couldn't find a bug id for this specific error. Wondering if I missed another step somewhere
>
> # ./make-ks-tree.sh --channel centos51 --source /media --dsn spacewalk/spacewalk at xe --install-type rhel_5 --variant centos --update u1
> Creating remote kickstart tree directory
> mkdir: cannot create directory `/var/satellite/rhn/kickstart/ks-centos51-u1': No such file or directory
>
>
> I simply created the directory above and ran the command again and it worked.
>
>
> Just mkdir -p /var/satellite/rhn/kickstart-ks-centos51-u1 did the trick.
>
> If there a bug id involved with this, can someone pass that info my way?
>
> By the way, how long does this process take?
>
> ...repodata/repomd.xml
> 1140 100% 2.01kB/s 0:00:00 (xfer#106, to-check=0/114)
>
> sent 188506357 bytes received 2400 bytes 7113538.00 bytes/sec
> total size is 188476341 speedup is 1.00
> ... done
> Linting kickstart tree
>
>
> Thanks
>
> Anoop
>
>
> _______________________________________________
> 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
>
Hi Anoop,
Do you know if /var/satellite existed before you ran the 'mkdir -p' command?
As for your other error,
/var/satellite/rhn/kickstart/ks-centos51-u1/CentOS should not contain
any rpms. All of those are pulled from their locations in
/var/satellite/redhat/.
Not found: /media/CentOS/yum-tsflags-1.0.4-3.el5.centos.2.noarch.rpm
Not found: /media/CentOS/yum-updateonboot-1.0.4-3.el5.centos.2.noarch.rpm
Not found: /media/CentOS/yum-updatesd-3.0.5-1.el5.centos.5.noarch.rpm
Not found: /media/CentOS/yum-utils-1.0.4-3.el5.centos.2.noarch.rpm
Not found: /media/CentOS/yum-versionlock-1.0.4-3.el5.centos.2.noarch.rpm
Are those packages contained within your CentOs 5.1 channel? If they
are not, push them to that channel and run the make-ks-tree command again.
-Justin
More information about the Spacewalk-list
mailing list