On Thu, Dec 10, 2009 at 9:22 PM, James Antill <james(a)fedoraproject.org> wrote:
On Thu, 2009-12-10 at 20:45 +0530, Rajeesh K Nambiar wrote:
> On 12/10/09, James Antill <james(a)fedoraproject.org> wrote:
> > On Thu, 2009-12-10 at 18:00 +0530, Rajeesh K Nambiar wrote:
> >> I changed the "installonly_limit" to "1" from the
default value "3" in
> >> /etc/yum.conf, and yum blows up.
> >>
> >> # yum search boinc
> >> Loaded plugins: presto, refresh-packagekit
> >> Options Error: Error parsing '1': out of range integer value
> >
> > This is an error message, not what I'd usually term "blows up".
>
> I mean - can't install anything, can't search a package. It took me a
> while to realize that the change made to the config file caused it as
> I tried to use yum again after couple of days.
Fair enough, as Seth said we should probably tell you want option is
the problem :).
> > What do you want to achieve by setting this value to 1?
>
> Ah, I realize that it would have the same effect as installonly_limit=0 ?
No, 0 is "special" and means the same thing as "<off>".
"1" would make it act like a normal package (old version removed as new
version is installed) ... except the kernel package doesn't work if you
do that, so we just disallow it.
Yeah, that was the intention ;-)
Thanks for the answers!
--
Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com