Buggy wget with CentOS 5.x / cPanel 11

cyberdolphin

Registered
Sep 7, 2006
2
0
151
World Wide Web
:confused: I want to reinstall Fantastico but get a notice that my version of wget is buggy.

WHM 11.15.0 cPanel 11.18.6-R24255
CENTOS Enterprise 5 i686 on standard – WHM X v3.1.0
 

pirrup

Well-Known Member
Nov 27, 2004
54
0
156
this comes from netenbergs forum :
If you have Fedora Core 5/6 or CentOS 5 or Red Hat Enterprise Linux 5 on your server and are experiencing troubles with respect to upgrades (forced or otherwise) of Click Be! or Fantastico or Universina, please check the wget version that you have on your server.

If it is wget-1.10.2-3.3.fc5 or wget-1.10.2-7.el5 or wget-1.10.2-8.fc6.1, we suggest that you replace it immediately with an older and/or stabler version. This version does not honor the "-P" switch.

An alternate version that we suggest is wget-1.10.2-3.2.1

You can use the following commands for this purpose.

For 32-bit:

Code:

rpm -qa wget ;
wget http://mirrors.kernel.org/fedora/core/5/i386/os/Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm
rpm -e wget ;
rpm -ivh --force wget-1.10.2-3.2.1.i386.rpm ;
rpm -qa wget ;


For 64-bit:

Code:

rpm -qa wget ;
wget http://download.fedora.redhat.com/p...86_64/os/Fedora/wget-1.10.2-15.fc7.x86_64.rpm ;
rpm -e wget ;
rpm -ivh --force wget-1.10.2-15.fc7.x86_64.rpm ;
rpm -qa wget ;


Note: You must execute the commands shown above as root.

You will also want to put wget on /etc/yum.conf's exclude= line so the OS doesn't automatically reinstall the buggy version.
 

cyberdolphin

Registered
Sep 7, 2006
2
0
151
World Wide Web
Hello,

thank you very much for your reply.

I already know about this page at Netenberg but wondering how it is possible to have with OS such as Centos / RedHat a buggy wget command and also do not feel so comfortable to replace Centos stuff by Fedora (i remain a Linux newbie).