ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

can I restore 'ros-latest.list' that I mistook to remove.

asked 2019-10-09 06:56:32 -0500

k's gravatar image

updated 2019-10-09 07:30:48 -0500

gvdhoorn gravatar image

I mistook to do:

/etc/apt/sources.list.d$ sudo rm ros-latest.list

can i restore that list?

or is it no problem for using ros?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-09 07:20:29 -0500

gvdhoorn gravatar image

updated 2019-10-09 07:21:01 -0500

can i restore that list?

yes, just run this:

sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Or use one of the mirrors (perhaps this one).

or is it no problem for using ros?

For running: no it would not be a problem.

But for installing new packages or updates: yes it would be a problem, as apt would not be able to find the ROS package repositories any longer.

edit flag offensive delete link more


thank you for your help. Do I need to reinstall ROS to do apt?

k's gravatar image k's  ( 2019-10-09 22:19:24 -0500 )edit

Do I need to reinstall ROS to do apt?

No, I don't believe so.

Are you seeing any messages from apt that make you think so?

gvdhoorn gravatar image gvdhoorn  ( 2019-10-10 05:27:17 -0500 )edit

I see. No, not yet.

k's gravatar image k's  ( 2019-10-11 00:27:12 -0500 )edit

Question Tools


Asked: 2019-10-09 06:56:32 -0500

Seen: 762 times

Last updated: Oct 09 '19