Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think I had two different versions of Ros. I removed all installed Ros in my system by the following command and installed it again by "apt-get install ros-melodic-desktop-full" and my problem solved.

sudo apt-get remove apt list --installed |grep ros- |cut -d '/' -f 1 |xargs

click to hide/show revision 2
No.2 Revision

I think I had two different versions of Ros. I removed all installed Ros in my system by the following command and installed it again by "apt-get

apt-get install ros-melodic-desktop-full" ros-melodic-desktop-full

and my problem solved.

sudo apt-get remove apt `apt list --installed |grep ros- |cut -d '/' -f 1 |xargs|xargs`