On Thu, Sep 14, 2017 at 10:47:36AM -0500, David Wright wrote:
On Wed 13 Sep 2017 at 15:12:41 (-0400), Cindy-Sue Causey wrote:
On 9/13/17, Sven Joachim <svenj...@gmx.de> wrote:
>
> If you already have installed Debian on your laptop, simply get the
> firmware-realtek package[3] from non-free (either using a wired
> connection, or via another computer and sneakernet).  You can install it
> with dpkg:
>
> # dpkg -i firmware-realtek_20161130-3_all.deb

> 3. https://packages.debian.org/stretch/firmware-realtek


Something that's not always clear (for newbies) is that you have to
issue that "dpkg -i" command from within the directory containing the
target .deb file after it's downloaded. That directory can be almost
anywhere (if not actually anywhere), but the command has to be issued
from wherever that .deb landed in the file hierarchy.

It's not at all clear to me either. What has the current working
directory to do with the behaviour of dpkg, and where have you seen
documentation for this statement?

I guess the confusion comes because apt is provided with a package name (apt install firmware-realtek), whereas dpkg is provided with a filename (dpkg -i ~/Downloads/firmware-realtek*.deb).

apt is clever (it works out which version of firmware-realtek you want AND what dependencies are needed and fetches them all from the network, then it runs dpkg on all of those in the right order), while dpkg is stupid (it installs package(s) provided and offers no help if dependencies are missing). They are fairly rubbish without each other, though.


Cheers,
David.


--
For more information, please reread.

Attachment: signature.asc
Description: PGP signature

Reply via email to