Package: adduser
Version: 3.160
Severity: serious

Dear Debian adduser maintainers,

Today, November 29, 2026, I encountered a failure during a fresh installation 
of Debian unstable (powerpc) using the Debian Ports archive.

The installation was performed in QEMU, using the Debian Installer and 
selecting the LXDE desktop environment.

During the "Select and install software" stage, the installation failed while 
configuring the sane-utils package.

The relevant messages in /var/log/syslog were:

```
All ids up to 999 have already been assigned and REUSE_IDS is set to no.
Selecting UID/GID from range 1000 to 999 ...
No UID/GID pair is available in the range 1000-999
```

This resulted in:

```
dpkg: error processing package sane-utils (--configure)
```

Inspection of /target/etc/passwd revealed that UID 999 had already been 
assigned to cups-pk-helper, while numerous lower system UIDs were still 
available.

There were no active configuration overrides in /target/etc/adduser.conf.

**Workaround**

From the Debian Installer shell, I executed:

```
echo 'REUSE_IDS=yes' >> /target/etc/adduser.conf
chroot /target dpkg --configure -a
```

This allowed sane-utils to configure successfully. Subsequently, I returned to 
the Debian Installer menu, repeated the software installation stage and 
successfully completed the Debian installation.

**Suspected cause**

The newly introduced UID/GID reuse prevention mechanism in adduser 3.160 
appears to interact poorly with system accounts allocated from the upper end of 
the system UID range, potentially by systemd-sysusers.

Although numerous system UIDs remain available, adduser attempts to allocate an 
ID from an invalid range (1000–999).

**Expected behaviour**

A fresh Debian installation using the default adduser configuration should be 
able to create system accounts when unused system UIDs remain available.

**Environment**

- Distribution: Debian unstable
- Architecture: powerpc (32-bit)
- Installation environment: QEMU
- Desktop environment: LXDE
- adduser version: 3.160
- Installation date: November 29, 2026

Although I encountered this issue on powerpc, I suspect that it is 
architecture-independent. I have not tested other architectures.

Kind regards,

Jeroen Diederen
MintPPC maintainer

Reply via email to