LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error while installing VIM? (http://www.linuxquestions.org/questions/linux-newbie-8/error-while-installing-vim-4175412031/)

Ajit Gunge 06-18-2012 06:06 AM

Error while installing VIM?
 
Hi All,
I am getting the following error while installing VIM using the command yum install -y vim.

Quote:

Total download size: 8.3 M
Installed size: 27 M
Downloading Packages:
(1/6): compat-readline5-5.2-18.fc15.i686.rpm | 126 kB 00:00
http://ftp.riken.jp/Linux/fedora/upd...fc16.i686.rpm: [Errno 12] Timeout on http://ftp.riken.jp/Linux/fedora/upd...fc16.i686.rpm: (28, '')
Trying other mirror.
(2/6): gpm-libs-1.20.6-21.fc16.i686.rpm | 29 kB 00:00
(3/6): ruby-libs-1.8.7.358-1.fc16.i686.rpm | 1.8 MB 00:07
(4/6): vim-common-7.3.515-2.fc16.i686.rpm | 5.4 MB 00:19
(5/6): vim-enhanced-7.3.515-2.fc16.i686.rpm | 890 kB 00:03
(6/6): vim-filesystem-7.3.515-2.fc16.i686.rpm | 9.8 kB 00:00
--------------------------------------------------------------------------------
Total 101 kB/s | 8.3 MB 01:24
Running Transaction Check
Running Transaction Test


Transaction Check Error:
file /usr/bin/ex from install of vim-enhanced-2:7.3.515-2.fc16.i686 conflicts with file from package vim-minimal-2:7.3.515-1.fc16.i686

Error Summar
Can some one tell me how can I get rid of this error.Thanks for all your help.

Regards,

pan64 06-18-2012 06:09 AM

probably you need to uninstall vim-minimal first

Ajit Gunge 06-18-2012 07:10 AM

Thanks Pan.That helped.Just to add do this to uninstall the software

yum list |less.Find the software that you want to uninstall.
yum remove {software name}


All times are GMT -5. The time now is 03:07 PM.