upgrade version 1.1010.210.62.1 failed
yum get error
http://yum1.freepbxdistro.org/centos/6.2/os/x86_64/repodata/ceb77f94eaccd4b2ec5546135bdd06692393e7deb6e8aaf86d6f479b84bec06b-primary.sqlite.bz2: [Errno -3] Error performing checksum
upgrade version 1.1010.210.62.1 failed
yum get error
http://yum1.freepbxdistro.org/centos/6.2/os/x86_64/repodata/ceb77f94eaccd4b2ec5546135bdd06692393e7deb6e8aaf86d6f479b84bec06b-primary.sqlite.bz2: [Errno -3] Error performing checksum
error by upgrade
base/primary_db | 4.5 MB 00:02
http://yum1.freepbxdistro.org/centos/6.2/os/x86_64/repodata/ceb77f94eaccd4b2ec5546135bdd06692393e7deb6e8aaf86d6f479b84bec06b-primary.sqlite.bz2:
[Errno -3] Error performing checksum
Trying other mirror.
base/primary_db | 4.5 MB 00:02
http://yum1.freepbxdistro.org/centos/6.2/os/x86_64/repodata/ceb77f94eaccd4b2ec5546135bdd06692393e7deb6e8aaf86d6f479b84bec06b-primary.sqlite.bz2:
[Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/ceb77f94eaccd4b2ec5546135bdd06692393e7deb6e8aaf86d6f479b84bec06b-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.
Is this still happening. Looking like a yum issue. Maybe try a yum clean all
I tried yum clean all did not help.
I update from 5.8 to 6.2 could be that the problem script?
We do not provide any upgrade path from 5.8 to 6.2 You completely broke your system. The repo/yum completely changed by Centos and requires a new install
Typo…addign this one line to the start of the script would save lots of people pain. Especially seeing as you use major OS versions in a place that look like minor revisions in most OS’s
1.812.210.57-1 <— that 57 should be AHEAD of the asterisk version IMHO.
if [ lsb_release -sr
< “6.0” ]; then echo “This script will not work on Centos versions besides 6.x” ; fi
You know…I hate to bring up an old thread here but how hard would it really be to add
if [ lsb_release
!= “6.1” ]; then echo “This script will not work on Centos versions besides 6.1” && exit 0 ; fi
To these scripts so you don’t kill peoples installs?
This is basic error trapping…especially when you are doing dangerous operations like this.