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

apt-get autoremove removes ROS

asked 2017-03-02 13:33:44 -0500

updated 2017-03-02 18:02:53 -0500

Hi

I just ran apt-get autoremove and it appears to have completely wiped out my entire ROS install >:( Luckily this happened on my laptop which is just my dev environment and not my Robot, but still this is quite annoying. If i'm understanding autoremove correctly, apt-get identified ROS as something another package depended on at one point but has since been removed. So it deleted all of ROS. Has anyone else had this issue?

edit retag flag offensive close merge delete

Comments

I've had it remove a bunch of ROS packages, but never all of ROS. That's definitely a command I avoid these days - along with anything involving Nvidia, as much as possible.

AndyZe gravatar image AndyZe  ( 2017-03-03 11:30:38 -0500 )edit
1

As you write, this typically happens if ROS (probably one of the top-level metapackages) is a dependency of something that got removed. Without more info (logs? try /var/log/apt) this is going to be difficult to diagnose.

gvdhoorn gravatar image gvdhoorn  ( 2017-03-04 04:32:59 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2023-01-16 23:21:24 -0500

seqwalt gravatar image

updated 2023-01-16 23:24:09 -0500

Hopefully this answer helps someone, even though its an old question. If you see many ros packages in your autoremove list, before you run the autoremove command you could run sudo apt-mark manual ros-noetic*. This command will mark all ros noetic packages as manually installed, so it won't add those to the autoremove list.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-03-02 13:33:44 -0500

Seen: 1,247 times

Last updated: Jan 16 '23