im also having that same problem
You will need to ssh to your ATV as root and run the command the error states at the command line.
I had the same problem… solution to this was simply by running following commands>>
apt-get install package
It will show some error so run next one >>
now you are all done hope this will help … PEACE