SysinternalsEBPF
SysinternalsEBPF copied to clipboard
"sysinternalsebpg.prerm: 4: [: remove: unexpected operator" error when uninstalling sysinternalsebpf
Apt is throwing an error when uninstalling ebpf on Ubuntu 22.04 and does not seem to be running libsysinternalsEBPFinstaller -u or ldconfig
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
sysinternalsebpf
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 21.0 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 139706 files and directories currently installed.)
Removing sysinternalsebpf (1.1.0) ...
/var/lib/dpkg/info/sysinternalsebpf.prerm: 4: [: remove: unexpected operator
Processing triggers for man-db (2.10.2-1) ...```
I found that libsysinternalsEBPFinstaller -u fails if the /opt folder doesn't already exist.