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

    manually installed package doesn't appear on lists

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 5 Posters 1.4k 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.
    • adamwA
      adamw
      last edited by

      Hello,

      Version 2.4.4_1

      Following this thread:
      https://forum.netgate.com/topic/116002/offline-package-management
      I have manually installed "sudo" package which works

      Now, when the firewall is online, this package appears on neither "installed" nor "available" list.
      How to make it appear on "installed" list or alternatively on "available" followed by official re-installation (hoping for settings to be preserved)?

      Thanks,
      Adam

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        So you followed a thread from 2 years ago..

        You do understand you could just install sudo from the pfsense repository with a click right? Right there under package manager..

        0_1544201706701_sudo.png

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Ah John... always trying to do everything the EASY way...

          😆 😆 😆

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Note that sudo is the binary package with the sudo command, but the GUI package is pfSense-pkg-sudo. If you didn't install pfSense-pkg-sudo, then it won't show in the GUI.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • adamwA
              adamw
              last edited by

              What I did was copying:

              /var/cache/pkg/sudo-1.8.23_2-c5e7dbf2aa.txz
              /var/cache/pkg/pfSense-pkg-sudo-0.3_1-9e762d8570.txz
              

              from a different 2.4.4 firewall (which is online and had sudo already installed via web GUI) to a memory stick.

              Then I plugged the memory stick into another 2.4.4 offline device.

              Installed them both with "pkg add" starting with "sudo".

              Find command is showing exactly the same output on both firewalls:

              find / -name sudo
              /usr/local/bin/sudo
              /usr/local/etc/pam.d/sudo
              /usr/local/share/licenses/sudo-1.8.23_2/sudo
              /usr/local/libexec/sudo
              /var/db/sudo
              /var/run/sudo
              

              The package seems to be working fine and appears in System menu in web GUI.
              This firewall is now also online.

              Web GUI -> System -> Package Manager
              Under Installed Packages I get: "There are no packages currently installed."
              Under Available Packages I get a long list but "sudo" and "pfSense-pkg-sudo" are not listed.

              Question: How do I make "sudo" appear under "Installed Packages" ?
              So that it accurately reflects the actual state.
              I would imagine it can be achieved with a simple edit or other shell hack.

              1 Reply Last reply Reply Quote 0
              • H
                heper
                last edited by

                you undo all you did & install it from gui, like john said

                1 Reply Last reply Reply Quote 0
                • adamwA
                  adamw
                  last edited by

                  pkg-delete pfSense-pkg-sudo-0.3_1
                  pkg-delete sudo-1.8.23_2
                  

                  followed by GUI re-installation appears to have worked.

                  With high number of packages it's indeed easier (not always trivial though) to bring the firewall online vs manual installations.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Because you installed it "offline" and not from the pfSense repository, it won't display in the GUI list.

                    https://www.netgate.com/docs/pfsense/releases/2-4-4-new-features-and-changes.html#errata

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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