Hallo,
* Alexander Muthmann [Thu, May 02 2013, 11:10:16AM]:
> Hi Eduard,
> 
> thanks for your reply.
> 
> The output produced is:
> root@internal-services:~# adduser --quiet --system --group
> --no-create-home --home /var/cache/apt-cacher-ng apt-cacher-ng
> adduser: The user `apt-cacher-ng' already exists. Exiting.
> root@internal-services:~# echo $?
> 1
> root@internal-services:~# which adduser
> /usr/sbin/adduser
> 
> Hope this helps?

Maybe, after checking up with adduser developers, there is a theory.

Do you remember when the package has been installed initially?
Could you show the user information for this account, i.e. run:

getent passwd apt-cacher-ng

Or just check the UID, if the UID is outside of the reserved range
(100-999) then something went wrong before. You could try to change the
UIDs or simply delete this account (man deluser) and then recreate it as
system-user with the command mentioned before. And afterwards, you
would need to adapt the permissions of the files to the new UID which
the "new" account got assigned afterwards (i.e. like: chown -R NEWUID
/var/cache/apt-cacher-ng /etc/apt-cacher-ng /var/log/apt-cacher-ng ).

Regards,
Eduard.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to