BERLIN, Aug 15 (Reuters) - Easyjet EZJ.L is in talks to buy assets from insolvent Air Berlin AB1.DE , a person familiar with the matter told Reuters, adding that the talks centred on the German airline's slots.

"The goal has been to keep out Ryanair," the person said in reference to negotiations.

Easyjet declined to comment.

The German government had said earlier that Air Berlin was in talks with Lufthansa and another airline, which it did not name.

(Reporting by Tom Koerkemeier; Addtional reporting by Victoria Bryan; Writing by Maria Sheahan; Editing by Kathrin Jones and Madeline Chambers) ((maria.sheahan@thomsonreuters.com; +49 69 7565 1286; Reuters Messaging: maria.sheahan.thomsonreuters.com@reuters.net))