If you've got a Debian based Dreamplug and you're trying to update the packages and you're getting
Processing triggers for man-db ...
fopen: Permission denied
the problem is with /var/cache/man ownership. Fix it with this
chown -R man:root /var/cache/man