Re: Yum disaster! DELETED mysql!

From: Jeff Vian (jvian10_at_charter.net)
Date: 11/07/05

  • Next message: Ki Song: "Maillog rotate :: postfix"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Mon, 07 Nov 2005 14:35:52 -0600
    
    

    On Mon, 2005-11-07 at 14:58 -0500, Nat Gross wrote:
    > So, why didn't yum do it until now? I have done '#yum -y -update'
    > hundreds of times on this system. I didn't change anything on mysql.
    > um..For some silly reason I have Amarok on this machine. Since the
    > latest version of Amarok uses mysql (so I read) could it be that
    > Amarok told yum to do it.
    >
    > And as far as rtfm, yes, but yum should warn before doing a mass
    > deletion like that. The -y switch is for updates, not deletions!
    >
    That is a misunderstanding.
    The -y switch (from the man page) is:
       "-y Assume yes; assume that the answer to any question which
    would be asked is yes."
    Thus you told it to do whatever it chose as proper.

    If you do not want it to automatically do whatever IT thinks is correct
    then DO NOT use the -y switch. Wait for the messages of what it wants
    to do, read them, then answer Y/N as appropriate.

    It is a very good tool, but yum cannot think and only follows the
    information in packages already installed and about to be installed. You
    still have to manage it.

    > -nat
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ki Song: "Maillog rotate :: postfix"

    Relevant Pages

    • Re: Yum disaster! DELETED mysql!
      ... I didn't change anything on mysql. ... > um..For some silly reason I have Amarok on this machine. ... > Amarok told yum to do it. ... The -y switch is for updates, ...
      (Fedora)
    • Re: Yum disaster! DELETED mysql!
      ... I didn't change anything on mysql. ... > um..For some silly reason I have Amarok on this machine. ... > Amarok told yum to do it. ... The -y switch is for updates, ...
      (Fedora)
    • Re: Yum disaster! DELETED mysql!
      ... >> that according to the FC distro comps.xml file, Amarok uses MySQL 3.x. ... yum just did its best to get you up to date according ... It doesnt downgrade packages ...
      (Fedora)
    • Re: Yum disaster! DELETED mysql!
      ... I didn't change anything on mysql. ... > um..For some silly reason I have Amarok on this machine. ... yum just did its best to get you up to date according ... > deletion like that. ...
      (Fedora)
    • Re: amarok 1.3.5 and mysql???
      ... > the mysql dependence to appear (just because there is nothing special ... Why not just grab the source RPM and modify the spec file to make sure Amarok is ...
      (Fedora)