Author Topic: Unable to upgrade Queuemetrics using YUM  (Read 5544 times)

wilsonchua

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
    • Email
Unable to upgrade Queuemetrics using YUM
« on: June 03, 2012, 05:46:11 »
Hi All,

I tried to upgrade my queuemetric v 1.5.4 to the latest v 12.05 using the yum method. but this is what i get:


[root@asterisk1 webapps]# yum update queuemetrics
Setting up Update Process
Setting up repositories
not using ftp, http, or file for repos, skipping - 4 is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update


Any one encountered this before?

wilsonchua

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
    • Email
Re: Unable to upgrade Queuemetrics using YUM
« Reply #1 on: June 04, 2012, 04:24:33 »
I have already worked on /etc/resolv.conf
I have already uncommented /etc/yum.repos.d/ baseurl

yum update still fails..

Setting up Update Process
Setting up repositories
not using ftp, http, or file for repos, skipping - 4 is not a valid release or hasnt been released yet
http://mirror.centos.org/centos/4/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.

wilsonchua

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
    • Email
Re: Unable to upgrade Queuemetrics using YUM
« Reply #2 on: June 04, 2012, 04:55:26 »
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.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Unable to upgrade Queuemetrics using YUM
« Reply #3 on: June 05, 2012, 11:01:10 »
I have no idea why it's not working, but nothing prevents you from downloading the queuemetrics packages and its dependencies from http://yum.loway.ch/RPMS and updating them manually.