Package: pbuilder Version: 0.220 Severity: important Hello Mattia,
This following code snippet looks incorrect. Please look the logs that follow. Can you please elaborate what the "hash" keyword is supposed to do ? if [ "$DEBDELTA" = "yes" ]; then if $CHROOTEXEC hash debdelta-upgrade 2> /dev/null ; then log "I: Using debdelta-upgrade for available deltas" if $CHROOTEXEC debdelta-upgrade ; then : else log "W: debdelta failed, continue and use plain apt to update the system" fi else log "W: debdelta is enabled but not (yet) installed, not using it" fi fi rrs@chutzpah:~/Community/Packaging/digikam (foo)$ sudo pbuilder --update I: Current time: Tue Nov 17 22:04:40 IST 2015 I: pbuilder-time-stamp: 1447778080 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/sid-amd64-base.tgz] I: copying local configuration W: No local /etc/resolv.conf to copy, relying on /var/tmp/Debian-Build/ramfs//22830/etc/resolv.conf to be correct 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 W: Could not create compatibility symlink because /tmp/buildd exists and it is not a directory W: no hooks of type H found -- ignoring I: Refreshing the base.tgz I: upgrading packages Hit http://ftp.debian.org sid InRelease Get:1 http://ftp.debian.org sid/main amd64 Packages/DiffIndex [7876 B] Get:2 http://ftp.debian.org sid/contrib amd64 Packages/DiffIndex [7819 B] Get:3 http://ftp.debian.org sid/non-free amd64 Packages/DiffIndex [6301 B] Fetched 22.0 kB in 2s (10.3 kB/s) Reading package lists... W: debdelta is enabled but not (yet) installed, not using it 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... 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. debdelta is already the newest version. dpkg-dev is already the newest version. eatmydata is already the newest version. python-apt is already the newest version. python-apt set to manually installed. xdelta3 is already the newest version. xdelta3 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. python-apt set to automatically installed. xdelta3 set to automatically installed. W: no hooks of type E found -- ignoring 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/sid-amd64-base.tgz] I: cleaning the build env I: removing directory /var/tmp/Debian-Build/ramfs//22830 and its subdirectories 22:06 ♒♒♒ ☺ Look at the warning from debdelta based snippet above. rrs@chutzpah:~/Community/Packaging/digikam (foo)$ 22:07 ♒♒♒ ☺ rrs@chutzpah:~/Community/Packaging/digikam (foo)$ 22:07 ♒♒♒ ☺ rrs@chutzpah:~/Community/Packaging/digikam (foo)$ sudo pbuilder --login I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/sid-amd64-base.tgz] I: copying local configuration W: No local /etc/resolv.conf to copy, relying on /var/tmp/Debian-Build/ramfs//23206/etc/resolv.conf to be correct 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 W: Could not create compatibility symlink because /tmp/buildd exists and it is not a directory W: no hooks of type H found -- ignoring I: entering the shell File extracted to: /var/tmp/Debian-Build/ramfs//23206 W: no hooks of type F found -- ignoring root@chutzpah:/# which debdelta-upgrade /usr/bin/debdelta-upgrade root@chutzpah:/# As yoou can see debdelta is installed and available. But, with the current code, it does not work. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages pbuilder depends on: ii debconf [debconf-2.0] 1.5.58 ii debootstrap 1.0.75 ii dpkg-dev 1.18.3 ii wget 1.16.3-3 Versions of packages pbuilder recommends: ii devscripts 2.15.9 ii fakeroot 1.20.2-1 ii iproute2 4.1.1-1 ii net-tools 1.60+git20150829.73cef8a-1 ii sudo 1.8.12-1 Versions of packages pbuilder suggests: ii cowdancer 0.75 ii gdebi-core 0.9.5.7 pn pbuilder-uml <none> -- debconf information: pbuilder/rewrite: false pbuilder/mirrorsite: http://ftp.debian.org/debian/ pbuilder/nomirror: