Exklusive livsmedels- och energipriser steg konsumentpriserna med 0,2 procent jämfört med maj och inflationstakten var 2,2 procent.