As i said, i do not have an RPM based system i can use (i am traveling with a
limited access to internet) so i wrote the script based on information from the
ticket and information found on the net. So yes the script is not correct and
the reason why is very clear. :-)

I'll fix that ASAP.

Thanks,

Selon DongInn Kim <[EMAIL PROTECTED]>:

> Hi Geoffroy,
>
> This is /etc/yum.conf on my RHEL5.1 X86_64
> > [main]
> > cachedir=/var/cache/yum
> > keepcache=0
> > debuglevel=2
> > logfile=/var/log/yum.log
> > pkgpolicy=newest
> > distroverpkg=redhat-release
> > tolerant=1
> > exactarch=1
> > obsoletes=1
> > gpgcheck=0
> > plugins=1
> > metadata_expire=1800
> >
> > # PUT YOUR REPOS HERE OR IN separate files named file.repo
> > # in /etc/yum.repos.d
>
> As you can see, I changed the value of "gpgcheck" to 0 so that it won't check
> the gpg sign to install "yume" through yum.
> BTW, your script "yum-check.pl" uses "gpgkey" as a key of the hash containing
> the contents of yum.conf and I am wondering if you made a mistake here or if
> the config name is different according the distros.
>
> Regards,
>
> - DongInn
>
>
> [EMAIL PROTECTED] wrote:
> > Can you send me your yum.conf file please?
> >
> > Thanks,
> >
> > Selon DongInn Kim <[EMAIL PROTECTED]>:
> >
> >> Hi Geoffroy,
> >>
> >> I got this message. I just wanted to post this to let you know ASAP. I
> will
> >> look into what it is in detail later.
> >>> [EMAIL PROTECTED] oscar]# $OSCAR_HOME/scripts/system-sanity
> >>> Checking your system...
> >>> Success: selinux-check.pl
> >>> main_cachedir: no such variable at /etc/yum.conf line 2
> >>> main_keepcache: no such variable at /etc/yum.conf line 3
> >>> main_debuglevel: no such variable at /etc/yum.conf line 4
> >>> main_logfile: no such variable at /etc/yum.conf line 5
> >>> main_pkgpolicy: no such variable at /etc/yum.conf line 6
> >>> main_distroverpkg: no such variable at /etc/yum.conf line 7
> >>> main_tolerant: no such variable at /etc/yum.conf line 8
> >>> main_exactarch: no such variable at /etc/yum.conf line 9
> >>> main_obsoletes: no such variable at /etc/yum.conf line 10
> >>> main_gpgcheck: no such variable at /etc/yum.conf line 11
> >>> main_plugins: no such variable at /etc/yum.conf line 12
> >>> main_metadata_expire: no such variable at /etc/yum.conf line 13
> >>> Use of uninitialized value in numeric eq (==) at
> >> /opt/oscar/scripts/system-sanity.d/yum-check.pl line 22.
> >>> Success: yum-check.pl
> >>> Use of uninitialized value in string ne at
> >> /opt/oscar/scripts/system-sanity.d/display-check.pl line 19.
> >>> Success: display-check.pl
> >>> Success: tftpboot-check.pl
> >>> Use of uninitialized value in string eq at
> >> /opt/oscar/scripts/system-sanity.d/network-check.pl line 95.
> >>>  ------------------------------------------------------
> >>>  WARNING: A valid NIC must be specified for the cluster
> >>>  private network.
> >>>  Valid NICs: Iface, eth0, table
> >>>
> >>>  You tried to use: <None>.
> >>>  This may be normal if this is the first time you
> >>>  execute OSCAR.
> >>>  ------------------------------------------------------
> >>> Warning: network-check.pl
> >>> Success: su-check.pl
> >>> Success: debrepo-check.pl
> >>> Success: ssh-check.pl
> >>> [EMAIL PROTECTED] oscar]#
> >>
> >> Regards,
> >>
> >> - DongInn
> >>
> >>
> >> [EMAIL PROTECTED] wrote:
> >>> Hi all,
> >>>
> >>> I just checked-in (both in trunk and in branch-5-1) a sanity check script
> >> for
> >>> the yum configuration in order to check if yum accepts unsigned RPMs. I
> was
> >> not
> >>> able to test it on RHEL (the only distro with which it seems the problem
> >>> appears), so please, if you can, test the script and let me know if it
> >> works or
> >>> not. If it works, i will close the bug.
> >>>
> >>> To test the script, you can execute the script
> >>> $(OSCAR_HOME)/scripts/system-sanity, you will see if the script succeed
> or
> >> not.
> >>> If you have a failure, please send me a copy of your /etc/yum.conf file.
> >>>
> >>> Thanks,
> >>>
> >>> PS: we plan to have an automatic management of the yum configuration for
> >> the
> >>> next release.
> >>>
> >>> -------------------------------------------------------------------------
> >>> This SF.net email is sponsored by: Microsoft
> >>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>> _______________________________________________
> >>> Oscar-devel mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> >> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by: Microsoft
> >> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> _______________________________________________
> >> Oscar-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> >>
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Oscar-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to