Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
8 years, 2 months ago
I removed hadoop from my machine via
apt-get remove --purge hadoop
In the output I see the following packages were not removed :
The following packages were automatically installed and are no longer required:
avro-libs bigtop-jsvc bigtop-utils libjline-java liblog4j1.2-java
libnetty-java libservlet2.5-java libslf4j-java libxerces2-java
libzookeeper-java libzookeeper-java-doc linux-headers-3.13.0-35
Use 'apt-get autoremove' to remove them.
I dont know what the linux-image packages do. So my questions are :
Is it safe to run 'apt-get autoremove` and remove linux image packages ?
Does apt-get autoremove only remove the packages which are not referenced by any package and whose removal will not affect the server. ?
Jan 11, 2015 at 15:11
Those linux-image packages are obsolete kernel images that don't seem to be in use in your system anymore. It's safe to use
apt-get autoremove to remove these.
apt-get autoremove will only remove the packages that were automatically installed and are no longer required. The removal of these packages should not affect your server.
For the record, the kernel images listed in your output are not related to hadoop.
As you regularly update your server, installing newer kernel images,
it's normal that obsolete images accumulate.
The package manager doesn't remove them automatically in case you might want to roll back to an earlier version.
but they are not required for the normal operations of your system.
Jan 11, 2015 at 15:20
3,237 1 1 gold badge 21 21 silver badges 31 31 bronze badges
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only