ROS installation problem about rosdep init
Hi!
I am new to ROS. Just now I tried to install ROS Kinetic on my Ubuntu 16.04 LTS according this tutorial: http://wiki.ros.org/kinetic/Installat... . Everything was smooth until I entered sudo rosdep init
in the terminal. It said
sudo: unable to execute /usr/bin/rosdep: Permission denied
Don't know how to deal with this, help!!!
The output of group
is ming adm cdrom sudo dip plugdev lpadmin sambashare
.
The output of mount
is a little bit complicated (sorry for the terrible format):
[..]
/dev/sda4 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
[..]
/dev/sdb5 on /home type ext4 (rw,relatime,data=ordered)
[..]
The output of head -n1 /usr/bin/rosdep
is
#! /usr/bin/python
There is only one directory named dist-packages
which is empty under /usr/bin/python
.
The output of ls -al /usr/bin/python
is
lrwxrwxrwx 1 root root 24 5月 24 20:52 /usr/bin/python -> /etc/alternatives/python
It works this time by doing
sudo apt-get install --reinstall python-minimal
But new problem appears.... I finished that installation tutorial, and when I try roscore
, it outputs this error:
Invalid <param> tag: Cannot load command parameter [rosversion]: no such command [rosversion roslaunch].
Param xml is <param command="rosversion roslaunch" name="rosversion"/>
The traceback for the exception was written to the log file
What is the output of
ls -al /usr/bin/rosdep
?-rwxrwxrwx 1 root root 71 3月 22 07:42 /usr/bin/rosdep
Is this a good news?
What sort of filesystem did you install your Ubuntu on? On my system, I get:
notice the absence of the
w
forgroup
andother
. Did you change anything?In any case: is your user a member of the
sudo
oradmin
group?Also: are you running this in a virtual machine? Or is your system's clock misconfigured?
3月 22
translates toMarch 22
. That is at least 2 months ago.I'd changed the permission state using
chmod 777 /usr/bin/rosdep
since I saw the bug was "permission denied". About the date problem, I have no idea.My system clock is correct and I'm not running a virtual machine. I noticed that the time info in your outcome is almost 1 year ago, so does this really matter? And thanks a lot for your reply.
Ok, here's my suggestion:
sudo apt-get install --reinstall python-rosdep