Package: dpkg-www
Severity: normal
Dear Maintainer,
I installed dpkg-www on a raspberry pi running raspian (based on Debian 10.1).
For the web server I chose lighttpd and enabled the cgi module.
When accessing the dpkg-www cgi via a web browser, anything clickable did not
work.
It would just print the main page. Looking a bit further and setting the debug
option
I noticed that the script did not receive the query string.
Looking at /usr/lib/cgi-bin/dpkg it tries to load a perl module that is not in
the dependancies.
1261: perl -e "use CGI; my \$q = new CGI(\$_); print scalar
\$q->param('$key')" "$1"
I installed libcgi-pm-perl to satisfy the dependancy and then the CGI worked as
it should.
The system information below is not the same system where I encountered the
problem.
I doubt that it makes much difference.
-- System Information:
Debian Release: 9.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg-www depends on:
ii apt 1.4.9
pn dwww <none>
pn info2www <none>
ii perl 5.24.1-3+deb9u5
Versions of packages dpkg-www recommends:
pn apache2 | httpd <none>
Versions of packages dpkg-www suggests:
ii chromium [www-browser] 73.0.3683.75-1~deb9u1
ii dctrl-tools [grep-dctrl] 2.24-2+b1
ii dlocate 1.07+nmu1
ii firefox-esr [www-browser] 60.9.0esr-1~deb9u1
pn man2html <none>
ii tasksel 3.39