Iperf3 install failed

There is a program called h2testw that can test to make sure SD cards are working and not reporting false capacity (aka fake cards). This requires a full write test so imaging the SD card with another program first is required if you want to retain the data it contains. This is a sensible path for both old cards that are suspect and brand new cards.