Yum update broke :(

Hello,
Newly registered user here, apologies if this is not the correct place to post.

Fully expecting to be told I should have used the gui, but did a “yum update” from the command-line earlier.

The system asked to remove centos-release rpm and replace with schmooze-release-6-5.shmz65.5.i686.rpm

Unfortunately this broke yum altogether. I believe its trying to set a non-existent URL for pbx repository.

According to what I see in my browser when I go to that location the 4.211.65 folder doesnt exist?

Can anyone shed some light please?

Kindest regards and thanks for FreePBX!

Monk


#Core PBX Packages
[pbx]
name=pbx
mirrorlist=http://mirrorlist.freepbxdistro.org/?pbxver=4.211.65&release=6.5&arch=$basearch&repo=pbx
#baseurl=http://yum.freepbxdistro.org/pbx/4.211.65/$basearch/
gpgcheck=0
enabled=1

Which system? What “cat /etc/schmooze/pbx-version” gives you now?

Is it a FreePBX Distro (4.211.64)?

Pleast note that “65” should be a really a “64”…because FreePBX Distro 4.211 is/was CentOS 6.4 based while CentOS 6.5 is the base operating system of the new stable FreePBX Distro 5.211 and your system seems still to be FreePBX Distro 4.211.

I’m not sure what’s happened to your system and I think, at this point a yum roll back is not an option (as a mechanism should be enabled before such type of event), have you tried to modify that “4.211.65” into “4.211.64” and just run a “yum clean all” and then a “yum upgrade” to ONLY see what happens (answering No to any update proposed)? at least until…a developer could help you more.

Hi thanks for looking

should have clarified, yes its a FreePBX distro originally installed before Christmas from FreePBX-5.211.65-3-i386-Full-1388071062.iso.

/etc/schmooze/pbx-version shows 5.211.65-3

What I’m saying is the rpm that was updated contains a duff line which appears to roll back the entry in /etc/yum.repos.d/schmoozecom.repo. See the [pbx] block in the rpm. The URL in there does not exist.

I simply edited it to correct 5.211.65 location and all is restored.

Its the current schmooze-release-6-5.shmz65.5.i686.rpm at fault with incorrect line in.

Ok this is a artifact of our moving we have to do on CentOS. We are fixing it now.

Hi Tony,
Thanks for confirming. For future reference should I have put in a bug report or similar?

Thanks for FreePBX!

yes bug reports can be made at issues.freepbx.org

Secondly if you were using our upgrade scripts this would of been cleaned up. You should always use the Distro upgrade scripts as found at http://wiki.freepbx.org/display/FD/Updating+FreePBX+Official+Distro to update your PBX.