Hi,
On Thu, Mar 22, 2018 at 10:08:58PM +0800, Paul Wise wrote:
> On Wed, Mar 21, 2018 at 11:50 PM, Osamu Aoki wrote:
> 
> > One negative point of above approach is that it always downloads doc deb
> > packages even if there are no changes.
> 
> This will prevent downloading the same package twice:
> 
> chdist apt old install --download-only emacsen-common

Oh, that's it.  I should have known ... this is simple enough.
(I always had real chroot systems .... so never used it)

> > Also unpacking code is still complicated to make it future proof.
> 
> Hmm, do you have any more details? Is dpkg -x not enough?

Probably enough.

> > Then I thought it may be good idea to create very small Debian unstable
> > chroot.  Then install pertinent doc packages.  For old deb from
> > snapshot, we can wget and dpkg -i.  Then this chroot can be updated and
> > dist-upgraded.  This causes to download all base package updates but
> > skips repeated download of doc packages.  Hmmm... which is worse?
> 
> A chroot needs root so probably isn't going to work here.

That's fair.

So now agree.  Thanks for the idea.

Osamu

Reply via email to