How to fix wget for Fantastico install

If it is wget-1.10.2-3.3.fc5 or wget-1.10.2-8.fc6.1. This version does not honor the “-P” switch.

-P prefix
–directory-prefix=prefix
Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory).

Update to the latest versino or An alternate version that we know works is wget-1.10.2-3.2.1

rpm -qa wget ;
wget ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/5/
i386/os/Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm
chattr -ia /usr/bin/wget
rpm -e wget ;
rpm -ivh –force wget-1.10.2-3.2.1.i386.rpm ;
rpm -qa wget ;

You will also want to put wget on /etc/yum.conf’s “exclude=” line (near the start of the file) so the OS doesn’t automatically reinstall the buggy version.

Reference - http://www.netenberg.com/

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.