Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,287
64
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Hi, I just wanted to comment that today I upgraded from cPanel 11.24.4-S35075 to 11.24.4-S36281 and in the process, I don't understand why upcp decided to downgrade Perl from 5.8.8 to 5.8.5 :confused:
Looking at the update log, upcp simply downloaded Perl 5.8.5 for download.
I'm running on CentOS 4.6. I don't know if using that recently deprecated version of CentOS may be guilty for this to happen. But I think this is something within upcp because CentOS 4.6 has been deprecated on last March, and I have upgraded to cPanel 11.24.4-S35075 on last April without any problem.

Please check the upcp processes. After upcp ended, two processes using realperlinstaller stayed hung, and have to kill'em and upcp --force to repair them. And then, I had to upgrade Perl again to 5.8.8 and recompile Apache because several things were misconfigured. Also, Munin had to be reinstalled because of some Perl errors that bring an "Internal Error" when running thru WHM.

Additional data: Apache 2.2 + dual PHP 4.4.9/5.2.9 + CENTOS 4.6 i686 on virtuozzo
I've upgraded Perl from http://layer1.cpanel.net/perl588installer.tar.gz
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Please open a support ticket for this issue. There are too many possibilities to narrow this down via the forum.
 

dexus

Well-Known Member
Jan 14, 2006
180
11
168
cPanel Access Level
Root Administrator
This also happend to me just today, but that is also not a first time, this also happend a year ago, and I upgraded it again after that, and now again, year later, perl is suddenly downgraded to 5.8.5 again... :confused:

Do you have any new information about this?

@Kent Brockman
What was the reason for this in your case?
 

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,287
64
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Hi. I suspect that the issue was due to deprecated links referenced in the yum config since CentOS 4.6 was moved and the 4.7's urls had changed its syntax. And it seems to be the responsible fact that made impossible to retrieve the correct files.
 

PbG

Well-Known Member
Mar 11, 2003
246
0
166
This happened to one of my servers again. This time I made sure I added perl* to the yum exclude list.
 

dexus

Well-Known Member
Jan 14, 2006
180
11
168
cPanel Access Level
Root Administrator
You shouldn't exclude perl. Check inside the .repo files at /etc/yum.repos.d: verify that the urls are valid!
Why shouldn't exclude perl?

I just compared all settings in yum configuration and repos url's, on servers that dowgraded perl with servers that didn't, and only diference I found on those servers that downgraded perl is that perl was not excluded in yum config, while on those that didn't dowgraded perl it is excluded. So it looks like that is the problem.
 
Last edited:

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,287
64
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Why shouldn't exclude perl?

I just compared all settings in yum configuration and repos url's, on servers that dowgraded perl with servers that didn't, and only diference I found on those servers that downgraded perl is that perl was not excluded in yum config, while on those that didn't dowgraded perl it is excluded. So it looks like that is the problem.
I assume this issue must depend on the OS used in every case. I have Centos 4.6. the problem arise when 4.6 was deprecated and the url's for 4.7 changed in the repos.
What OS are you using?
 

Kevinfrom

Well-Known Member
Jan 18, 2008
47
1
56
Perl should be excluded in yum.conf unless you have a specific reason for not excluding it.

And testing shows the only way Perl can be downgraded to 5.8.5 on CentOS-4.7/4.8 is if allowperlupdates is enabled (=1) in cpanel.config.

WHM > Tweak Settings > Allow perl updates from RPM based linux vendors

If this option is enabled then Perl* gets removed from exclusion allowing Perl updates.