[Bug 2138842] Re: coreutils-from-uutils: deluser <USER> fails with option --remove-home

Sylvestre Ledru 2138842 at bugs.launchpad.net
Thu Jan 22 07:45:03 UTC 2026


** Package changed: rust-coreutils (Ubuntu) => adduser (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2138842

Title:
  coreutils-from-uutils: deluser <USER> fails with option --remove-home

Status in adduser package in Ubuntu:
  New

Bug description:
  I am using:

  ~$ lsb_release -ds
  Ubuntu 25.10
  ~$ dpkg -l | grep coreutil
  ii  coreutils                                     9.5-1ubuntu2+0.0.0~ubuntu24                all          coreutils meta package
  ii  coreutils-from-uutils                         0.0.0~ubuntu24                             all          coreutils from the uutils project
  ii  gnu-coreutils                                 9.5-1ubuntu4                               amd64        GNU core utilities
  ii  rust-coreutils                                0.2.2-0ubuntu2.1                           amd64        Universal coreutils utils, written in Rust
  ~$

  When I try to remove a user and his home at once, I get an error

  ~$ sudo deluser test27 --remove-home
  invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.
  ~$

  workaround: 
  split it in two steps
  ~$ sudo deluser test27
  ~$ sudo find /home/test27/ -delete
  ~$

  -----

  For your interrest
  This does not appear on another system with coreutils-from-gnu

  ~$ dpkg -l | grep coreutil
  ii  coreutils                                     9.5-1ubuntu2+0.0.0~ubuntu24                all          coreutils meta package
  ii  coreutils-from-gnu                            0.0.0~ubuntu24                             all          coreutils from the GNU coreutils project
  ii  gnu-coreutils                                 9.5-1ubuntu4                               amd64        GNU core utilities
  ii  rust-coreutils                                0.2.2-0ubuntu2.1                           amd64        Universal coreutils utils, written in Rust
  ~$ sudo deluser test26 --remove-home
  ~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/2138842/+subscriptions




More information about the foundations-bugs mailing list