rpm and yum rescue tips on Fedora

April 22nd, 2008 mysurface

You have to be careful when you run yum update and yum install, DON’T force kill it, kill -9 or pkill -9. Those action are consider very dangerous, may lead you to losing certain files. Seriously, I hate yum, when I really wanna cancel the process in the middle, by hitting ctrl+c doesn’t really work! […]

Posted in Admin, awk, rpm, which, yum | Hits: 91914 | 3 Comments »

find out the command is from which packages using rpm

August 5th, 2006 mysurface

rpm is a common package manager for red hat, fedora, centos distro, to find out the command is from which package, you can using rpm -qf, let say you wanna find out “host” is from which package. rpm -qf `which host` #output: bind-utils-9.3.2-20.FC5 Take care of the symbol (`) , it is not single quote. […]

Posted in Admin, backquote, rpm | Hits: 35963 | 3 Comments »