Funds advised by private equity investment group Apax Partners have announced an agreement to acquire a majority shareholding in Spanish bakery company Panrico from the Costafreda Family, La Caixa and other minority shareholders.