When I changed my IP address, ros packages are broken. (Failed to run '"/opt/ros/melodic/_setup_util.py" ': return code 132)

asked 2021-11-09 02:20:51 -0500

fatmanurgezmiss gravatar image

updated 2021-11-09 02:54:35 -0500

gvdhoorn gravatar image

When I changed my IP address, ros packages are broken:

Failed to run '"/opt/ros/melodic/_setup_util.py" ': return code 132
Failed to run '"/home/aoc/catkin_ws/devel/_setup_util.py" ': return code 132
Failed to run '"/home/aoc/lidar_ws/devel/_setup_util.py" ': return code 132

When I open the terminal those lines show.

Then I use sudo apt update command , I saw these errors;

Err:2 http://packages.ros.org/ros/ubuntu bionic/main amd64 ros-melodic-joint-qualification-controllers-dbgsym amd64 1.0.15-1bionic.20211014.175605
  Cannot initiate the connection to packages.ros.org:80 (64.50.233.100). - connect (101: Network is unreachable)
  Cannot initiate the connection to packages.ros.org:80 (2600:3404:200:237::2). - connect (101: Network is unreachable)
  Cannot initiate the connection to packages.ros.org:80 (140.211.166.134). - connect (101: Network is unreachable)
  Cannot initiate the connection to packages.ros.org:80 (2605:bc80:3010::134). - connect (101: Network is unreachable) [IP: 64.50.233.100 80]

Why i get this error?

edit retag flag offensive close merge delete

Comments

Just to clarify when you say change IP address are connecting two devices?

osilva gravatar image osilva  ( 2021-11-09 19:59:48 -0500 )edit

Yes, I was try to connect plc, pc and lidar sensor. Normally I can connect lidar and pc. But when I use hub to connect plc to pc and lidar I got this problem.

fatmanurgezmiss gravatar image fatmanurgezmiss  ( 2021-11-09 23:30:55 -0500 )edit

I suggest to please show the steps you are using to do this so it’s easier to see what might be the problem.

osilva gravatar image osilva  ( 2021-11-10 01:39:56 -0500 )edit