Re: pro-tip: preinstall debhelper in your sbuild

2017-03-25 Thread Jens Reyer
On 03/25/2017 11:52 AM, Mattia Rizzolo wrote: > On Sat, Mar 25, 2017 at 01:52:29AM +0100, Michael Biebl wrote: >> Am 25.03.2017 um 01:17 schrieb gregor herrmann: >>> On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote: >> Installing debhelper (+dependencies) takes about 5s here (on a 6

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-25 Thread gregor herrmann
On Sat, 25 Mar 2017 11:52:31 +0100, Mattia Rizzolo wrote: > > > On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote: > > >> Installing debhelper (+dependencies) takes about 5s here (on a 6 year > > >> old laptop with SSD+eatmydata). Most of that time seems to be spent in > > >> man-db's

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-25 Thread Mattia Rizzolo
On Sat, Mar 25, 2017 at 01:52:29AM +0100, Michael Biebl wrote: > Am 25.03.2017 um 01:17 schrieb gregor herrmann: > > On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote: > > >> Installing debhelper (+dependencies) takes about 5s here (on a 6 year > >> old laptop with SSD+eatmydata). Most of

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-25 Thread Andrey Rahmatullin
On Sat, Mar 25, 2017 at 01:52:29AM +0100, Michael Biebl wrote: > >> Installing debhelper (+dependencies) takes about 5s here (on a 6 year > >> old laptop with SSD+eatmydata). Most of that time seems to be spent in > >> man-db's postinst. > > > > For pbuilder/cowbuilder I'm using > >

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Adam Borowski
On Fri, Mar 24, 2017 at 11:09:37PM +0100, Michael Biebl wrote: > Am 24.03.2017 um 13:46 schrieb Adam Borowski: > > Hi! > > Thought I'd share a trick I'm using: as debhelper's dependencies chain > > became > > really fat, you can gain a drastic speed-up (especially for small packages) > > by

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread gregor herrmann
On Sat, 25 Mar 2017 01:52:29 +0100, Michael Biebl wrote: > >> Installing debhelper (+dependencies) takes about 5s here (on a 6 year > >> old laptop with SSD+eatmydata). Most of that time seems to be spent in > >> man-db's postinst. > > For pbuilder/cowbuilder I'm using > >

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Michael Biebl
Am 25.03.2017 um 01:17 schrieb gregor herrmann: > On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote: >> Installing debhelper (+dependencies) takes about 5s here (on a 6 year >> old laptop with SSD+eatmydata). Most of that time seems to be spent in >> man-db's postinst. > > For

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread gregor herrmann
On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote: > Installing debhelper (+dependencies) takes about 5s here (on a 6 year > old laptop with SSD+eatmydata). Most of that time seems to be spent in > man-db's postinst. For pbuilder/cowbuilder I'm using

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Michael Biebl
Am 24.03.2017 um 23:09 schrieb Michael Biebl: > Installing debhelper (+dependencies) takes about 5s here (on a 6 year > old laptop with SSD+eatmydata). Most of that time seems to be spent in > man-db's postinst. > # time apt install -y debhelper > Reading package lists... Done > Building

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Michael Biebl
Am 24.03.2017 um 13:46 schrieb Adam Borowski: > Hi! > Thought I'd share a trick I'm using: as debhelper's dependencies chain became > really fat, you can gain a drastic speed-up (especially for small packages) > by preinstalling debhelper into your base sbuild/pbuilder/etc image. Installing

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Johannes Schauer
Hi, Quoting Timo Weingärtner (2017-03-24 16:56:51) > These apt settings keep my systems clean and I guess they would also help > build chroots: > > Apt::AutoRemove::RecommendsImportant "false"; > Apt::AutoRemove::SuggestsImportant "false"; > Apt::Install-Recommends "false"; >

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Mattia Rizzolo
On Fri, Mar 24, 2017 at 04:18:10PM +0100, Adam Borowski wrote: > No idea about official buildds, but I remember hearing somewhere that the > Reproducible Builds project recreates them from scratch once a month. The official buildds recreate their chroots twice a week. Reproducible Builds buildds

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Timo Weingärtner
2017-03-24 16:18:10 CET Adam Borowski: > On Fri, Mar 24, 2017 at 07:30:55PM +0500, Andrey Rahmatullin wrote: > > On Fri, Mar 24, 2017 at 03:25:59PM +0100, Adam Borowski wrote: > > > autoremove will still usually catch this. > > > > I'm not sure about this. Looks like it keeps Recommends or

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Andrey Rahmatullin
On Fri, Mar 24, 2017 at 04:18:10PM +0100, Adam Borowski wrote: > The man page recommends -udcar, which includes autoclean, and, important > here, autoremove. I wonder why clean+autoclean (also both are only interesting when you keep a separate /var/cache/apt/archives) -- WBR, wRAR

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Adam Borowski
On Fri, Mar 24, 2017 at 07:30:55PM +0500, Andrey Rahmatullin wrote: > On Fri, Mar 24, 2017 at 03:25:59PM +0100, Adam Borowski wrote: > > autoremove will still usually catch this. > I'm not sure about this. Looks like it keeps Recommends or something. Or > it's a bug. I'd say that apt autoremove

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Andrey Rahmatullin
On Fri, Mar 24, 2017 at 03:25:59PM +0100, Adam Borowski wrote: > autoremove will still usually catch this. I'm not sure about this. Looks like it keeps Recommends or something. Or it's a bug. > you do refresh your chroots from time to time (don't you?); No, I didn't even think it's ever needed

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Adam Borowski
On Fri, Mar 24, 2017 at 05:49:52PM +0500, Andrey Rahmatullin wrote: > On Fri, Mar 24, 2017 at 01:46:31PM +0100, Adam Borowski wrote: > > Thought I'd share a trick I'm using: as debhelper's dependencies chain > > became > > really fat, you can gain a drastic speed-up (especially for small

Re: pro-tip: preinstall debhelper in your sbuild

2017-03-24 Thread Andrey Rahmatullin
On Fri, Mar 24, 2017 at 01:46:31PM +0100, Adam Borowski wrote: > Thought I'd share a trick I'm using: as debhelper's dependencies chain became > really fat, you can gain a drastic speed-up (especially for small packages) > by preinstalling debhelper into your base sbuild/pbuilder/etc image. What