Inter Milan got back to winning ways in Italy, but Barcelona suffered a shock 4-2 loss against Osasuna.