Control: tag -1 patch On 11/07/2010 07:13 PM, Ritesh Raj Sarraf wrote: > Package: pbuilder > Version: 0.199 > Severity: wishlist > > > debdelta helps lower down the install size of packages. It only > downloads the delta. debdelta is now available at debdelta.debian.net > > Please add support for it into pbuilder.
13:46:31 rrs@zan:/var/tmp$ diff /tmp/pbuilder-updatebuildenv /usr/lib/pbuilder/pbuilder-updatebuildenv 68a69 > $CHROOTEXEC /usr/bin/debdelta-upgrade || true It is a one liner so I didn't bother to prepare a proper patch. Please consider integrating it as it would save a lot of resources both, for our users/developers, and our infrastructure. Appended below is the log after applying this patch, and debdelta into action (ofcourse one is expected to install debdelta and its dependencies in the chroot first) 13:38:33 rrs@zan:/var/tmp$ sudo DIST=experimental pbuilder update I: Current time: Sat Mar 22 13:38:35 IST 2014 I: pbuilder-time-stamp: 1395475715 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-amd64-base.tgz] I: creating local configuration I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: Mounting /var/cache/apt/archives/ I: policy-rc.d already exists I: Refreshing the base.tgz I: upgrading packages Hit http://ftp.debian.org sid InRelease Hit http://ftp.debian.org experimental InRelease Hit http://ftp.debian.org sid/main amd64 Packages/DiffIndex Hit http://ftp.debian.org sid/contrib amd64 Packages/DiffIndex Hit http://ftp.debian.org sid/non-free amd64 Packages/DiffIndex Hit http://ftp.debian.org sid/contrib Translation-en/DiffIndex Hit http://ftp.debian.org sid/main Translation-en/DiffIndex Hit http://ftp.debian.org sid/non-free Translation-en/DiffIndex Hit http://ftp.debian.org experimental/main amd64 Packages/DiffIndex Hit http://ftp.debian.org experimental/contrib amd64 Packages/DiffIndex Hit http://ftp.debian.org experimental/non-free amd64 Packages/DiffIndex Hit http://ftp.debian.org experimental/contrib Translation-en/DiffIndex Hit http://ftp.debian.org experimental/main Translation-en/DiffIndex Hit http://ftp.debian.org experimental/non-free Translation-en/DiffIndex Reading package lists... Created, time 0.29sec, speed 500kB/sec, gcc-4.7-base_4.7.3-12_amd64.deb Created, time 0.17sec, speed 866kB/sec, gcc-4.8-base_4.8.2-17_amd64.deb Created, time 0.12sec, speed 509kB/sec, libasan0_4.8.2-17_amd64.deb Delta is not present: libatomic1_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 0.13sec, speed 348kB/sec, libdebconfclient0_0.189_amd64.deb Created, time 0.15sec, speed 236kB/sec, libgcc1_1%3a4.8.2-17_amd64.deb Delta is too big: libitm1_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 0.12sec, speed 1014kB/sec, libquadmath0_4.8.2-17_amd64.deb Created, time 0.24sec, speed 384kB/sec, libtsan0_4.8.2-17_amd64.deb Created, time 0.17sec, speed 332kB/sec, readline-common_6.3-4_all.deb Delta is not present: tzdata_2013i-1_2014a-1_all.debdelta Downloaded, time 0.53sec, speed 2856B/sec, libgomp1_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 0.12sec, speed 183kB/sec, libgomp1_4.8.2-17_amd64.deb Downloaded, time 0.42sec, speed 11kB/sec, libapt-inst1.5_0.9.15.5+b1_0.9.16.1_amd64.debdelta Created, time 0.23sec, speed 678kB/sec, libapt-inst1.5_0.9.16.1_amd64.deb Downloaded, time 0.71sec, speed 23kB/sec, linux-libc-dev_3.13.5-1_3.13.6-1_amd64.debdelta Created, time 2.04sec, speed 436kB/sec, linux-libc-dev_3.13.6-1_amd64.deb Downloaded, time 3.12sec, speed 7031B/sec, libgcc-4.8-dev_4.8.2-16_4.8.2-17_amd64.debdelta Downloaded, time 1.55sec, speed 14kB/sec, libstdc++-4.8-dev_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 2.13sec, speed 772kB/sec, libgcc-4.8-dev_4.8.2-17_amd64.deb Downloaded, time 1.70sec, speed 14kB/sec, libreadline6_6.3-1_6.3-4_amd64.debdelta Downloaded, time 2.33sec, speed 22kB/sec, apt-utils_0.9.15.5+b1_0.9.16.1_amd64.debdelta Created, time 4.64sec, speed 221kB/sec, libstdc++-4.8-dev_4.8.2-17_amd64.deb Created, time 0.22sec, speed 632kB/sec, libreadline6_6.3-4_amd64.deb Created, time 0.53sec, speed 648kB/sec, apt-utils_0.9.16.1_amd64.deb Downloaded, time 2.50sec, speed 27kB/sec, libstdc++6_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 0.42sec, speed 591kB/sec, libstdc++6_4.8.2-17_amd64.deb Downloaded, time 1.69sec, speed 41kB/sec, login_1%3a4.1.5.1-1_1%3a4.1.5.1-1.1_amd64.debdelta Created, time 1.14sec, speed 604kB/sec, login_1%3a4.1.5.1-1.1_amd64.deb Downloaded, time 2.74sec, speed 63kB/sec, bash_4.3-2_4.3-4_amd64.debdelta Created, time 1.63sec, speed 697kB/sec, bash_4.3-4_amd64.deb Downloaded, time 4.05sec, speed 56kB/sec, apt_0.9.15.5+b1_0.9.16.1_amd64.debdelta Created, time 1.53sec, speed 675kB/sec, apt_0.9.16.1_amd64.deb Downloaded, time 5.98sec, speed 49kB/sec, coreutils_8.21-1_8.21-1.1_amd64.debdelta Created, time 5.36sec, speed 459kB/sec, coreutils_8.21-1.1_amd64.deb Downloaded, time 13.36sec, speed 24kB/sec, passwd_1%3a4.1.5.1-1_1%3a4.1.5.1-1.1_amd64.debdelta Created, time 1.75sec, speed 520kB/sec, passwd_1%3a4.1.5.1-1.1_amd64.deb Downloaded, time 16.23sec, speed 21kB/sec, libapt-pkg4.12_0.9.15.5+b1_0.9.16.1_amd64.debdelta Created, time 1.03sec, speed 702kB/sec, libapt-pkg4.12_0.9.16.1_amd64.deb Downloaded, time 73.10sec, speed 26kB/sec, cpp-4.8_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 6.66sec, speed 671kB/sec, cpp-4.8_4.8.2-17_amd64.deb Downloaded, time 114.30sec, speed 24kB/sec, gcc-4.8_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 6.97sec, speed 664kB/sec, gcc-4.8_4.8.2-17_amd64.deb Downloaded, time 165.01sec, speed 23kB/sec, g++-4.8_4.8.2-16_4.8.2-17_amd64.debdelta Created, time 11.69sec, speed 653kB/sec, g++-4.8_4.8.2-17_amd64.deb Downloaded, time 18.81sec, speed 1524B/sec, libitm1_4.8.2-17_amd64.deb Delta-upgrade statistics: total resulting debs, size 28MB time 444sec virtual speed 65kB/sec Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: apt apt-utils bash coreutils cpp-4.8 g++-4.8 gcc-4.7-base gcc-4.8 gcc-4.8-base libapt-inst1.5 libapt-pkg4.12 libasan0 libatomic1 libdebconfclient0 libgcc-4.8-dev libgcc1 libgomp1 libitm1 libquadmath0 libreadline6 libstdc++-4.8-dev libstdc++6 libtsan0 linux-libc-dev login passwd readline-common tzdata 28 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 223 kB/29.8 MB of archives. After this operation, 499 kB disk space will be freed. Get:1 http://ftp.debian.org/debian/ sid/main libatomic1 amd64 4.8.2-17 [8586 B] Get:2 http://ftp.debian.org/debian/ sid/main tzdata all 2014a-1 [215 kB] Fetched 223 kB in 8s (26.2 kB/s) Preconfiguring packages ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../archives/bash_4.3-4_amd64.deb ... Unpacking bash (4.3-4) over (4.3-2) ... Setting up bash (4.3-4) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../coreutils_8.21-1.1_amd64.deb ... Unpacking coreutils (8.21-1.1) over (8.21-1) ... Setting up coreutils (8.21-1.1) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../login_1%3a4.1.5.1-1.1_amd64.deb ... Unpacking login (1:4.1.5.1-1.1) over (1:4.1.5.1-1) ... Setting up login (1:4.1.5.1-1.1) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libitm1_4.8.2-17_amd64.deb ... Unpacking libitm1:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libgomp1_4.8.2-17_amd64.deb ... Unpacking libgomp1:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libasan0_4.8.2-17_amd64.deb ... Unpacking libasan0:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../gcc-4.8-base_4.8.2-17_amd64.deb ... Unpacking gcc-4.8-base:amd64 (4.8.2-17) over (4.8.2-16) ... Setting up gcc-4.8-base:amd64 (4.8.2-17) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a4.8.2-17_amd64.deb ... Unpacking libgcc1:amd64 (1:4.8.2-17) over (1:4.8.2-16) ... Setting up libgcc1:amd64 (1:4.8.2-17) ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libatomic1_4.8.2-17_amd64.deb ... Unpacking libatomic1:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libtsan0_4.8.2-17_amd64.deb ... Unpacking libtsan0:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libquadmath0_4.8.2-17_amd64.deb ... Unpacking libquadmath0:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../cpp-4.8_4.8.2-17_amd64.deb ... Unpacking cpp-4.8 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libstdc++-4.8-dev_4.8.2-17_amd64.deb ... Unpacking libstdc++-4.8-dev:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../g++-4.8_4.8.2-17_amd64.deb ... Unpacking g++-4.8 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../gcc-4.8_4.8.2-17_amd64.deb ... Unpacking gcc-4.8 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libgcc-4.8-dev_4.8.2-17_amd64.deb ... Unpacking libgcc-4.8-dev:amd64 (4.8.2-17) over (4.8.2-16) ... Preparing to unpack .../libstdc++6_4.8.2-17_amd64.deb ... Unpacking libstdc++6:amd64 (4.8.2-17) over (4.8.2-16) ... Setting up libstdc++6:amd64 (4.8.2-17) ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libapt-pkg4.12_0.9.16.1_amd64.deb ... Unpacking libapt-pkg4.12:amd64 (0.9.16.1) over (0.9.15.5+b1) ... Setting up libapt-pkg4.12:amd64 (0.9.16.1) ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12642 files and directories currently installed.) Preparing to unpack .../apt_0.9.16.1_amd64.deb ... Unpacking apt (0.9.16.1) over (0.9.15.5+b1) ... Setting up apt (0.9.16.1) ... Installing new version of config file /etc/kernel/postinst.d/apt-auto-removal ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../readline-common_6.3-4_all.deb ... Unpacking readline-common (6.3-4) over (6.3-1) ... Setting up readline-common (6.3-4) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libreadline6_6.3-4_amd64.deb ... Unpacking libreadline6:amd64 (6.3-4) over (6.3-1) ... Setting up libreadline6:amd64 (6.3-4) ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.189_amd64.deb ... Unpacking libdebconfclient0:amd64 (0.189) over (0.188) ... Setting up libdebconfclient0:amd64 (0.189) ... Processing triggers for libc-bin (2.18-4) ... (Reading database ... 12641 files and directories currently installed.) Preparing to unpack .../libapt-inst1.5_0.9.16.1_amd64.deb ... Unpacking libapt-inst1.5:amd64 (0.9.16.1) over (0.9.15.5+b1) ... Preparing to unpack .../passwd_1%3a4.1.5.1-1.1_amd64.deb ... Unpacking passwd (1:4.1.5.1-1.1) over (1:4.1.5.1-1) ... Setting up passwd (1:4.1.5.1-1.1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../tzdata_2014a-1_all.deb ... Unpacking tzdata (2014a-1) over (2013i-1) ... Setting up tzdata (2014a-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sat Mar 22 08:16:19 UTC 2014. Universal Time is now: Sat Mar 22 08:16:19 UTC 2014. Run 'dpkg-reconfigure tzdata' if you wish to change it. (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../apt-utils_0.9.16.1_amd64.deb ... Unpacking apt-utils (0.9.16.1) over (0.9.15.5+b1) ... Preparing to unpack .../gcc-4.7-base_4.7.3-12_amd64.deb ... Unpacking gcc-4.7-base:amd64 (4.7.3-12) over (4.7.3-11) ... Preparing to unpack .../linux-libc-dev_3.13.6-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (3.13.6-1) over (3.13.5-1) ... Setting up libitm1:amd64 (4.8.2-17) ... Setting up libgomp1:amd64 (4.8.2-17) ... Setting up libasan0:amd64 (4.8.2-17) ... Setting up libatomic1:amd64 (4.8.2-17) ... Setting up libtsan0:amd64 (4.8.2-17) ... Setting up libquadmath0:amd64 (4.8.2-17) ... Setting up cpp-4.8 (4.8.2-17) ... Setting up libgcc-4.8-dev:amd64 (4.8.2-17) ... Setting up libstdc++-4.8-dev:amd64 (4.8.2-17) ... Setting up gcc-4.8 (4.8.2-17) ... Setting up g++-4.8 (4.8.2-17) ... Setting up libapt-inst1.5:amd64 (0.9.16.1) ... Setting up apt-utils (0.9.16.1) ... Setting up gcc-4.7-base:amd64 (4.7.3-12) ... Setting up linux-libc-dev:amd64 (3.13.6-1) ... Processing triggers for libc-bin (2.18-4) ... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... Package 'ccache' is not installed, so not removed apt-utils is already the newest version. aptitude is already the newest version. build-essential is already the newest version. dpkg-dev is already the newest version. eatmydata is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: unmounting /var/cache/apt/archives/ filesystem I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: creating base tarball [/var/cache/pbuilder/experimental-amd64-base.tgz] I: cleaning the build env I: removing directory /tmp/18924 and its subdirectories -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature