Apt autoremove uninstalled rosbash now rosrun does not work properly
Hello,
Yesterday, I installed some not-ROS-related software on my Ubuntu 18.04 and did sudo apt update
after a long time (maybe 2 weeks). Then I saw there were a few unused packages and I did sudo apt autoremove
afterwards.
I didn't pay attention when the first autoremove was suggested since I didn't do any drastic changes recently but while autoremove was proceeding there were some interesting things going on. I copied the terminal output here.
Today, I cannot point out any other reason than this why rosrun
might have been removed from my PC (if you know why it can be please let me know). when I type ros and tab-autocomplete, there were few ros-commands but rosrun was not one of them. I computed sudo apt install rosbash
and now I have a long list of ros-commands back (including rosrun) yet I cannot autocomplete anything beginning with rosrun. Ridiculously, roslaunch, roscore works just fine.
Is there anyone who might have any idea what I possibly did wrong and how to reverse it?
Thanks in advance