LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   installing multiple packages and dependencies offline (http://www.linuxquestions.org/questions/debian-26/installing-multiple-packages-and-dependencies-offline-701414/)

quidoloremipsum 02-01-2009 09:11 AM

installing multiple packages and dependencies offline
 
How can I install multiple packages and dependencies if:

computer A - offline debian system, won't be online even for few seconds
computer B - online non-debian linux, i want to use it to download packages

Tried dpkg -i but this won't work well, because packages need many dependencies. Wanted to try with apt-zip but to generate fetch script it needs to apt-get update... and to do this i need to go online on debian box.

Any idea about scripts that i could run on non-debian box? Or maybe debian livecd with apt-zip or similar package already preinstalled?

n03x3c 02-01-2009 09:41 AM

First of all, are those computers connected? I am sure they're not otherwise its just about setting gateaway :)

If they're not gonna get connected ever, a simple way is there. Download all debian packages... (liek 18k packages are available to d/l in dvd iso format) and then you'll need to create local repository

if you create local repository all dependencies will be surely resolved from inside.. :-)

amani 02-01-2009 09:42 AM

Welcome to LQ

aptoncd


or other variants should do

Even the manual way of copying /var/cache... across can help (use apt-get on the offline system as well)

quidoloremipsum 02-01-2009 10:21 AM

thanks for help, cd repo is great idea but... it won't work because debian box is eee pc and i don't have external cd drive ;). i have usb key xP


All times are GMT -5. The time now is 09:51 PM.