migrating to xorg (yum bug)

Michal Jaegermann michal at harddata.com
Sat Mar 27 17:24:40 UTC 2004


On Sat, Mar 27, 2004 at 12:16:54PM -0500, seth vidal wrote:
> 
> > This looks to me like a bug in yum.  It should not try to be
> > interactive if stdin is not coming from tty.  If it should then
> > assume automatically an anwer "y" in an absence of other information
> > (configuration or a command line) this is a good question.  I would
> > be inclined to answer yes to that but it can be argued that this is
> > not safe.
> > 
> > Yes, I know that there is '-y' command line option and
> > "assume-yes".
> 
> -y is what you're supposed to do and NO assuming yes w/o it explicitly
> being passed in as an option is NOT safe. If you're going to piping
> output to yum use -y, that's the answer, there.

Well, ok, then automatically assume in circumstances above that
the answer is NO unless a config file says otherwise.  It could
display some warning to that effect.  Bailing out with a backtrace
does not look like the right action.

   Michal





More information about the fedora-test-list mailing list