LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How can I manually download an updated driver? (https://www.linuxquestions.org/questions/linux-general-1/how-can-i-manually-download-an-updated-driver-4175715591/)

Matthew Wai 08-12-2022 12:25 AM

How can I manually download an updated driver?
 
My OS is UnionTech OS, abbreviated to "UOS". It has a utility named PcButler, which will search for driver updates. As per the log file, my PcButler has found the following updated driver:
Code:

"backport-ethernet-dkms_1.0.4_amd64.deb","version":"1.0.4"
PcButler has a "Update the driver" button, which will automatically download and install the package. However, I want to manually download it and back it up. Is there a way to do so? I asked the same question on the UOS forum:

https://club.uniontech.com/#/detail?...17fa881&page=1

A member there posted the following command:
Code:

apt download  backport-ethernet-dkms_1.0.4_amd64.deb
I ran it and got the following message:
Code:

Matthew_Wai@MatthewWai:~$ apt download  backport-ethernet-dkms_1.0.4_amd64.deb
E: Unable to locate package backport-ethernet-dkms_1.0.4_amd64.deb
E: Couldn't find any package by glob 'backport-ethernet-dkms_1.0.4_amd64.deb'
E: Couldn't find any package by regex 'backport-ethernet-dkms_1.0.4_amd64.deb'

Is it possible to manually download the package?

evo2 08-12-2022 12:36 AM

Hi,

just use the package name, not the filename. Eg
Code:

apt download backport-ethernet-dkms
Evo2.

pan64 08-12-2022 12:43 AM

see here: https://unix.stackexchange.com/quest...pt-get-command
the package will be downloaded into /var/cache/apt/archives

Matthew Wai 08-12-2022 12:58 AM

Quote:

Originally Posted by evo2 (Post 6373270)
Code:

apt download backport-ethernet-dkms

It worked. Thank you very much!
Code:

Matthew_Wai@MatthewWai:~$ apt download backport-ethernet-dkms
Get:1 https://home-packages.chinauos.com/home plum/main amd64 backport-ethernet-dkms amd64 1.0.4 [2,366 kB]
Fetched 2,366 kB in 4s (549 kB/s)                 
Matthew_Wai@MatthewWai:~$

The package has been downloaded into "Home".


All times are GMT -5. The time now is 12:19 PM.