Package: awstats
Version: 8.0-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu resolute ubuntu-patch
Dear Maintainer,
The awstats depends on libtry-tiny-perl at runtime.
otherwise the command /usr/lib/cgi-bin/awstats.pl
will crash:
Can't locate Try/Tiny.pm in @INC (you may need to install the Try::Tiny module)
(@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1
/usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base
/usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40
/usr/local/lib/site_perl) at /usr/lib/cgi-bin/awstats.pl line 34.
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/awstats.pl line 34.
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/2144805
In Ubuntu, the attached patch was applied to achieve the following:
* d/control : add missing runtime dependency to libtry-tiny-perl
(LP: #2144805)
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'),
(100, 'noble-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.0-19-generic (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru awstats-8.0/debian/control awstats-8.0/debian/control
--- awstats-8.0/debian/control 2025-09-01 10:44:17.000000000 +0200
+++ awstats-8.0/debian/control 2026-03-20 12:15:57.000000000 +0100
@@ -8,7 +8,7 @@
Package: awstats
Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libjson-xs-perl,
+Depends: ${perl:Depends}, ${misc:Depends}, libjson-xs-perl, libtry-tiny-perl
Recommends: libnet-xwhois-perl,
Suggests: apache2 | httpd, libnet-dns-perl, libnet-ip-perl,
libgeo-ipfree-perl, liburi-perl,
Description: powerful and featureful web server log analyzer