How to manually uninstall packages (bandwidthd)?

  • I've just installed the bandwidthd package but accidently refreshed the install package page and did a double install. When I try use the package I now get "XML error: no packagegui object found! " on the screen. I tried to uninstall the package but I get the same error message. Is it some how possible to manually uninstall this package?

    I'm using pfSense 1.2 RC2

  • Go to Diagnostics/Command and in the command line type


    Find the exact package name of bandwidthd, then in the command line again type:

    pkg_delete (followed by the bandwidth name you noted with pkg_info)

    You could pkg_info after that to confirm its uninstalled.

  • I've performed that command and confirmed its been uninstalled using pkg_info however, bandwidthd is still showing as installed via the webgui. Do I need to reboot pfSense?

  • And to be sure it doesn't get re-installed on boot got to Diagnosics | Backup/Restore, download the config.xml and
    from  <installedpackages>  edit out:


    Restore configuration from the GUI and it will reboot automatically after that.
    If the package info is still found in the config.xml then pfSense tries to reinstall it on boot.</installedpackages>

  • Thanks for that. In the .XML file I'm going to remove the following lines….can I use Microsoft Word or Dreamer Weaver to edit the .XML? I'm worried they going to change the charector code of the FreeBSD text formatting in the .XML. If that makes sense?

    <descr>BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization. Charts are built by individual IPs, and by default display utilization over 2 day, 8 day, 40 day, and 400 day periods. Furthermore, each ip address's utilization can be logged out at intervals of 3.3 minutes, 10 minutes, 1 hour or 12 hours in cdf format, or to a backend database server. HTTP, TCP, UDP, ICMP, VPN, and P2P traffic are color coded.</descr>

    <url>/pkg_edit.php?xml=bandwidthd.xml&id=0</url></tooltiptext> </menu>


  • is a good freeware editor that won't change the fileformat. I use it to do all my config.xml editing beyond other things as well.

  • Sweet. Thanks for that!

  • @gshipp:

    …can I use Microsoft Word or Dreamer Weaver to edit the .XML?

    No, please don't!
    Even though it's an XML file you can edit it with most any pure text editors like notepad from Windows.

    I'd like to mention notepad++ ( which is a free notepad alternative comparable to hoba's editor of choice. UltraEdit should work as well but I think it's not free…

Log in to reply