Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Trouble installing wget

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 6.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jbradshw
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • N
        NeophyteHeaven
        last edited by

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

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

        running pfsense 1.2.3-RELEASE on Dell R300 (raid1), Lusca/LUSCA_HEAD r14560 patched by chudy r11

        1 Reply Last reply Reply Quote 0
        • J
          jbradshw
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.