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

Package Upgrades via CLI

Scheduled Pinned Locked Moved pfSense Packages
4 Posts 3 Posters 663 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.
  • T
    tman222
    last edited by May 26, 2023, 11:37 PM

    Hi all,

    Is there a way to install/remove/update pfSense packages from the shell/console as well or can this only be done via the WebGUI? If yes, what would be the process to do so? Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • T
      tman222
      last edited by tman222 May 27, 2023, 12:10 AM May 27, 2023, 12:09 AM

      I think I answered my own question, found this page in the documentation:

      https://docs.netgate.com/pfsense/en/latest/troubleshooting/pkg-broken-database.html

      Is this correct method?

      /usr/local/sbin/pkg-static install -yf <additional-package> <another-additional-package>
      

      Thanks again.

      1 Reply Last reply Reply Quote 0
      • P
        provels
        last edited by May 27, 2023, 10:15 AM

        If the packagess are already installed and you just want to update

        pkg upgrade
        

        will do it.

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        1 Reply Last reply Reply Quote 1
        • J
          JonathanLee
          last edited by May 28, 2023, 4:51 AM

          Pkg update
          Pkg clean

          Clean gets rid of old versions no longer needed

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received