Logwatch: Installation incomplete
Package Information
- Package name: logwatch
- Package version: logwatch-7.10-r0
- Alpine version: 3.19.1
- Alpine architecture: x86_64
Summary
The installation misses the following dependency: perl-html-parser
. After installing logwatch
, I get the error as seen in the Steps to reproduce
section. Additionally installing perl-html-parser
manually resolves the problem.
Steps to reproduce
On a clean installation (in my case, in a new Proxmox container):
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk add logwatch@testing
logwatch --help
Result:
Can't locate HTML/Entities.pm in @INC (you may need to install the HTML::Entities module) (@INC entries checked: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/bin/logwatch line 64.
BEGIN failed--compilation aborted at /usr/bin/logwatch line 64.