#1  
Old 3rd November 2007, 20:27
jmunjr jmunjr is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yum accident

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
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2007, 01:48
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 30 Times in 20 Posts
Default

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.
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote
  #3  
Old 4th November 2007, 03:27
jmunjr jmunjr is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

whew...thanks I am good. SO there is no flag in there that it needs to be removed the next time?
Reply With Quote
  #4  
Old 4th November 2007, 05:28
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 30 Times in 20 Posts
 
Default

Quote:
Originally Posted by jmunjr
whew...thanks I am good. SO there is no flag in there that it needs to be removed the next time?
Nope...no flag.
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM and RPM gone? Niekoesj Technical 1 6th October 2007 11:45
Yum Fails Error Cannot find a valid baseurl for repo peter5898 Installation/Configuration 2 25th October 2006 18:46
Yum or apt-get install question thim Installation/Configuration 3 20th September 2006 17:38
YUM Install of OpenSSL does NOT have CA.pl CrimsonSkyZS Server Operation 1 28th May 2006 20:47
local yum repository viviotech Server Operation 4 23rd May 2006 09:24


All times are GMT +2. The time now is 07:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.