Repairing linings by projecting or spraying refractory materials on the lining