Sterling opened the scoring for City with Gabriel Jesus scoring the winning goal in the second half after Karim Benzema equalized before the break.
This establishes a quarter-final draw with Lyon, who beat Juventus on away goals to advance into the other game on Friday night.
Guardiola is yet to reach the eighth stage with City in Europe after being knocked out by Tottenham last season and Liverpool the year before.
However, after seeing the Spanish giants, Lineker explained how Sterling contacted BT Sport for footage of the match in order not only to analyze his performance but also to relive the pain of being knocked out of the top European competition.
“I don’t know if I’m supposed to share this, or if it’s supposed to be a secret,” Lineker said on air after a full time. “But he (Sterling) actually reached out to BT Sport to request the video of last season’s game against Tottenham Hotspur which they lost, not only to see his performance, but he wanted to get back that feeling of losing and what it is. meant.
“It shows you how thoughtful his game is. ”
City were eliminated in dramatic circumstances against Spurs last year, with Sterling scoring what he believed to be a winner in added time only to have the goal ruled out for offside.