How to restore /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I accidentally overwrote /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko on Ubuntu 14.04. How can I get this back?
drivers
add a comment |Â
up vote
0
down vote
favorite
I accidentally overwrote /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko on Ubuntu 14.04. How can I get this back?
drivers
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I accidentally overwrote /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko on Ubuntu 14.04. How can I get this back?
drivers
I accidentally overwrote /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko on Ubuntu 14.04. How can I get this back?
drivers
drivers
asked Mar 23 at 1:38
Elijah Lynn
2,41721627
2,41721627
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
Since it doesn't seem like installing is helping I guess you could try to manually download the kernel, extract the files then copy the file over manually.
Download the kernel to the /tmp
directory:
cd /tmp
apt download linux-image-extra-4.4.0-116-generic
Next, extract the files from the downloaded .deb
file:
ar -x linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb
Now, extract the data.tar.gz
contents:
tar xvf data.tar.gz
Now you should be able to copy the missing file back to your folder.
sudo cp /tmp/lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/
Thank you @Olorin for a cool one string command after you download the kernel file using dpkg-deb
to extract the one file and put it in the designation folder:
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
Then clean up your /tmp
folder or a reboot will clean it:
Hope this helps!
You can usedpkg-deb
instead ofar
:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
@Olorin The command actually needs to bedpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the./
before the name. Then it extracts fine. I will add that to my answer then.
â Terrance
Mar 23 at 4:26
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
add a comment |Â
up vote
1
down vote
Simply reinstall the package that contains the file.
To find what package contains /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
, run:
dpkg -S /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
This should output (in your case):
linux-image-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
Simply reinstall the package:
sudo apt-get install --reinstall linux-image-4.4.0-116-generic
If this does not fix it:
sudo apt-get purge linux-image-4.4.0-116-generic
sudo apt-get install linux-image-4.4.0-116-generic
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did returnlinux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.
â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstallinglinux-image-extra-4.4.0-116-generic
didn't bring back the file?
â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Since it doesn't seem like installing is helping I guess you could try to manually download the kernel, extract the files then copy the file over manually.
Download the kernel to the /tmp
directory:
cd /tmp
apt download linux-image-extra-4.4.0-116-generic
Next, extract the files from the downloaded .deb
file:
ar -x linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb
Now, extract the data.tar.gz
contents:
tar xvf data.tar.gz
Now you should be able to copy the missing file back to your folder.
sudo cp /tmp/lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/
Thank you @Olorin for a cool one string command after you download the kernel file using dpkg-deb
to extract the one file and put it in the designation folder:
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
Then clean up your /tmp
folder or a reboot will clean it:
Hope this helps!
You can usedpkg-deb
instead ofar
:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
@Olorin The command actually needs to bedpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the./
before the name. Then it extracts fine. I will add that to my answer then.
â Terrance
Mar 23 at 4:26
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
add a comment |Â
up vote
2
down vote
Since it doesn't seem like installing is helping I guess you could try to manually download the kernel, extract the files then copy the file over manually.
Download the kernel to the /tmp
directory:
cd /tmp
apt download linux-image-extra-4.4.0-116-generic
Next, extract the files from the downloaded .deb
file:
ar -x linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb
Now, extract the data.tar.gz
contents:
tar xvf data.tar.gz
Now you should be able to copy the missing file back to your folder.
sudo cp /tmp/lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/
Thank you @Olorin for a cool one string command after you download the kernel file using dpkg-deb
to extract the one file and put it in the designation folder:
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
Then clean up your /tmp
folder or a reboot will clean it:
Hope this helps!
You can usedpkg-deb
instead ofar
:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
@Olorin The command actually needs to bedpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the./
before the name. Then it extracts fine. I will add that to my answer then.
â Terrance
Mar 23 at 4:26
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Since it doesn't seem like installing is helping I guess you could try to manually download the kernel, extract the files then copy the file over manually.
Download the kernel to the /tmp
directory:
cd /tmp
apt download linux-image-extra-4.4.0-116-generic
Next, extract the files from the downloaded .deb
file:
ar -x linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb
Now, extract the data.tar.gz
contents:
tar xvf data.tar.gz
Now you should be able to copy the missing file back to your folder.
sudo cp /tmp/lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/
Thank you @Olorin for a cool one string command after you download the kernel file using dpkg-deb
to extract the one file and put it in the designation folder:
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
Then clean up your /tmp
folder or a reboot will clean it:
Hope this helps!
Since it doesn't seem like installing is helping I guess you could try to manually download the kernel, extract the files then copy the file over manually.
Download the kernel to the /tmp
directory:
cd /tmp
apt download linux-image-extra-4.4.0-116-generic
Next, extract the files from the downloaded .deb
file:
ar -x linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb
Now, extract the data.tar.gz
contents:
tar xvf data.tar.gz
Now you should be able to copy the missing file back to your folder.
sudo cp /tmp/lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/
Thank you @Olorin for a cool one string command after you download the kernel file using dpkg-deb
to extract the one file and put it in the designation folder:
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
Then clean up your /tmp
folder or a reboot will clean it:
Hope this helps!
edited Mar 23 at 4:31
answered Mar 23 at 3:15
![](https://i.stack.imgur.com/1hPwN.jpg?s=32&g=1)
![](https://i.stack.imgur.com/1hPwN.jpg?s=32&g=1)
Terrance
17.3k23784
17.3k23784
You can usedpkg-deb
instead ofar
:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
@Olorin The command actually needs to bedpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the./
before the name. Then it extracts fine. I will add that to my answer then.
â Terrance
Mar 23 at 4:26
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
add a comment |Â
You can usedpkg-deb
instead ofar
:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline:dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
@Olorin The command actually needs to bedpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the./
before the name. Then it extracts fine. I will add that to my answer then.
â Terrance
Mar 23 at 4:26
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
You can use
dpkg-deb
instead of ar
: dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline: dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
You can use
dpkg-deb
instead of ar
: dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | tar xv
... actually the entire operation can be done in one pipeline: dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
â Olorin
Mar 23 at 3:49
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
@Olorin I understand that. But I test all commands before I put them in my answers. Unfortunately, that does not work. Even when I try to extract only the file from the tar.bz2 file it tells me file not found, but when I extract all the contents of it, the file is there and I can copy it.
â Terrance
Mar 23 at 4:14
1
1
@Olorin The command actually needs to be
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the ./
before the name. Then it extracts fine. I will add that to my answer then.â Terrance
Mar 23 at 4:26
@Olorin The command actually needs to be
dpkg-deb --fsys-tarfile linux-image-extra-4.4.0-116-generic_4.4.0-116.140_amd64.deb | sudo tar xv ./lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko -C /
If you list the contents of the bz2 file it shows them with the ./
before the name. Then it extracts fine. I will add that to my answer then.â Terrance
Mar 23 at 4:26
1
1
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
Ah yes. Another instance of xkcd.com/1168
â Olorin
Mar 23 at 4:28
add a comment |Â
up vote
1
down vote
Simply reinstall the package that contains the file.
To find what package contains /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
, run:
dpkg -S /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
This should output (in your case):
linux-image-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
Simply reinstall the package:
sudo apt-get install --reinstall linux-image-4.4.0-116-generic
If this does not fix it:
sudo apt-get purge linux-image-4.4.0-116-generic
sudo apt-get install linux-image-4.4.0-116-generic
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did returnlinux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.
â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstallinglinux-image-extra-4.4.0-116-generic
didn't bring back the file?
â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
add a comment |Â
up vote
1
down vote
Simply reinstall the package that contains the file.
To find what package contains /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
, run:
dpkg -S /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
This should output (in your case):
linux-image-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
Simply reinstall the package:
sudo apt-get install --reinstall linux-image-4.4.0-116-generic
If this does not fix it:
sudo apt-get purge linux-image-4.4.0-116-generic
sudo apt-get install linux-image-4.4.0-116-generic
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did returnlinux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.
â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstallinglinux-image-extra-4.4.0-116-generic
didn't bring back the file?
â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Simply reinstall the package that contains the file.
To find what package contains /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
, run:
dpkg -S /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
This should output (in your case):
linux-image-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
Simply reinstall the package:
sudo apt-get install --reinstall linux-image-4.4.0-116-generic
If this does not fix it:
sudo apt-get purge linux-image-4.4.0-116-generic
sudo apt-get install linux-image-4.4.0-116-generic
Simply reinstall the package that contains the file.
To find what package contains /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
, run:
dpkg -S /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
This should output (in your case):
linux-image-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
Simply reinstall the package:
sudo apt-get install --reinstall linux-image-4.4.0-116-generic
If this does not fix it:
sudo apt-get purge linux-image-4.4.0-116-generic
sudo apt-get install linux-image-4.4.0-116-generic
edited Mar 23 at 4:25
answered Mar 23 at 1:54
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
ubashu
2,24221736
2,24221736
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did returnlinux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.
â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstallinglinux-image-extra-4.4.0-116-generic
didn't bring back the file?
â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
add a comment |Â
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did returnlinux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.
â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstallinglinux-image-extra-4.4.0-116-generic
didn't bring back the file?
â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Thanks, I ran the dpkg command but the ../usbserial.ko path doesn't exist. Maybe something else somehow installed it?
â Elijah Lynn
Mar 23 at 2:01
Oh, I manually entered the path and it did return
linux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.â Elijah Lynn
Mar 23 at 2:03
Oh, I manually entered the path and it did return
linux-image-extra-4.4.0-116-generic: /lib/modules/4.4.0-116-generic/kernel/drivers/usb/serial/usbserial.ko
as you said. However the --reinstall command completed successfully but the file doesn't exist still. I did delete the file after I overwrote it incorrectly.â Elijah Lynn
Mar 23 at 2:03
@ElijahLynn reinstalling
linux-image-extra-4.4.0-116-generic
didn't bring back the file?â Olorin
Mar 23 at 2:13
@ElijahLynn reinstalling
linux-image-extra-4.4.0-116-generic
didn't bring back the file?â Olorin
Mar 23 at 2:13
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
Correct, it did not bring back the file.
â Elijah Lynn
Mar 23 at 2:14
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
What about purging and reinstalling? as i have added to my answer
â ubashu
Mar 23 at 4:26
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018420%2fhow-to-restore-lib-modules-4-4-0-116-generic-kernel-drivers-usb-serial-usbseria%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password