Messi scores stunner as Barcelona stretch lead
With an eye on AC Milan's Champions League visit on Tuesday, Barca left World Player of the Year Messi and five Spanish internationals out of the starting line-up at the Nou Camp.
Chile forward Alexis Sanchez put them in front in the 38th minute when Depor goalkeeper Daniel Aranzubia could only palm his powerful downward header into the roof of the net.
Spain's record scorer David Villa, still not back to his best after breaking his leg at the end of 2011, had earlier squandered a golden chance and made way for Messi with about half an hour left.
The Argentina forward fluffed one effort five minutes from time but drew gasps from the home crowd in the 88th minute when he exchanged passes with Alexis and dinked a delightful chip over the onrushing Aranzubia into the net.
It was Messi's 40th goal of the la Liga campaign, his 51st in 41 appearances in all competitions and the 17th straight league match in which he has scored, which Barca said was a world record.
The club said on its website that Messi had overhauled Polish forward Teodor Pewterek, who scored in 16 straight outings for Ruch Chorzow at the end of the 1930s.
Messi has 11 matches in which to beat his La Liga record tally of 50 goals from last season.
Assistant Barca coach Jordi Roura, standing in for Tito Vilanova while he has cancer treatment in New York, said beating Depor was the best way to prepare for the Milan match.
"We played with a lot of intensity and had a lot of presence in their penalty area but they are two completely different competitions," he told a news conference.
"The players seem in good shape and we will do everything humanly possible to get past Milan," he added.
Barca went into the game following three defeats in their last four outings including a 2-0 loss in their Champions League last 16, first leg tie at Milan last month and bitter reverses to arch-rivals Real Madrid in the King's Cup and La Liga.
Malaga were denied a morale-boosting win before their Champions League game against Porto on Wednesday when they were held to a 1-1 draw at Real Valladolid earlier on Saturday.
The Qatari-owned club must overturn a 1-0 deficit to reach the Champions League quarter-finals on their competition debut.
Coach Manuel Pellegrini initially left playmaker Isco on the bench and did not use Joaquin for the game at Valladolid's rain-lashed Jose Zorrilla stadium.
Argentine defender Martin Demichelis nodded Malaga ahead in the eighth minute before Angola striker Manucho headed the equaliser four minutes before half-time.
The draw leaves Malaga on 44 points in the fourth qualification spot for next season's Champions League.
Rayo Vallecano improved their chances of securing a lucrative place in Europe next season when goals from Alejandro Dominguez and captain Piti gave the modest Madrid-based club a 2-0 win at home to Espanyol.