Retirez complètement Ros mélodique
# If you're running Ubuntu, and installed ROS with apt-get,
# the first step would be
sudo apt-get remove ros-*
# Use
sudo apt-get purge ros-*
# It will also remove configuration files. And then
# To remove dependencies
sudo apt-get autoremove
Merwanski