How do I tell RedHat that I have deleted packages and don't want YUM to put them back

Mark Romer mark.romer at noaa.gov
Fri May 11 12:47:14 UTC 2012


in your /etc/yum.conf  put in an exclude line like this...
that matches your package name

exclude=ImageMagick*

Mark

On Thu, May 10, 2012 at 9:37 PM, Steve Phillips <steve.phillips at gmail.com>wrote:

> Hey Rob,
>
> You might also be interested in
> http://www.mnxsolutions.com/apache/centos5-and-php52-upgrade-rpms.html
>
> I recently upgraded to RHEL6 for similar reasons that you describe, and
> then found that there were php52 RPMS available that would happily install
> instead of the stock php rpms.
>
> Hope this helps.
>
> --
> Steve.
>
> On Sat, May 5, 2012 at 8:05 AM, Rob Tanner <rtanner at linfield.edu> wrote:
>
> > Hi,
> >
> > I'm running a web server Enterprise 5.x and it had the distro version
> > (5.1.6) of PHP which, unfortunately, is too old a version for WordPress
> > which requires at least PHP 5.2.x and so I built that from source.  The
> > problem I have is when I run updates since the update process will
> replace
> > the libphp5.so Apache module which, in turn, breaks WordPress.  My
> solution
> > was to erase the distro PHP packages and what I want to make sure is that
> > yum doesn't put them back the next time RedHat updates one of them.
> >
> > So, is the fact that they're erased sufficient in itself or do I need to
> > run some other program update the machines profile at RedHat?
> >
> > Thanks,
> >
> > Rob Tanner
> > Linfield College
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list