Re: Where are packages cached localy on the machine that installs them?



stan wrote:
I want to make one machine the "master" for packages, so once I have
downloaded them, I cna NFS mount that location on other machines, and avoid
them having to also download the same pacages before installing them.

I assume that if I try to install a package, this loaction is checked
first. right? Alos, how can I share the lisy fo available packages thet is
created by an apy-get update?

The big picture here is to create a situation where only one machine at a
particular loacation need internet access, and all of it's brothers ate are
to share the vaialble packages, without them having to directly access the
internet. (Yes it's a stupid requirent).


Hi, i had exactly the same requirement. Here broadband is expensive and
downloading packages more than once is a costly exercise. By far your
best best is to setup apt-cacher by "sudo aptitude install apt-cacher
-y" and then "man apt-cacher" to get information about it. Basically
you can edit the config file for it in /etc/defaults and in
/etc/apt-cacher and it's pretty easy. You can then also import existing
packages in to it's database and add the location of that computer in to
the other computer's sources.list.

One other thing you will need to change is in /etc/apt/apt.conf and
remove :http: from the proxy config line.

I know it may seem a little indepth but I whole-heartedly recommend it.
Once you read and understand the man pages of apt-cacher things become
clear. Let me know if i could help any more.

Gabe

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Low cost PCB layout software
    ... >could not get either release to install. ... I then tried to download 4.11 and ... Other packages installed ok, ... >Eagle Cadsoft Can't download or install ...
    (comp.arch.embedded)
  • Re: how to install debian unstable?
    ... Debian is quite difficult. ... > install, which you can upgrade over the net to testing or unstable. ... > system - just the packages you actually need to be the latest versions. ... > them on each of the 'clone' machines. ...
    (comp.os.linux.misc)
  • Re: Complaint about update site
    ... downloading them on both machines. ... dozen updates to windows xp since sp2. ... I'm just trying save download time. ... I would be faster to accept the EULA, click install, check ...
    (microsoft.public.windowsupdate)
  • Re: knoppix HD-install problem
    ... I tried to install a package for the management of spatial data ... Knoppix packages too, and I was left with the sensation that not every ... I decided to be more scientific about my Debian download; ... message that the 2.4.27 version of the kernel I had been running so far ...
    (Debian-User)
  • Re: Gutsy upgrade question: Manually downloading some packages using wget
    ... which will install all the debs. ... dpkg refuses to install the packages due to ... Your best bet is to download the _source_ debs from gutsy, ... manually downloading some packages? ...
    (Ubuntu)