sry, i just send the reply to eduard, not the bugs list, therefore here
again:

Ahh great, that seems to be the problem.
The user has the User-ID 25001 as I use an nfs share for the Cache and had
to move the user to this UID.

Is there a change to get apt-cacher-ng running and updating with this UID
or do I have to modify my whole NFS setup?
i just deleted the apt-cacher-ng user and recreated it with a lower UID,
afterwards the upgrade worked fine. Thank you for your help!


On Sun, May 5, 2013 at 11:59 AM, Eduard Bloch <e...@gmx.de> wrote:

> 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.
>
>

Reply via email to