Ask Your Question
0

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
0

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 http://packages.ros.org/ros/ubuntu $(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

Comments

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

k's gravatar imagek'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 imagegvdhoorn ( 2019-10-10 05:27:17 -0500 )edit

I see. No, not yet.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 21 times

Last updated: Oct 09