[CentOS] Web photo gallery options

Wed Jul 1 17:37:15 UTC 2009
Lanny Marcus <lmmailinglists at gmail.com>

On Wed, Jul 1, 2009 at 4:25 AM, Sorin Srbu<sorin.srbu at orgfarm.uu.se> wrote:
<snip>
>>FYI, gallery2 is available in EPEL for EL-5.
>
> I used the info available at
> http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/ to
> add the EPEL-repo.
>
> root at kadath ~ [0 jobs]# yum repolist
> Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror,
> kernel-module, priorities, protectbase, tsflags, versionlock
> Loading mirror speeds from cached hostfile
>  * epel: mirrors.se.eu.kernel.org
>  * rpmforge: apt.sw.be
>  * contrib: mirror.ii.uib.no
>  * base: mirror.ii.uib.no
>  * updates: mirror.ii.uib.no
>  * addons: mirror.ii.uib.no
>  * extras: mirror.ii.uib.no
> repo id              repo name                                status
> addons               CentOS-5 - Addons                        enabled :
> 0
> base                 CentOS-5 - Base                          enabled :
> 2,508
> contrib              CentOS-5 - Contrib                       enabled :
> 0
> epel                 Extra Packages for Enterprise Linux 5 -  enabled :
> 4,377
> extras               CentOS-5 - Extras                        enabled :
> 311
> rpmforge             Red Hat Enterprise 5 - RPMforge.net - da enabled :
> 8,852
> updates              CentOS-5 - Updates                       enabled :
> 311
> repolist: 16,359
> root at kadath ~ [0 jobs]#
>
> root at kadath ~ [0 jobs]# yum install *gallery*
> Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror,
> kernel-module, priorities, protectbase, tsflags, versionlock
> Loading mirror speeds from cached hostfile
>  * epel: mirrors.se.eu.kernel.org
>  * rpmforge: apt.sw.be
>  * contrib: mirror.ii.uib.no
>  * base: mirror.ii.uib.no
>  * updates: mirror.ii.uib.no
>  * addons: mirror.ii.uib.no
>  * extras: mirror.ii.uib.no
> 0 packages excluded due to repository protections

You do not have priorities configured properly. It is not working.
IMHO, since you (like me) have both rpmforge and epel configured, you
should give epel a very low priority or epel will replace a *LOT* of
the packages on your box.  Also, I suggest you disable the protecbase
plug in. Priorities is newer and more powerful.