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

Manually installing packages from the command line / ssh / console

Scheduled Pinned Locked Moved pfSense Packages
4 Posts 2 Posters 21.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.
  • L
    luckman212 LAYER 8
    last edited by Oct 19, 2018, 5:25 PM

    Today I had a far-away unit on 2.4.3-p1 running just fine. I needed Cron on there to schedule some gateway monitoring scripts.

    Here's what popped up:
    0_1539969439623_485efed0-6c65-47cf-9153-549b0c3041df-image.png

    Ugh. I did NOT feel like rolling the dice on a Friday afternoon and risking having to drive out and rescue this thing. 2.4.4 hasn't had a good track record of successful field upgrades for me so far.

    Long story short, I gave this a try via ssh and it worked like a charm:

    # pkg install pfSense-pkg-Cron
    

    Cron package is now up and running, and I can enjoy my Friday afternoon 😉
    Posting in case this helps anyone, posting here since most of the threads I found when I searched for "manually install package" were 2-7 years old...

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 19, 2018, 6:18 PM

      Had that pulled in some other dependency incompatible with 2.4.3 you would have just shot your own foot, though. I wouldn't advise anyone do that. :-)

      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
      • L
        luckman212 LAYER 8
        last edited by Oct 19, 2018, 7:41 PM

        Yikes. Ok I guess I dodged a bullet on this one then. Any way to tell via CLI whether such a dependency exists?

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Oct 19, 2018, 8:01 PM

          Well as long as you don't use -y it will still ask for confirmation after printing the list of changes so it's not awful, but still someone could absentmindedly hit y not realizing the list of changes was bad.

          You could run pkg install -n blah and read the output to know for sure in a safe way.

          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
          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