SysinternalsEBPF icon indicating copy to clipboard operation
SysinternalsEBPF copied to clipboard

"sysinternalsebpg.prerm: 4: [: remove: unexpected operator" error when uninstalling sysinternalsebpf

Open adriankaylor opened this issue 2 years ago • 1 comments

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) ...```

adriankaylor avatar Mar 15 '23 01:03 adriankaylor

I found that libsysinternalsEBPFinstaller -u fails if the /opt folder doesn't already exist.

rosenqui-cysiv avatar Jul 27 '23 17:07 rosenqui-cysiv