Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1261024

Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”

From "Md Ayquassar" <mdayq0@lenta.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”
Date 2025-09-11 22:20 +0200
Message-ID <LtVVU-eB0c-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: adduser
Version: 3.152
Severity: important
Issue `adduser guest` followed by `deluser --remove-all-files guest` for a new user name (here: `guest`). Observe that the second command works for some time and bails out with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” The home directory of the deleted user remains; you'd have to continue with `deluser --remove-home guest` to clean it up. So the option --remove-all-files is not really usable (at least for me).
The exit code of the failed `deluser --remove-all-files guest` is 2.
Bad English put aside (corrected: “Invalid characters in input string; see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”), I kindly ask that at least some more debugging information be shown on stderr, e.g., which character in which string troubled the removal procedure and why. Ideally, such situations should not occur; the fact that some internal procedure cannot deal with some strings the user isn't even aware of (file names?) is a real bug.
Probably related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112486 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112486.
Gratefully!

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” "Md Ayquassar" <mdayq0@lenta.ru> - 2025-09-11 22:20 +0200
  Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” Marc Haber <mh+debian-packages@zugschlus.de> - 2025-09-12 18:00 +0200

csiph-web