On Wed, Aug 17, 2016 at 04:55:13PM +0200, Elena ``of Valhalla'' wrote: > Could you please tell me how are you generating the chroot, and how it > ends up not having any version of gnupg installed?
I can't tell for sure. I often use tools like deborphan and debfoster to make sure that the chroot is really minimal. Recently I read in sbuild changelog that gnupg was no longer required inside the chroot so I tried to see if gnupg could be removed from the chroot, and yes, it could be removed. So the only fast recipe I can give would be like this: * Use debootstrap to create a chroot in any way you like. * Install build-essential and debhelper. * Then remove any package which is not in the attached list. That's the chroot I'm currently using for stretch. Thanks.
adduser apt autoconf automake autopoint autotools-dev base-files base-passwd bash binutils bsdmainutils bsdutils build-essential bzip2 coreutils cpp cpp-6 dash debconf debhelper debian-archive-keyring debianutils dh-autoreconf dh-strip-nondeterminism diffutils dmsetup dpkg dpkg-dev e2fslibs e2fsprogs eatmydata fakeroot file findutils g++ g++-6 gcc gcc-5-base gcc-6 gcc-6-base gettext gettext-base gpgv grep groff-base gzip hostname init-system-helpers initscripts insserv intltool-debian less libacl1 libapt-pkg5.0 libarchive-zip-perl libasan3 libatomic1 libattr1 libaudit-common libaudit1 libblkid1 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcap-ng0 libcc1-0 libcilkrts5 libcomerr2 libcroco3 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libeatmydata1 libfakeroot libfdisk1 libffi6 libfile-stripnondeterminism-perl libgcc-6-dev libgcc1 libgcrypt20 libgdbm3 libglib2.0-0 libgmp10 libgomp1 libgpg-error0 libicu57 libisl15 libitm1 liblsan0 liblz4-1 liblzma5 libmagic-mgc libmagic1 libmount1 libmpc3 libmpfr4 libmpx2 libncurses5 libncursesw5 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre3 libperl5.22 libpipeline1 libquadmath0 libselinux1 libsemanage-common libsemanage1 libsepol1 libsigsegv2 libsmartcols1 libss2 libstdc++-6-dev libstdc++6 libsystemd0 libtimedate-perl libtinfo5 libtool libtsan0 libubsan0 libudev1 libunistring0 libustr-1.0-1 libuuid1 libxml2 linux-libc-dev locales login lsb-base m4 make man-db mawk mount multiarch-support nano ncurses-base ncurses-bin passwd patch perl perl-base perl-modules-5.22 po-debconf sed sensible-utils startpar sysv-rc sysvinit-utils tar tzdata util-linux xz-utils zlib1g