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

    Removing a package - are dependencies removed?

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    5 Posts 4 Posters 2.0k 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.
    • MikeV7896M
      MikeV7896
      last edited by

      When removing a package, are the dependency packages also removed?

      For example, I installed pfBlockerNG, which also installed four other packages as dependencies. When I remove pfBlockerNG, there's a line that says "Removing stale packages… done.", but it seems to appear way too fast for it to have actually removed the four other packages that were installed, if that's what that line is supposed to be showing.

      Given that package dependencies are shown under the package description when you go to remove a package, there should be something indicating that the dependencies are being removed as well, or a reason why a package isn't being removed (i.e. it's a dependency for another package that is still installed).

      I'm not a FreeBSD shell user, so if there's a command I can use to check the packages that are installed, I'd like to see if those four packages are still present or not.

      The S in IOT stands for Security

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        Run these commands:

        find / -name mwhois
        find / -name GeoIP
        find / -name grepcidr
        find / -name aggregate
        

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • MikeV7896M
          MikeV7896
          last edited by

          @BBcan177:

          Run these commands:

          find / -name mwhois
          find / -name GeoIP
          find / -name grepcidr
          find / -name aggregate
          

          No binaries found… GeoIP left behind its data files in /usr/local/share/GeoIP, but that's it. I guess it's doing what it says... it just seemed too fast for four packages to have been removed.

          The S in IOT stands for Security

          1 Reply Last reply Reply Quote 0
          • J
            jwt Netgate
            last edited by

            welcome to being based on pkg-ng

            1 Reply Last reply Reply Quote 0
            • rbgargaR
              rbgarga Developer Netgate Administrator
              last edited by

              @virgiliomi:

              When removing a package, are the dependency packages also removed?

              For example, I installed pfBlockerNG, which also installed four other packages as dependencies. When I remove pfBlockerNG, there's a line that says "Removing stale packages… done.", but it seems to appear way too fast for it to have actually removed the four other packages that were installed, if that's what that line is supposed to be showing.

              Given that package dependencies are shown under the package description when you go to remove a package, there should be something indicating that the dependencies are being removed as well, or a reason why a package isn't being removed (i.e. it's a dependency for another package that is still installed).

              I'm not a FreeBSD shell user, so if there's a command I can use to check the packages that are installed, I'd like to see if those four packages are still present or not.

              Yes, all dependencies are removed, except if one of these dependencies are required by another package installed.

              Renato Botelho

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