Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4021  / 2 Years ago, wed, august 24, 2022, 9:35:17

I have a host which is firewalled to the point where apt-get is unable to download packages. That host does not have access to a proxy.



I know in gentoo I could work around the problem by fetching the necessary files using a second host and placing the files in /usr/portage/distfiles .



Does Ubuntu have a similar place I can stash the files to work around the lack of internet access?


More From » apt

 Answers
6

Based on the answer linked by terdon I was able to derive the following procedure.



Use the second host to fetch the .deb files that the first host was unable to download.



Copy those .deb files to the firewalled host. Then



dpkg -i *whatever*.deb


Boom, I now have the software I need.



I'm not sure what I'm missing out on by skipping all the apt-offline gymnastics.


[#26555] Friday, August 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eaderitable

Total Points: 368
Total Questions: 117
Total Answers: 111

Location: Tuvalu
Member since Sat, Feb 11, 2023
1 Year ago
;