Yes. If only a single piece of guttering is leaking, then it's likely that replacing that piece will solve the issue. However, if you're suffering from leaking in multiple places or have old guttering such as concrete guttering, then it's likely it will need replacing and not just repairing.