Plugin installation removes libbz2
Upon checking the plugins (ui/core/firmware#plugins
) and attempting to reinstall os-zabbix62-agent
, it promptly removes the libbz2
package without any user confirmation. The "backend" log line from the webgui:
[4329ae72-9ab6-4761-ad37-c850f1ae78a4] Script action failed with Command 'pkg update -q && pkg rquery -U "%n|||%v|||%c|||%sh|||0|||0|||%L|||%R|||%o" ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 482, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'pkg update -q && pkg rquery -U "%n|||%v|||%c|||%sh|||0|||0|||%L|||%R|||%o" ' returned non-zero exit status 1.
/var/log/pkg/latest.log
:
<13>1 2023-04-04T22:26:02+02:00 firewall pkg 48102 - [meta sequenceId="1"] hbsdfw-libbz2-13.2 deinstalled
Due to pkg(8)
depending on libbz2
there is no trivial way to undo this 'unwanted removal'. I have temporary worked around this by grabbing libbz2.so.4
from another HBSD 13-STABLE system - in order to be able to use pkg(8)
again.