LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-07-2006, 06:01 PM   #1
scpeckham
LQ Newbie
 
Registered: Dec 2005
Distribution: Mint Cinnamon
Posts: 15

Rep: Reputation: 0
Question SynAPTic without internet connection?


Hi,

I have a couple of computers running Debian Sarge that I keep up to date with the SynAPTic package manager.
Due to very slow telephone lines, I do all of the updates on one machine then copy (usb stick) the /var/cache/apt/archives/*.deb files over, so that the (sometimes days) long downloads do not need to be done over. The only part on the second machine that needs to be downloaded is the RELOAD data (apt-get update, I believe). I would like to maintain a non-internet machine too, so my question is ... what do I need to do (or copy) to avoid the internet connection requirement for the RELOAD???

Thanks,
Steven Peckham.
 
Old 12-07-2006, 09:39 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You could setup the machine you use to download as a apt repository and let the other machines download from it...

http://www.debian.org/doc/manuals/re...-howto.en.html

This how-to also covers how the index files are created..
 
Old 12-08-2006, 11:53 AM   #3
scpeckham
LQ Newbie
 
Registered: Dec 2005
Distribution: Mint Cinnamon
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks farslayer (whoever you are).
I am not sure how to build the repository, and the machine I am causing the problem is not connected to anything else. Given the info you gave me (thanks again for that), my copy to usb script now looks like
#!/bin/sh
#
cd /var/cache/apt/archives
cp -puv *.deb /mnt/usb/archives
dpkg-scanpackages . /dev/null | gzip -9c > /mnt/usb/archives/Packages.gz
sync

and I added a line to the bottom of /etc/apt/sources.list (on the computer that I want to maintain) that looks like
deb file:///mnt/usb/archives ./
and everything seems to work fine

Thanks again,
Steven Peckham
 
  


Reply

Tags
repository, synaptic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
synaptic repos refuse connection (proxy setting?) ehawk Ubuntu 1 08-06-2006 02:24 PM
Internet connection timeout on Fedora Core 5 using USB connection mike1111 Linux - Networking 0 07-23-2006 09:44 PM
Internet & Synaptic not working unless mouse is moving shortblock MEPIS 16 02-16-2006 07:34 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration