On Son, 2003-03-16 at 11:53, Johannes Rohr wrote: > > Since I'm behind a 64-k ISDN line, I would like pbuilder to use cached > packages from /var/cache/apt/archives, if available instead of > unconditionally downloading all the stuff. But unfortunately, > /var/cache/apt/archives doesn't seem to be accessible from within the > chroot. > > Well, I could run dpkg-scanpackages on /var/cache/apt/archives and make > the files available through a local web server which then could be added > to the pbuilderrc as OTHERMIRROR. But wouldn't pbuilder try MIRRORSITE > first anyway, so that OTHERMIRROR remains completely unused? > > Is there a 'canonical' way to achive what I'm asking for?
I simply use APTCACHE=/var/cache/apt/archives/, it copies the contents into the chroot first and copies back the newly downloaded debs. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]