I added functionality to list processes using deleted binaries & libraries after a system update. As this feature is present in openSUSE's zypper and Debian's apt (through the needrestart plugin), I decided to add it to pkg(8).
github.com
To test:
Do some pkg stuff or system update and run `pkg ps [-v]`
Thanks in advance.
Add ps command to list processes using deleted binaries and libraries by ricardobranco777 · Pull Request #2290 · freebsd/pkg
Add ps command to list processes using deleted binaries and libraries. This functionality is found in package managers such as openSUSE's zypper & Debian's apt (using needrestart plugi...
To test:
Bash:
git clone --depth 1 https://github.com/freebsd/pkg
cd pkg
fetch https://github.com/freebsd/pkg/pull/2290.diff
patch -p1 < 2290.diff
./configure
make
# Optional:
doas make install
Do some pkg stuff or system update and run `pkg ps [-v]`
Thanks in advance.
Last edited:
