Removing a package - are dependencies removed?
-
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.
-
Run these commands:
find / -name mwhois find / -name GeoIP find / -name grepcidr find / -name aggregate
-
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.
-
welcome to being based on pkg-ng
-
@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.