Consumer prices excluding fresh food rose 3.1% in the capital in June from a year earlier, according to the Ministry of Internal Affairs and Communications.