Johnny Hughes wrote:
You are trying to remove kernel-utils ...you don't want to do that. That might cut back the deps a bit. Also, i never remove packages with yum, but with:
rpm -e `cat list`
But, that is just my advise.
I didn't think there was any functional difference between:
rpm -e package-name
and
yum remove package-name
Isn't yum just a front-end for the rpm system?
On Wed, 16 Jul 2008 at 12:21pm, Bowie Bailey wrote
I didn't think there was any functional difference between:
rpm -e package-name
and
yum remove package-name
Isn't yum just a front-end for the rpm system?
yum also does dependency checking/resolution.
Bowie Bailey wrote:
Johnny Hughes wrote:
You are trying to remove kernel-utils ...you don't want to do that. That might cut back the deps a bit. Also, i never remove packages with yum, but with:
rpm -e `cat list`
But, that is just my advise.
I didn't think there was any functional difference between:
rpm -e package-name
and
yum remove package-name
Isn't yum just a front-end for the rpm system?
There is a huge difference.
rpm -e will tell you that you package foo (that you want to install) is required by package bar, so don't install it.
Yum will resolve all the dependancies and try to remove foo and bar and anything else that is required to be removed if bar is removed, etc.
If you are not careful, you can get things like glibc removed with "yum remove".
I normally want to resolve my own deps if I remove something. I once DID remove glibc from a machine with "yum remove" ... and that is NOT pretty to recover from :D
On Wed, Jul 16, 2008 at 9:21 AM, Bowie Bailey Bowie_Bailey@buc.com wrote:
I didn't think there was any functional difference between:
rpm -e package-name
and
yum remove package-name
Isn't yum just a front-end for the rpm system?
Even if that were completely true, it's not a good idea to mix different commands, especially for installing or removing packages. If you use rpm to find what you want to remove, remove it with rpm.
And - ditto to what everyone else already said.
mhr
On 7/16/2008 11:53 AM, MHR wrote:
On Wed, Jul 16, 2008 at 9:21 AM, Bowie Bailey Bowie_Bailey@buc.com wrote: Even if that were completely true, it's not a good idea to mix different commands, especially for installing or removing packages. If you use rpm to find what you want to remove, remove it with rpm.
I have never experienced any problems with mixing "rpm" and "yum". Yum is just a dependency checking/resolving front end for rpm. If you attempt to do something with rpm that has dependency problems, it just fails, reports the issue, but it doesn't cause corruption. The only time that using rpm could potentially be a problem is if you did a force install/removal which breaks some dependency.
Kenneth