LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   limits using debs without an internet connection? (http://www.linuxquestions.org/questions/debian-26/limits-using-debs-without-an-internet-connection-68755/)

softgun 06-28-2003 10:54 PM

limits using debs without an internet connection?
 
Hi,

I have a adsl connection at home. But I do not have any connection at my workplace, which has a network. How do I take the debs needed and install them in the server over there?

I know how this can be done from the docs, but the trouble is that I cannot be sure what debs I need to download, burn to a CD and take along.

The ones I need are postgresql and zope/plone.

Any simple solution or do a tarball install?

cheers and thanks

XavierP 06-29-2003 02:43 AM

There is a download packages only option in apt - you could do that, burn them to a cd and add the cd as a source in your work pc.

Man apt-get should give more info.

Salz 06-29-2003 03:21 AM

:study: /usr/share/doc/apt/offline.text.gz :study:

softgun 06-30-2003 12:27 AM

Thanks a lot!

I will let you know if I am successful.

footfrisbee 07-05-2003 03:42 PM

You should also check out the debian-cd package. I use it to back up the packages I download to cd (I'm on a dialup connection so ~1GB of accumulated downloaded data is good to backup). The cds made by the scripts in that package can be used by apt-cdrom.

TigerOC 07-07-2003 11:47 AM

Here' a trick to enable apt to read packages from a cd. Download the packages and you can incorporate any and all packages from /var/cache/apt/archives. Make a new directory say called debs. Copy all the packages you want into this directory. Using the command line cd to the new directory and do "dpkg-scanpackages debs file | gzip > debs/Packages.gz"
This generates the file Packages.gz which contains all the info about the packages in the directory and is used by APT. Burn the contents of the debs directory to a cd and you now have a mobile APT source.

softgun 07-08-2003 08:22 AM

Thanks!

I am thinking of putting the debs into a directory. I do not understand what file means in the above "dpkg-scanpackages debs file | gzip > debs/Packages.gz" that you mention.

I have posted a similar question in is Debian sloppy thread
:o

TigerOC 07-09-2003 01:41 AM

Quote:

Originally posted by softgun
Thanks!

I am thinking of putting the debs into a directory. I do not understand what file means in the above "dpkg-scanpackages debs file | gzip > debs/Packages.gz" that you mention.

I have posted a similar question in is Debian sloppy thread
:o

file is the override file; debs file. Just reading up on APT you in fact do not need to cd to /root/debs but can "scanpackages" from /root.


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