On Sun, 31 Aug 2014 21:32:01 +0200 Eduard Bloch <[email protected]> wrote:
> Control: forcemerge 706382 759740
>
> > > I get the following error when trying to upgrade apt-cache-ng on wheezy:
> > >
> > > Setting up apt-cacher-ng (0.7.11-2) ...
> > > adduser: The user `apt-cacher-ng' already exists. Exiting.
> > > dpkg: error processing apt-cacher-ng (--configure):
> > > subprocess installed post-installation script returned error exit status 1
> > > Errors were encountered while processing:
> > > apt-cacher-ng
> > > E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Yeah, sorry, that was fixed back in 2013. Please use the backport version
> or revert your users UID to the range which is accepted by adduser (see
> the linked bugreport for details). That would also require a chown-R run
> on your cache and log directories, of course.
>
> Regards,
> Eduard.
>
>

I guess I don't understand. The current account seem perfectly valid, i.e., uid 
= 108. Why is the configure scripts trying to re-add the user if it already 
exists? I can re-add the user, but what ID should I use?

I tried running adduser by hand and got what I think are the expected results:

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

I am guessing I could delete the user, then rerun the configure script 
everything would fine.

-- Andrew


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to