Next to everything else that might go wrong with a bicycle on an extended ride, a flat is a relatively minor issue that can be easily repaired trailside, if the right tools are at hand. If they aren’t, a quick fix can turn into a long walk. Well-prepared riders will perform a tune-up regularly and clean their bikes after every ride. For the less-diligent, a well-stocked repair kit will suffice.
Friction gear systems are a lot simpler to adjust, because the movement of the derailer cable can be modulated as you ride, every time you change the gear- they require less cycle maintenance. Modern index shifting systems are a little more complicated because each ‘click’ must release the exact right amount of cable to allow the derailer to move the correct distance to move the chain from one gear to another. Setting up and adjusting a derailer is not difficult and requires only basic tools, but there is a methodical procedure to follow.