Error: Trying to remove "sangoma-pbx", which is protected

The GUI states that I have 44 RPMs available for upgrade. However, when I attempt to update or upgrade from GUI or CLI I receive the following error - “Error: Trying to remove “sangoma-pbx”, which is protected”. I have attempted the yum “downgrade kmod-forcedeth” suggested in other forum posts, but that ends with an error -

“Error: Package: kmod-forcedeth-0.64-4.sng7.x86_64 (sng-pkgs)
Requires: kernel(napi_complete_done) = 0x905307be”

This is the official distro 14.0.5.25 and was fully up to date before this week.

Edit: I was able to install all of the packages by specifying them individually except for the kernel. Version is kernel.x86_64 0:3.10.0-957.5.1.el7

Loading mirror speeds from cached hostfile
* elrepo: dfw.mirror.rackspace.com
* extras: repos.dfw.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-957.5.1.el7 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-862.14.4.el7 will be erased
--> Processing Dependency: kernel(___ratelimit) = 0x79a38e61 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_alloc_coherent) = 0x35dca755 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_free_coherent) = 0x1ff69ef2 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_init_urb) = 0x60e19c9d for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_init_urb) = 0x60e19c9d for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_kill_urb) = 0xa55bf715 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_reset_device) = 0xddd0084e for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_unlink_urb) = 0x8920bee9 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Running transaction check
---> Package kmod-dahdi-linux.x86_64 0:2.11.1-51.sng7 will be erased
--> Processing Dependency: kmod-dahdi-linux for package: freepbx-14.1-1.sng7.x86_64
--> Processing Dependency: kmod-dahdi-linux for package: dahdi-linux-2.11.1-50.sng7.x86_64
---> Package kmod-wanpipe.x86_64 0:7.0.25-1.sng7 will be erased
--> Running transaction check
---> Package dahdi-linux.x86_64 0:2.11.1-50.sng7 will be erased
--> Processing Dependency: dahdi-linux for package: dahdi-tools-2.11.1-2.sng7.x86_64
--> Processing Dependency: dahdi-linux for package: libopenr2-1.3.4-1.6.sng.x86_64
---> Package freepbx.x86_64 0:14.1-1.sng7 will be erased
--> Processing Dependency: freepbx for package: sangoma-pbx-1807-1.sng7.noarch
--> Running transaction check
---> Package dahdi-tools.x86_64 0:2.11.1-2.sng7 will be erased
---> Package libopenr2.x86_64 0:1.3.4-1.6.sng will be erased
---> Package sangoma-pbx.noarch 0:1807-1.sng7 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx", which is protected

I was able to install 12.7.5-1902-1.sng7 but kernel.x86_64 0:3.10.0-957.5.1.el7 still won’t install.

Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-957.5.1.el7 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-862.14.4.el7 will be erased
--> Processing Dependency: kernel(___ratelimit) = 0x79a38e61 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_alloc_coherent) = 0x35dca755 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_free_coherent) = 0x1ff69ef2 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_init_urb) = 0x60e19c9d for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_init_urb) = 0x60e19c9d for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_kill_urb) = 0xa55bf715 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_reset_device) = 0xddd0084e for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for package: kmod-dahdi-linux-2.11.1-51.sng7.x86_64
--> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Processing Dependency: kernel(usb_unlink_urb) = 0x8920bee9 for package: kmod-wanpipe-7.0.25-1.sng7.x86_64
--> Running transaction check
---> Package kmod-dahdi-linux.x86_64 0:2.11.1-51.sng7 will be erased
--> Processing Dependency: kmod-dahdi-linux for package: freepbx-14.1-1.sng7.x86_64
--> Processing Dependency: kmod-dahdi-linux for package: dahdi-linux-2.11.1-50.sng7.x86_64
---> Package kmod-wanpipe.x86_64 0:7.0.25-1.sng7 will be erased
--> Running transaction check
---> Package dahdi-linux.x86_64 0:2.11.1-50.sng7 will be erased
--> Processing Dependency: dahdi-linux for package: dahdi-tools-2.11.1-2.sng7.x86_64
--> Processing Dependency: dahdi-linux for package: libopenr2-1.3.4-1.6.sng.x86_64
---> Package freepbx.x86_64 0:14.1-1.sng7 will be erased
--> Processing Dependency: freepbx for package: sangoma-pbx-1902-1.sng7.noarch
--> Running transaction check
---> Package dahdi-tools.x86_64 0:2.11.1-2.sng7 will be erased
---> Package libopenr2.x86_64 0:1.3.4-1.6.sng will be erased
---> Package sangoma-pbx.noarch 0:1902-1.sng7 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx", which is protected

A very quick search found this solved issue

Thank you, but my original post states “I have attempted the yum “downgrade kmod-forcedeth” suggested in other forum posts, but that ends with an error”. The only reason people needed to use that command was due to the accidental release of a beta rpm. Unless that has occurred again, it isn’t applicable.

You’ve added external repositories that are causing issues. sng7 also explicitly blacklists elrepo, so you’ve screwed with your machine.

* elrepo: dfw.mirror.rackspace.com
* extras: repos.dfw.quadranet.com
1 Like

Thank you. Reviewing the bash_history reveals when it happened. I will review the repos and attempt to repair.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.