I'm using Ubuntu 16.04 I had ROS Kinetic installed following the tutorial and it was working. I was experiencing errors with a tutorial, covered here, so I removed ROS in order to do a complete fresh install. I did so by using:
sudo apt-get remove ros-kinetic-desktop-full
sudo apt-get remove python-rosinstall
sudo rm -fr /etc/ros
sudo rm -fr /opt/ros
sudo rm -fr ~/.ros
sudo apt-get autoremove
To purge my system of my first ROS install.
I then reapplied all the directions given in the installation tutorial.
It seems however the the 'setup.bash' file is not installed the second time around. When I ls /opt/ros/kinetic
I get only the following:
philglau@phil-glau-ubuntu-16:/opt/ros/kinetic$ ls
bin etc include lib share
The 'setup.bash' script is missing !! (using du -hs
indicates there are 145MB of other files in this /kinetic folder, so it's not like it didn't install most of the stuff.) Furthermore, when I installed the second time, it gave absolutely no errors or warning to indicate that something was missing or wrong.
This is from dpkg -l
philglau@phil-glau-ubuntu-16:~$ dpkg -l | grep ros-kinetic-catkin
ii ros-kinetic-catkin 0.7.6-0xenial-20170217-212821-0800 amd64 Low-level build system macros and infrastructure for RO
Can't figure out why this is. Did I do something incorrect when uninstalling the original version like forget some other cache or directory??
Is it possible to just manually install the missing setup.bash script? If so where would I get it?
Thank you in advance for your help.
Originally posted by philglau on ROS Answers with karma: 248 on 2017-03-18
Post score: 0