You're reading the documentation for a version of ROS 2 that has reached its EOL (end-of-life), and is no longer officially supported. If you want up-to-date information, please have a look at Humble.
Troubleshooting
The troubleshooting pages document workarounds and solutions for common (and not so common) problems with ROS 2.