To install programs on machine unable to access internet
enter command as normal and read output look towards end of results for the failed to fetch lines and enter these links into a web capable machine, save the links to a usb memory stick. Repeat for all failed to fetch lines
*pi@raspberrypi ~/pi $ sudo apt-get install scrot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
giblib1
....
**Failed to fetch** http://mirrordirector.raspbian.org/raspbian/pool/main/g/giblib/giblib1_1.2.4-8_armhf.deb*
insert the usb drive you downloaded these files onto and navigate to them (easiest using startx file explorer program) in file explorer press F4 (or Tools, open current folder in terminal)
to manually install the programs in terminal enter commands bolded below. Repeat sudo dpkg -1 filename for each file downloaded.
*pi@raspberrypi /media/KINGSTON/pi install packs $ **sudo dpkg -i scrot_0.8-13_armel.deb**
Selecting previously unselected package giblib1:armhf.
(Reading database ... 85074 files and directories currently installed.)
Unpacking giblib1:armhf (from scrot_0.8-13_armel.deb) ...
Setting up giblib1:armhf (1.2.4-8) ...
pi@raspberrypi /media/KINGSTON/pi install packs $ **sudo dpkg -i scrot_0.8-13_armhf.deb**
Selecting previously unselected package scrot.
(Reading database ... 85081 files and directories currently installed.)
Unpacking scrot (from scrot_0.8-13_armhf.deb) ...
Setting up scrot (0.8-13) ...
Processing triggers for man-db ...*
program should now work.
hope this makes sense
sudo apt-get update
) first.dpkg
checks all dependencies too.