Question: how can eu citizen get permanent residence in uk?
Answer: as the extended family member of an EEA national and you've held a valid EEA family permit and a residence card throughout.
first as the family member of an EEA national and then with a retained right of residence.