Problems installing APM on Rpi

Guys, take a look at this thread. This will solve your issue.