Open /usr/share/perl5/Debian/AdduserCommon.pm with root/administrative
privileges
perform edit at line 132
add "-" in $pattern variable
like this -> $pattern //= qr/[a-zA-Z0-9 _-]*/;
save and now try to remove www-data user from any group it will work...
** Summary changed:
- while removing user www-data from group it throw error
+ Removing user www-data from group it throw error
** Summary changed:
- Removing user www-data from group it throw error
+ Removing user www-data from group it throw error ubuntu 25.10
** Description changed:
Describe the bug:
while removing www-data user from group it throw error
invalid characters in input string, see trace output for more details at
/usr/share/perl5/Debian/AdduserCommon.pm line 143.
Steps to reproduce:
sudo deluser www-data <groupname>
Expected behavior (what should have happened?):
it should have removed user www-data easily
Actual behavior (what actually happened?):
it creates an invalid string error
MAAS version and installation type (deb, snap):
MAAS setup (HA, single node, multiple regions/racks):
Host OS distro and version:
Ubuntu 25.10
Additional context:
+ AdduserCommon.pm program writing bug
** Summary changed:
- Removing user www-data from group it throw error ubuntu 25.10
+ Removing user www-data from group it throw error in ubuntu 25.10
** Changed in: ubuntu
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130577
Title:
Removing user www-data from group it throw error in ubuntu 25.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2130577/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs