Trouble installing wget



  • Alix board running 2.0 beta 20100423 build

    /etc/rc.conf_mount_rw

    pkg_add -r wget
    Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/wget.tbz… Done.
    Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/libiconv-1.13.1_1.tbz... Done.
    Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/gettext-0.17_1.tbz... Done.
    install-info: not found
    pkg_add: command 'install-info --quiet /usr/local/info/autosprintf.info /usr/local/info/dir' failed
    install-info: not found
    pkg_add: command 'install-info --quiet /usr/local/info/gettext.info /usr/local/info/dir' failed
    install-info: not found
    pkg_add: command 'install-info --quiet /usr/local/info/wget.info /usr/local/info/dir' failed

    pkg_info
    gettext-0.17_1      GNU gettext package
    libiconv-1.13.1_1  A character set conversion library
    wget-1.12          Retrieve files from the Net via HTTP(S) and FTP

    Tried wget to see if it works, but it says its not found.

    I then tried to delete wget:

    pkg_delete wget-1.12
    install-info: not found
    pkg_delete: unexec command for 'install-info --quiet --delete /usr/local/info/wget.info /usr/local/info/dir' failed
    pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)

    pkg_info does show wget removed though. Not sure if there's stuff left from the failed install though.

    Not sure what to do at this point. Any idea? I'm not too linux savvy but I'm slowly learning.



  • there another method works like wget…try use "fetch"

    fetch http://domain.tld/files.ext



  • Yeah I know I can use fetch. I'm just trying to understand why this would fail and if it can be fixed.

    The main reason I wanted wget is for some pre-written scripts that use it. If I can't get wget to work, I guess I can rewrite it with a 'fetch' equivalent.



  • It's actually working fine (aside from installing the documentation, which will fail, but it's still there). You don't seem to have run 'rehash' after doing the pkg_add, that's probably all you need.


Log in to reply