Posts: 316
Threads: 49
Joined: Jun 2015
Reputation:
0
While dealing with broken packages and many old kernels, I made the mistake of using the -F Autoremove command, and on rebooting saw that I had lost most of the drivers to an Acer laptop: the video, audio and network was absent, and possibly others. Going to LL's Drivers utility showed nothing available. A Synaptics search for "driver" also produced nothing.
I know what to do in Windows - go to Acer.com and find the driver using a machine with a connection, download to a USB stick and install on the broken machine. But how does one do this with Linux? I ended up reinstalling LL from scratch. That's not a very big deal, but I would like to know a better way to deal with missing drivers.
Thanks.
Posts: 316
Threads: 49
Joined: Jun 2015
Reputation:
0
The autoremove -F command must have wiped the drivers. They had been working fine.
Posts: 1,542
Threads: 147
Joined: Mar 2016
Reputation:
4
Autoremove running on some newer kernels will not detect some older kernel dependencies correctly. This has been an issue for a while. Just don't use it, as it will delete and and/or ruin some updated files in unpredictable ways, or at least backup first if you do use it. Don't know what you were doing but Lite Tweaks is safer for removing old kernels. For applications use uninstall from synaptic.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Posts: 316
Threads: 49
Joined: Jun 2015
Reputation:
0
Yes, I probably won't be using autoremove again. I had three kernels with broken dependencies, which were preventing anything from installing. Neither Lite Tweaks nor apt-get would remove or reinstall them correctly. I was getting the error, "out of space". I saw a post here that gave the manual dpkg commands to remove some of them to make space, and that worked. At that point I should have gone back to Tweaks or apt-get to finish the removals, but autoremove looked cool.
Posts: 316
Threads: 49
Joined: Jun 2015
Reputation:
0
The broken packages were kernels -101 and -105, as I recall. I did see the proposed solution to boot to a live CD and download from there. I tried it, but saw no way to download drivers. Maybe if I knew where they are stored they could be accessed, and used if they are in package form. I didn't think of that. I wasn't sure of which drivers I would need, so at that point I went ahead and reinstalled.
There was no systemback or other backup available. I did try the apt-get update/upgrade command, and that is the one that faulted out for lack of disk space.