Yum accident

Discussion in 'Installation/Configuration' started by jmunjr, Nov 3, 2007.

  1. jmunjr

    jmunjr New Member

    I accidentally typed "yum remove php-domcd /root" while trying to change directories..

    A whole bunch of stuff started spewing out. I did interrupt it though.

    Anything to worry about? A whole bunch of packages were "set to be erased". How to I reverse this?

    Here are the first several lines:

    # yum remove php-domcd /root

    Loading "installonlyn" plugin
    Setting up Remove Process
    No Match for argument: php-domcd
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package filesystem.i386 0:2.4.0-1.el5.centos set to be erased
    --> Running transaction check
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    --> Processing Dependency: filesystem >= 2.1.0 for package: mkinitrd
    --> Processing Dependency: filesystem for package: basesystem
    --> Processing Dependency: filesystem >= 2.2.4-1 for package: SysVinit
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package basesystem.noarch 0:8.0-5.1.1.el5.centos set to be erased
    ---> Package SysVinit.i386 0:2.86-14 set to be erased
    ---> Package mkinitrd.i386 0:5.1.19.6-1 set to be erased
    --> Running transaction check
    --> Processing Dependency: /sbin/pidof for package: redhat-lsb
    --> Processing Dependency: basesystem for package: glibc
    --> Processing Dependency: /sbin/pidof for package: chkfontpath
    --> Processing Dependency: SysVinit >= 2.85-38 for package: initscripts
    --> Processing Dependency: mkinitrd >= 4.2.21-1 for package: kernel
    --> Processing Dependency: /sbin/shutdown for package: redhat-lsb
    --> Processing Dependency: mkinitrd for package: mkbootdisk
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package kernel.i686 0:2.6.18-8.el5 set to be erased
    ---> Package glibc.i686 0:2.5-12 set to be erased
    ---> Package initscripts.i386 0:8.45.14.EL-1.el5.centos.1 set to be erased
    ---> Package redhat-lsb.i386 0:3.1-12.2.EL.el5.centos set to be erased
    ---> Package mkbootdisk.i386 0:1.5.3-2.1 set to be erased
    ---> Package chkfontpath.i386 0:1.10.1-1.1 set to be erased
    --> Running transaction check
     
  2. wpwood3

    wpwood3 New Member

    yum will not remove or install anything unless you confirm it first.
    It will always say this before it actually takes action:

    Code:
     
    Is this ok [y/N]:
    
    As long as you did not type "y" and hit enter, you lost nothing.
     
  3. jmunjr

    jmunjr New Member

    whew...thanks I am good. SO there is no flag in there that it needs to be removed the next time?
     
  4. wpwood3

    wpwood3 New Member

    Nope...no flag.
     

Share This Page