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


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

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 Marc Haber <mh+debian-packages@zugschlus.de>
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-12 18:00 +0200
Message-ID <LuelP-eNp5-25@gated-at.bofh.it> (permalink)
References <LtVVU-eB0c-9@gated-at.bofh.it> <LtVVU-eB0c-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: severity -1 normal
Control: merge -1 1112486

This is a duplicate.

Greetings
Marc

On Thu, Sep 11, 2025 at 08:16:39PM +0000, Md Ayquassar wrote:
>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!

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Back to linux.debian.bugs.dist | Previous | Next — Previous 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