I obtained a strange error message inside a chroot:
unknown user 'geoclue' in statoverride file
when running apt-get install or apt-get upgrade.
I use schroot to enter this chroot. I found that
I had a package called geoclue-2.0 installed in the chroot,
and I purged it.
apt-get purge geoclue-2.0
This made the problem go away. What caused this problem? I'm running Debian wheezy on the host machine. The chroot is running Debian jessie (testing).
I asked about this on chat, and this prompted Braiam to post the closely related How to prevent schroot from overridding passwd file and others files already present on the chrooted system?