You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Replacing lost drivers?

Author (Read 7388 times)

0 Members and 1 Guest are viewing this topic.

Re: Replacing lost drivers?
« Reply #12 on: December 20, 2017, 11:24:27 AM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Hi @paul1149

You're welcome! :) Yes, I agree, Aptik is a quite handy tool. Regarding this
Quote
I'm finding backintime very good. Not quite a replacement for all of systemback's functions, but very good and very easy to use. Not sure if it's been discussed here
It has been discussed on this thread about a software replacement for systemback where I first mentioned Aptik, I also tried timeshift, backintime and grsync.
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Replacing lost drivers?
« Reply #11 on: December 19, 2017, 07:44:13 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Thanks much. That worked. Very impressive utility. I'm using it in redundance with backintime. He probably covers this someplace, but I think when you upgrade to a new series, such as LL 4.0, it will be necessary to upgrade some of the repositories in the list before restoring. Some of the manually-installed packages might not make the transfer either.
 

Re: Replacing lost drivers?
« Reply #10 on: December 19, 2017, 06:49:06 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Yes, you're right about aptik not being in launchpad, I just checked and it isn't there. Sorry about that and for saying it was in the repositories when it wasn't, I didn't remember but you have to add Teejee's PPA first in order to install it via apt. 

Code: [Select]
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install aptik

I found this info too https://medium.com/@teejeetech/aptik-ng-preview-e5f0eafd1333 It seems a new version is in development at the moment and it's supposed to be officially released in January. 


« Last Edit: December 19, 2017, 06:53:43 PM by Moltke »
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Replacing lost drivers?
« Reply #9 on: December 19, 2017, 01:53:30 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
Thanks. I thought I had the ppa base covered with BackInTime, but I don't see it there now. Aptik sounds like a great utility, but it seems to have been withdrawn. No files on Launchpad, or in the repositories, apt-get doesn't find it, and the links at the teejeetech site are dead.

Ah yes. Here's how to back up ppas with backintime. It's not in the interface:

Quote
user-callback and other PlugIns

How to backup Debian/Ubuntu Package selection?

There is a user-callback example which will backup all package selections, sources and repository keys which are necessary to reinstall exactly the same packages again. It will even backup whether a package was installed manually or automatically because of dependencies.

Download the script, copy it to ~/.config/backintime/user-callback and make it executable with chmod 755 ~/.config/backintime/user-callback

It will run every time a new snapshot is taken. Make sure to include ~/.apt-backup.


I'm finding backintime very good. Not quite a replacement for all of systemback's functions, but very good and very easy to use. Not sure if it's been discussed here.
 

Re: Replacing lost drivers?
« Reply #8 on: December 19, 2017, 01:16:39 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Thanks for the reply. So you were removing old kernels, good to know. What do you mean by
Quote
There was no systemback or other backup available
was it because you hadn't created one? You could try aptik, so in case - hope no but you know better safe than sorry -  systemback backups aren't available you have a plan B by saving those important files/configurations in a flash drive or a usb hdd. Aptik is in the repositories, you can install it by opening a terminal and typing
Code: [Select]
$ sudo apt-get install aptik
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Replacing lost drivers?
« Reply #7 on: December 19, 2017, 12:44:51 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Replacing lost drivers?
« Reply #6 on: December 19, 2017, 12:37:05 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
The autoremove -F command must have wiped the drivers. They had been working fine.

For the sake of learning and avoiding this kind of things to happen, would you mind telling which broken packages were you dealing with, if possible, please? Since your thread called my attention I ran into googling "recover lost drivers ubuntu" and "drivers directory location in Ubuntu" For the "recover lost drivers" most of the proposed solutions were reinstalling, others suggested booting into a live cd and trying to download drivers from there. Drivers are located in /lib/modules and /sys/modules/ so I guess that whatever procedure you were performing somehow broke/deleted those. I can only think of two possible ways for recovering lost drivers or any other important files/configurations:
1. -Create a system restore point with systemback, so in theory one could be able of restoring the system to a state where drivers are still present.

2. - Use some app like aptik to backup any important files like drivers and configurations. The advantage of aptik is that one can save to an external storage like a flash drive or a usb hdd, so in case systemback way doesn't work there's a plan B.

I actually think of a third solution, but I'm not sure whether it'd work or not; I think open a terminal and running
Code: [Select]
$ sudo apt-get update && sudo apt-get upgrade would do the trick, but I'm really not sure and have not intention to try this 8)       
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Replacing lost drivers?
« Reply #5 on: December 19, 2017, 12:13:22 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Replacing lost drivers?
« Reply #4 on: December 19, 2017, 12:07:51 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1471
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
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.
 

Re: Replacing lost drivers?
« Reply #3 on: December 19, 2017, 11:59:39 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
The autoremove -F command must have wiped the drivers. They had been working fine.
 

Re: Replacing lost drivers?
« Reply #2 on: December 19, 2017, 11:33:50 AM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Hi @paul1149

Quote
the video, audio and network was absent
So, you had no desktop?  Just curious,  Did you have to install these drivers when installing LL the first time and now again? To my understanding, Linux install every device if recongnized by default right away out of the box, am I wrong? Since Linux drivers are open source and provided along with whatever distro one chooses, I thought this kind of things couldn't happen, at least not in a Windows fashion. I think you deleted some important folder(s) containing those drivers. Someone correct me if I'm wrong please. I'm not expert and can't provide a proper answer to your question, but it called my attention because like I said, I didn't think that was possible, unless accidentally one deleted drivers' directory/folder. That's the only thing I can think of for that to happen.
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Replacing lost drivers?
« Reply #1 on: December 19, 2017, 10:15:32 AM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
« Last Edit: October 16, 2018, 02:54:27 AM by Jerry »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section