CentOS perl issues
Phil Hale
phaleintx at gmail.com
Wed Apr 7 20:00:45 IST 2010
Hello List,
I'd recommend looking at using the yum Priorities and ProtectBase
plugins as described here:
http://wiki.centos.org/PackageManagement/Yum/Priorities
http://wiki.centos.org/PackageManagement/Yum/ProtectBase
CentOS discusses their use with 3rd party repositories on the following
page under the heading "3rd Party Repositories"
http://wiki.centos.org/AdditionalResources/Repositories
Basically you set your CentOS repositories to be higher priority than
rpmforge or epel and then packages from those repositories will not
replace packages found in the base CentOS repositories.
Phil Hale
On Thu, 2010-04-08 at 04:08 +1000, Marc Lucke wrote:
> I like to use rpmforge because of updated (from CentOS5 repos)
> spamassassin and clamav and am quite happy to update manually. With the
> repo turned off this works:
>
> yum --enablerepo=rpmforge -y install clamav spamassassin
>
> Of course you need to update the perl module with something like
>
> cpan Mail::SpamAssassin && sa-update
>
> There's probably a way to tell yum to update only these packages from
> rpmforge automatically but I have bothered with that. It does annoy me
> that the rpmforge and centos repos clash on perl but meh - what can you
> do and would you bother?
>
>
> Marc
>
> Lance Haig wrote:
> > This is one of the key reason I love this list.
> >
> > Thanks for all the informed help and suggestions
> >
> > Lance
> >
> > On 07/04/2010 06:07, Iulian L Dragomir wrote:
> >> For one time occurrence use
> >>
> >> yum --exclude=package* update
> >>
> >> In your case if you want to exclude only those 6 packages :
> >>
> >> yum --exclude=perl-bignum --exclude=perl-File-Temp
> >> --exclude=perl-Math-BigRat --exclude=perl-Sys-Syslog
> >> --exclude=perl-Test-Harness --exclude=perl-Test-Simple update
> >>
> >> This 6 packages are for now the only packages that have older versions
> >> in mailscanner installation comparing to the rpmforge repo. In the
> >> future this list will not remain constant.
> >>
> >> If you want to exclude all perl packages use for one time update
> >>
> >> yum --exclude=perl* update
> >>
> >> If you need a more permanent solution use Craig's solution or look in
> >> to yum-protect-packages plug-in or use a more drastic solution
> >> (Michael's solution will disable rpmforge all together ) Other
> >> solutions are documented in the archive.
> >>
> >> Fore MailScanner updates use "./install.sh reinstall". More info on
> >> this subject here
> >>
> >> http://lists.mailscanner.info/pipermail/mailscanner/2009-April/090861.html
> >>
> >>
> >>
> >> Iulian L.D.
> >>
> >
> >
> > --
> > This message was scanned by Better Hosted and is believed to be clean.
> > http://www.betterhosted.com
> >
More information about the MailScanner
mailing list