so it might be because my centos version is 4.6 final. (which is old)
so i replaced the baseurl with vault.centos.org instead of mirro.centos.org
and then i did this:
yum clean metadata
yum clean dbcache
yum makecache
to which i get these errors:
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
trixbox 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el3/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')>
Trying other mirror.
rpmforge 100% |=========================| 1.9 kB 00:00
base 100% |=========================| 1.1 kB 00:00
trixboxaddons 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
LowayResearch 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
http://yum.trixbox.org/centos/4/RPMS/repodata/primary.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: failure: repodata/primary.xml.gz from trixbox: [Errno 256] No more mirrors to try.
on the server, i can ping both urls without any issues.