Bug#1098508: adduser lacks dependency on libperl5.40 for Encode.pm

Otto Kekäläinen otto at debian.org
Sat Feb 22 05:53:20 GMT 2025


Hi,

Thanks all for investigating this. Seems it is affecting a large
amount packages as use of 'adduser' is very common. This also breaks a
lot of Debian CI and Salsa CI. If it is not easy to figure out a fix,
please consider reverting to previous behavior as an alternative.

Pasting example of error message here so it is easier to discover:

Can't locate Encode.pm in @INC (you may need to install the Encode
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/sbin/adduser line 27.
 BEGIN failed--compilation aborted at /usr/sbin/adduser line 27.
 dpkg: error processing package rtcw-server (--configure):
 installed rtcw-server package post-installation script subprocess
returned error exit status 2
 Processing triggers for libc-bin (2.40-7) ...
 Errors were encountered while processing:
 rtcw-server
 E: Sub-process /usr/bin/dpkg returned an error code (1)


I am trying to contribute by writing a Salsa CI job that can be used
to test this issue before uploading to Debian archives, but I wasn't
able to reproduce the issue yet. Draft at
https://salsa.debian.org/debian/adduser/-/merge_requests/94



More information about the Perl-maintainers mailing list