Bug#432088: pbuilder: please use APTCACHE on --create

Mattia Rizzolo mattia at debian.org
Mon Oct 3 19:24:49 UTC 2016


On Mon, Oct 03, 2016 at 11:37:03PM +0530, Ritesh Raj Sarraf wrote:
> Is there any way to solve this bug ?
> 
> On --create, it really is annoying. Because even a single deb failure
> will result in the whole thing to be downloaded again.

I concur with you, this is really annoying.
Since quite some time I have a local squid caching all of my http so I
don't have that trouble anymore, but I can see how I can't ask everybody
to spare 150 GB of disk for a squid cache like mine :D

> Ideally, APTCACHE should be used. But looking at the code, it seems the
> download is done by debootstrap, which does not seem to have that
> intelligence.

Yeah, indeed.
I'm not aware of any way to tell debootstrap to use an apt cache, also
consider that debootstrap doesn't use apt at all for its job.
This is further complicated by the fact that a user could specify its
own debootstraper.

> Please reassign if you think/agree that this is beyond pbuilder's scope
> and should be assigned to debootstrap.

rather than reassigning what is needed is a new bug asking for a way for
specifying a cache place for debootstrap.  Could you perhaps file one
describing the needs (in particular, it would be handy if just passing
and apt cache directory could be enough for it to try it out).

In conclusion, I have no path on how to progress with this bug.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20161003/c43d53c1/attachment.sig>


More information about the Pbuilder-maint mailing list