Bug 182712 - yum "do what I asked" option
yum "do what I asked" option
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2006-02-24 03:32 EST by Need Real Name
Modified: 2014-01-21 17:53 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-24 07:52:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2006-02-24 03:32:45 EST
It would be good if yum had an option to run, as long as no other packages would
be installed (similar to apt's behaviour).

For example, if mutt has no dependencies
# yum install mutt
would install mutt without asking me if it's okay.
It is okay, because it's going to do exactly what I told it to do.

If installing mutt would pull in another package, then a prompt is not exactly
what I've asked, so it should prompt me.
Comment 1 Seth Vidal 2006-02-24 07:52:53 EST
from man yum.conf:
              Either  ‘1’ or ‘0’. Without this option, yum will not prompt for
              confirmation when the list of packages to be  installed  exactly
              matches  those  given  on  the command line. Unless assumeyes is
              enabled, it will still prompt for package removal, or when addi-
              tional  packages  need  to be installed to fulfill dependencies.
              Default is ‘1’.

Comment 2 Need Real Name 2006-02-24 12:19:19 EST
Thanks for this. I'll use it.

The other unix commands do what I tell them, even if it's a bad thing (e.g. mv
/usr /tmp/usr).
Can I ask why it isn't the default?
Comment 3 Seth Vidal 2006-02-24 13:49:21 EST
I've answered this question, in detail, on the yum-devel list.

short version is this: computer programs should act predictably. Prompting
'sometimes' is not predictable.

I really don't want to rehash it here.

Note You need to log in before you can comment on or make changes to this bug.