diff --git a/SneakerNetUpdates.md b/SneakerNetUpdates.md index 2306560..2d37be2 100644 --- a/SneakerNetUpdates.md +++ b/SneakerNetUpdates.md @@ -2,6 +2,7 @@ title: 'Installing Packages without Internet Access ' --- + Sometimes you need to install an extra package (or a hundred). If the machine is has access to the internet, then a simple `sudo apt-get install ` is all that is needed. However, it is not so simple when the machine doesn't have internet access. Here is a method for transferring the required package files with a USB drive. get initial package list: \ @@ -40,4 +41,6 @@ If you can't find the exact .deb file that was asked for, then you can substitut e.g. `python3-numpy_1.24.2-1_amd64.deb` => `python3-numpy_1.24.2-1+deb12u1_amd64.deb` Here, the addition of +deb12u1 is indicating that the package is for Debian Linux version 12, update 1. - +Be sure to run: \ +`$sudo apt-get --no-download --fix-missing --fix-broken install` \ +after each successful use of `dpkg -i ` so that the force-installed packages get registered by the apt package manager.