chiefme

Member
Jan 21, 2009
13
0
51
cPanel Access Level
Root Administrator
The same problem for all our cPanel/WHM - (11.38.1 (build 13)) servers, all munin installs is manual, not as cpanel plugin.
Code:
[email protected] [~]# rpm -q munin
munin-2.0.16-1.el6.noarch
Every day i get "Cpanel update failure during updatenow".
Code:
...
[20130717.041905]   Testing RPM transaction
[20130717.041906]   error: Failed dependencies:
[20130717.041906] munin conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906] munin-node conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906] munin-common conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906] W Exit Code: 2
[20130717.041906] ***** FATAL: Test install failed: error: Failed dependencies:
[20130717.041906] munin conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906] munin-node conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906] munin-common conflicts with cpanel-perl-514-munin-1.4.7-8.cp1136.x86_64
[20130717.041906]   The Administrator will be notified to review this output when this script completes
[20130717.041906] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 
...

Then I go to Home »cPanel »Manage Plugins i see Install and keep updated - is checked, but i didn't install it through Cpanel's plugins. So then I uncheck this box, cpanel updates, everything seems fine until the next update.


Anyone else has a similar problem?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello :)

I moved this post into it's own thread for you.

You can exclude Munin from the cPanel RPM system with a command such as:

Code:
/scripts/update_local_rpm_versions --edit target_settings.munin unmanaged
This should prevent automatic attempts to install the Munin RPM provided by cPanel. There is documentation on this at:

How to Customize and Override the rpm.versions System

Thank you.
 

chiefme

Member
Jan 21, 2009
13
0
51
cPanel Access Level
Root Administrator
Hello,

Sorry for such late reply, I was on vacation.

I tried that you suggested.
Run command:
Code:
/scripts/update_local_rpm_versions --edit target_settings.munin uninstalled
File changes:
Code:
cat /var/cpanel/rpm.versions.d/local.versions
---
file_format:
  version: 2
target_settings:
  munin: uninstalled
But after then I run cpanel update, local.versions file changes back to:
Code:
cat /var/cpanel/rpm.versions.d/local.versions
---
file_format:
  version: 2
target_settings:
  munin: [B][COLOR="#FF0000"]installed[/COLOR][/B]
And also in Home »cPanel »Manage Plugins check box on Install and keep updated becomes checked.

As a result I always should run command /scripts/update_local_rpm_versions --edit target_settings.munin uninstalled after each cpanel update.
So my main question is: how permanently to fix this problem?

I would be very grateful for any advice how to solve this problem.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Could you open a support ticket for this issue so we may attempt to reproduce the problem and open an internal case if necessary? You can open a ticket via:

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.