# apt-get -y install hadoop
....
chown: cannot access `/var/lib/hadoop/cache/hadoop/': No such file or directory
dpkg: error processing hadoop (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mahout:
mahout depends on hadoop; however:
Package hadoop is not configured yet.
Package hadoop which provides hadoop is not configured yet.
dpkg: error processing mahout (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
hadoop