LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to install vlc player for centos 6.2 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-install-vlc-player-for-centos-6-2-a-926560/)

paruhang 01-30-2012 01:55 PM

unable to install vlc player for centos 6.2
 
hi everybody,
i have download centos 6.2 and while installing vlc player from "http://blog.ask4itsolutions.com/2011/07/25/how-to-install-vlc-player-on-rhel-6-x-centos-6-x-32-bit-64-bit-x86_64-using-script/"
i have some error messages so i can't install vlc on my laptop

# sh vlc6-installation.sh




Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit

Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime

Please Enter your Selection:C32
You have selected VLC Installation for CentOS 6.x.... Just Sit back and Relax.....
You are running as a root, Moving to next step.....
You cannot continue, CentOS release 6.2 (Final), CentOS Linux version must be 6.x

so i want to install vlc player on my laptop, is it possible to install from above blog?

Janus_Hyperion 01-30-2012 02:51 PM

As far as I know, VLC is available in the repositories (RPMforge). You should be able to install it using yum unless you are specifically looking to install it using the script.

paruhang 01-30-2012 08:08 PM

hi, iam using 32 bits centos 6.2 i have problem installing vlc in my laptop. i have download rpmforge-release-0.5.2-2.el5.rf.i386.rpm from this link

http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm

and follow the instruction as given

# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
# yum install vlc -y

such error occurs

# yum install vlc -y

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.iitm.ac.in
http://mirror.centos.org/centos-6/6....ta/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: tejas-barot-vlc. Please verify its path and try again

so what is error and how can i fix this error and how can i install vlc on my laptop. any kinds of ideas and suggestions are accepted.

Satyaveer Arya 01-31-2012 12:58 AM

Try this:

Quote:

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

Quote:

# yum install vlc
and check this page also:

https://www.centos.org/modules/newbb...topic_id=32969

John VV 01-31-2012 06:09 AM

You installed the repo file for cent5
and you are running cent 6
6 can not use the repo for 5
the two operating systems are NOT compatible

also you might want to READ the cent wiki
http://wiki.centos.org/

http://wiki.centos.org/AdditionalResources/Repositories
the INSTRUCTIONS for installing rpmforge on 6
http://wiki.centos.org/AdditionalRes...ories/RPMForge

and install the repo for cent6

when you click on the repo file ( for the 32 bit " rpmforge-release-0.5.2-2.el6.rf.i686.rpm" )in firefox you can choose to INSTALL or download
select install

paruhang 02-01-2012 05:05 PM

hi everybody,
i was not able to install vlc player on my laptop so i have follow the above instructions but such error occurs while downloading rpmforge-release-0.5.2-2.el6.rf.i686.rpm and installing.


[root@binary Downloads]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Preparing... ########################################### [100%]
file /etc/apt/sources.list.d/rpmforge-extras.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge-extras from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge-testing from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/mirrors-rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.apt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.smart from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.up2date from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386


and i have done the following steps,

1) [root@binary yum.repos.d]# rm -f *
[root@binary yum.repos.d]# ls
[root@binary yum.repos.d]#


2) [root@binary sources.list.d]# rm -f *
[root@binary sources.list.d]# ls
[root@binary sources.list.d]#

3) [root@binary rpm-gpg]# rm -f *
[root@binary rpm-gpg]# ls
[root@binary rpm-gpg]#

4) [root@binary rpmforge-release-0.5.2]# rm -f *
[root@binary rpmforge-release-0.5.2]# ls
[root@binary rpmforge-release-0.5.2]#

5) [root@binary channels]# rm -f *
[root@binary channels]# ls
[root@binary channels]#

6) [root@binary rhn]# rm -f *
[root@binary rhn]# ls
[root@binary rhn]#

after,

file /etc/apt/sources.list.d/rpmforge-extras.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge-extras from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/mirrors-rpmforge-testing from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/mirrors-rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.apt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.smart from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.up2date from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386


so i was not able to install vlc on my machine and did i remove important file so i will get other problem except installing vlc

John VV 02-01-2012 05:31 PM

remove the repo for cent 5

Quote:


and i have done the following steps,

1) [root@binary yum.repos.d]# rm -f *
[root@binary yum.repos.d]# ls
[root@binary yum.repos.d]#
--- and the rest ---

WHY ????

at this point it is most likely easier for you to start over
reformat and reintall


all you had to do in the first place was uninstall the cent5 rpmforge repo

did you read the "help" options for rpm?
Code:

rpm --help
" -e, --erase=<package>+ erase (uninstall) package"
or you could have used
" --replacefiles "

paruhang 02-03-2012 12:47 PM

hellow everybody,
thank you every one for giving me an idea about installing vlc player. finally i format and reinstall centos and able to install by downloading rpmforge-release-0.5.2-2.el6.rf.i686.rpm on my machine and install vlc and mplayer.


so i have one more questions,

i have install centos on my friend machine and can install creating local repo previously i used RHEL6 i know how to create and install but the problem is where can i fine .rpm files in my machine i have already installed of vlc..?

any kinds of ideas are accepted and thankx in advance.


All times are GMT -5. The time now is 10:45 AM.