Tricks is to carry at least 2 cartridges. It’s a good practice anyway, less for if you get two flats, but more for if you fluff the first inflation. FWIW, though, I’ve never come across a dud cartridge, but I also carry a very small mini pump in my jersey pocket - purgatory to pump a tire as a last resort, but I have never had to use it in the wild