The federal and state governments as well as PETRONAS will be responsible for repairing and replacing houses that had been damaged by the gas pipeline fire in Putra Heights, said Prime Minister Datuk Seri Anwar Ibrahim after visiting the site on Tuesday (April 1) afternoon.