Results 1 to 5 of 5

Thread: is (apt-get autoremove) remove drivers as well???

  1. #1
    Join Date
    2013-Jul
    Posts
    8

    is (apt-get autoremove) remove drivers as well???

    well as topic name says every thing last night i type this command and after this i lost my wlan drivers pics from Kali default background folder i don't know what exact this command does ? any help or idea

  2. #2
    Join Date
    2013-Mar
    Posts
    269
    Autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed. It should not remove user files like pictures, or drivers for used hardware.
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

  3. #3
    Join Date
    2013-Jul
    Posts
    8
    so now how can i istall them back or i need to install new copy of linux??

  4. #4
    Join Date
    2013-Mar
    Posts
    269
    Usually people use the autoremove command, after they see a message telling them it is safe to do from doing an apt-get install (some package), often times it will list what packages it will remove that the system doesn't depend on. It's possible you inadvertently removed packages you didn't intend to because the system didn't see a use for them. But without know what packages were removed, I am unable to tell you which ones to install. Maybe though there is a system log of said removed packages?
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

  5. #5
    Join Date
    2013-Aug
    Posts
    3
    Quote Originally Posted by charonsecurity View Post
    Usually people use the autoremove command, after they see a message telling them it is safe to do from doing an apt-get install (some package), often times it will list what packages it will remove that the system doesn't depend on. It's possible you inadvertently removed packages you didn't intend to because the system didn't see a use for them. But without know what packages were removed, I am unable to tell you which ones to install. Maybe though there is a system log of said removed packages?
    I did exactly this (for the exact reason you said) and it completely removed lots of packages I needed for networking, etc. (even the gui... which I found out after rebooting). I have no idea how to reinstall all the packages it got rid of (because I don't know which ones they were, so I ended up reinstalling Kali. Granted, I am new to this, but it has been quite the pain in the ****. I learned a valuable lesson though!

    I wonder if there is a script to reinstall all the defaul packages. I tried
    apt-get install Kali-linux-full
    but it already said I had that... so it wouldn't work. It seemed like a good idea though.

Similar Threads

  1. No GUI after autoremove
    By scemodicecosa in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2016-05-19, 13:00
  2. apt-get autoremove messed up everything
    By w32mydoom in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-03-31, 14:36
  3. apt-get autoremove Problem!!
    By MundoFig in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-04-24, 22:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •