DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.