Re: Apt-zip-inst keeps trying to use internet
On Wed, Jan 6, 2010 at 7:43 AM, Jason Heeris <email@example.com> wrote:
> I'm trying to install about 1GB worth of packages on a computer with a
> slow net connection (this is immediately after a clean Squeeze
> install). Someone told me about apt-zip, so I gave it a go.
apt-zip worked for me sometime ago, but now there is a new replacement:
> The trouble was, I was at home and the computer I wanted to install on
> wasn't. So I created a virtual machine, did a clean install of
> Squeeze, and ran "apt-zip-list -p `cat packages.txt` -m apt-packages
> --skip-mount" to get the script in a directory "apt-packages". I then
> copied this directory to the host, ran the fetch script and burnt the
> resulting packages to a DVD. ("packages.txt" contains many packages,
> so I won't post it here unless it's vital.)
> Now I've copied the "apt-packages" dir from the DVD (including all the
> debs and the apt-zip.options file) to the /root dir on the computer I
> actually want to do this on. I ran "apt-zip-inst -p `cat packages.txt`
> -m apt-packages --skip-mount", answer "Y" to the apt-get prompt and...
> apt-get starts trying to download a bunch of packages from my local
> mirror! Okay, so I try "ifdown eth0". Now I get a lot of "Failed to
> fetch http://....." for all the packages, followed by "E: Unable to
> fetch some archives...".
> I'm no beginner to Debian, but I'm stumped here. I've never used
> apt-zip before, but shouldn't it work without a net connection?
Yes apt-zip works without any connetion.
I remember (don't sure):
Run apt-zip (with I don't remember options) in host with low
connection and get an archive with all package names you need and I
don't known if anymore.
Then run apt-zip (again I don't remember options) in a computer with
more bandwith, so this generate another file.
The last step is running again apt-zip in the host with the recently
> In the meantime, I might try to create a local repository if I can get
> the tools onto the machine in question.
I would try apt-offline instead.