Xen CentOS Default Image Repo/Yum issue

With a default deployment of CentOS on Xen, using the default supplied CentOS x86_64 base image, I cannot install vi or irssi, nor are they installed (without downloading from source and compiling).

I'm not exactly sure what is causing this, but I certainly know it isn't normal behaviour.

Status: 
Closed (fixed)

Comments

What happens if you try to install vi from YUM with a command like :

yum install vim

-bash-3.2# yum install vim Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors2.portafixe.com * updates: centos.intergenia.de * addons: mirrors2.portafixe.com * extras: mirrors2.portafixe.com base | 1.1 kB 00:00 updates | 951 B 00:00 addons | 951 B 00:00 extras | 1.1 kB 00:00 Setting up Install Process Parsing package install arguments No package vim available. Nothing to do

My mistake, the package is really called vim-enhanced , so you have to run :

yum install vim-enhanced

Aha, thanks. But what about irssi? I'm pretty sure there's a package for irssi on CentOS 5.3 x86_64.

You can search for it with a command line :

yum list | grep irssi

If you have extra packages you want in an image, you can create a system, install whatever you need, then create your own image from that system.

-bash-3.2# yum list | grep irssi -bash-3.2#

Aha, thanks. The images I must have been working on must've had dag's repos on it. My bad.