[CentOS] How to install Vlc on CentOs 6 (Solved)

Fri Aug 5 21:59:16 UTC 2011
François Colonna <f.colonnacesari at free.fr>

Le vendredi 05 août 2011 à 23:43 +0200, François Colonna a écrit :
> # yum install vlc
> ends with :
> 
> --> Finished Dependency Resolution
> Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
>            Requires: libdvdread.so.3
>            Available: libdvdread-0.9.4-0.el5.rf.i386 (rpmforge)
>                libdvdread.so.3
>            Available: libdvdread-0.9.7-1.el5.rf.i386 (rpmforge)
>                libdvdread.so.3
> Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
>            Requires: libfribidi.so.0
> Error: Package: libcddb-1.3.1-1.el5.rf.i386 (rpmforge)
>            Requires: libcdio.so.7(CDIO_7)
>            Available: libcdio-0.77-1.el5.rf.i386 (rpmforge)
>                libcdio.so.7(CDIO_7)
> Error: Package: aalib-1.4.0-5.el5.rf.i386 (rpmforge)
>            Requires: libgpm.so.1
> Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
>            Requires: libgnutls.so.13(GNUTLS_1_3)
> Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
>            Requires: libgnutls.so.13
> Error: Package: libcddb-1.3.1-1.el5.rf.i386 (rpmforge)
>            Requires: libcdio.so.7
>            Available: libcdio-0.77-1.el5.rf.i386 (rpmforge)
>                libcdio.so.7
> Error: Package: vlc-0.9.9a-7.el5.rf.i386 (rpmforge)
>            Requires: libFLAC.so.7
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest

I found this on a forum :

rm -f /var/lib/rpm/__db*
rpm –rebuilddb
yum clean all

then 

yum install vlc 

worked fine.
What was the problem ?

F.C.