From 9ff799e47b19d1f3fab41a3972349f8bfc5d8558 Mon Sep 17 00:00:00 2001 From: watts Date: Thu, 31 Oct 2024 06:30:11 +0100 Subject: [PATCH] Update Installing Packages without Internet Access --- SneakerNetUpdates.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.