An earthquake measuring 6.2 on the Richter scale was felt in eastern Indonesia.