On Tue, Jun 13, 2006 at 07:11:25PM -0700, Redefined Horizons wrote:
> I've been using Debian for a few months now, but for the first time
> I've got a Debian box hooked to an internet connection. So now I can
> finally download Debian packages directly to my work box from the net,
> and software installation is much easier! :]
>
> I've got another Debian box at home that isn't wired to the net yet.
> I'm wondering if Debian keeps a copy of the packages is autmatically
> downloads from the net during software installation, and if so where I
> would find the packages. I'd like to snag these, burn them to a CD,
> and take them home to my other Debian box. (This will save me the work
> of having to download the packages manually.)
>
> Does Debian only download the Debs temorarily, or will I find the debs
> for the software installed on my box somewhere in the local file
> system?
>
> Thanks,
>
> Scott Huey
Hi Scott,
run this script on the debian system that you want to update:
apt-get -y --print-uris upgrade|awk '{print $1}'|grep deb|cut -d\' -f2
it will output a list of URLs that can be used in any browser to downloaded the
deb files from any computer and then can be burned to CD. (change 'upgrade' to
'dist-upgrade' if you wish to dist-upgrade.)
Then run:
apt-get upgrade
once the files are transfered to the /var/cache/apt/archive directory.
cheers,
Kev
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal | debian.home.pipeline.com |
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keysever: pgp.mit.edu | my NPO: cfsg.org |
Attachment:
signature.asc
Description: Digital signature