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

    Iperf Installation problem

    pfSense Packages
    3
    4
    3.6k
    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.
    • P
      pipis9242
      last edited by

      When i am trying to  install iperf

      I see the following :

      Installing iperf and its dependencies.

      Downloading package configuration file… done.
      Saving updated package information... done.
      Downloading iperf and its dependencies... done.
      Checking for successful package installation... failed!

      Installation aborted.

      I tested with the 3 latest RELENG_1 snapshots
      and i get the same error
      It used to  work with older snapshots
      Any help is appreciated
      Is there a way to install it from the shell?

      I found the log file : pkg_mgr_iperf.log

      Beginning package installation.
      Downloading package configuration file...
      iperf-2.0.2 Array
      (
          [0] => Requested space: 1016 bytes, free space: 10546456576 bytes in /var/tmp/instmp.37WndV
          [1] => tar: Unrecognized archive format: Inappropriate file type or format
          [2] => pkg_add: tar extract of /tmp/apkg_iperf-2.0.2.tbz failed!
          [3] => pkg_add: unable to extract table of contents file from '/tmp/apkg_iperf-2.0.2.tbz' - not a package?
          [4] => pkg_add: 1 package addition(s) failed
      )

      Package WAS NOT installed properly.

      I think that there is a problem  in the file  - > http://www.pfsense.com/packages/pkg_config.xml
      concerning iperf

      " <package><name>iperf</name>
            <website>http://dast.nlanr.net/Projects/Iperf/</website>
            <descr>Iperf is a tool for measuring maximum TCP and UDP bandwidth, reminiscent of ttcp and nettest. It has been written to overcome the shortcomings of those aging tools. Iperf can also test UDP bandwidth, loss, and jitter.</descr>
            <category>Network Management</category>
            <config_file>http://www.pfsense.com/packages/config/iperf.xml</config_file>
            <depends_on_package_base_url>http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All</depends_on_package_base_url>
            <depends_on_package>iperf-2.0.2.tbz</depends_on_package>
            <version>2.0.2</version>
            <status>ALPHA</status>
            <required_version>1.0</required_version>
            <configurationfile>iperf.xml</configurationfile></package>

      if i go to -> http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All

      THERE is NO pkg with the name "iperf-2.0.2.tbz" BUT with the name "iperf-2.0.2_1.tbz"

      So, I believe if the file "pkg_config.xml" edited , maybe iperf will be installed properly

      Thanks in advance for any assistance

      1 Reply Last reply Reply Quote 0
      • M
        mrquintopolous
        last edited by

        I too am having this problem using the latest release. Any way an admin can fix up that xml file?

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Just commited a fix.  Please test again in about 10+ minutes.

          1 Reply Last reply Reply Quote 0
          • M
            mrquintopolous
            last edited by

            Working for me, thanks a lot!

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