[olug] yum/rpm question

Kevin D. Snodgrass kdsnodgrass at yahoo.com
Wed Jun 13 03:58:15 UTC 2012

----- Original Message -----

> From: Noel Leistad <noel at metc.net>
> Anyone have any suggestions. Am I barking up the wrong tree chasing lvm2
> when I should be looking elsewhere on the SAN config??
> at issue:
> -- > lvm2.i386                                  2.02.84-6.el5_7.2  installed
> -- > lvm2.i386                                  2.02.88-7.el5      installed
> lvm2-cluster.i386                          2.02.88-7.el5      installed
> I've considered rpm -e --no-deps lvm2 (?), if this is equivalent to
> operating heavy machinery which impaired, somebody please stop me... :-)

First, I wouldn't use rpm, yum does everything rpm does and better. </soapbox>

Try listing all the files in each package as well as the dependancies.  See if there is a reason for this.  Just a thought.

If you want to remove the old version, specifying the entire package name should do the job.  Ex:

# yum erase lvm2-2.02.88-7.el5.i386

If that command wants to remove a bunch of things because of dependancies, then I would try this:

# package-cleanup -- dupes
# package-cleanup --cleandupes

Kevin D. Snodgrass 

More information about the OLUG mailing list