Package: apt-build Version: 0.12.37 Severity: normal apt-build supports changing the apt utility in the config file and on the command line, however when this is set to anything other than apt-get, everything breaks, and nothing works.
This is mostly because the options that apt-build passes to the apt command are apt-get specific. This includes the --yes option enabled by default. Setting yes = 0 in the config file fixes some apt-build commands, like apt-build update, yet others are still broken. This is because --print-uris, which is used to grab the package names of files that need to be downloaded in commands like apt-build upgrade, is again, apt-get specific. The easiest way to fix this is to either remove the aptget option altogether, and use apt-get exclusively in the backend, or specifically use apt-get in functions that absolutely need to use the --print-uris flag. Functions that don't work with alternative aptget's: upgrade install source build-source update-source world info If you wanna do the latter of the above two options, you can fix source, build-source and update-source just by adding a dependency to apt-src and calling that instead. If you can figure out an alternative way to get the list of packages that are gonna be pulled in by the various commands you use that doesn't use --print-uris, then it might be worth it to keep the aptget config option. But given the amount of commands that *require* apt-get at this point, it doesn't look like it's worth it to keep that option around. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29.1-arctor (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-build depends on: ii apt 0.7.21 Advanced front-end for dpkg ii apt-utils 0.7.21 APT utility programs ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy ii devscripts 2.10.48 scripts to make the life of a Debi ii dpkg-dev 1.14.26 Debian package development tools ii g++ 4:4.3.3-3 The GNU C++ compiler ii gcc 4:4.3.3-3 The GNU C compiler ii libappconfig-perl 1.56-2 Perl module for configuration file ii libapt-pkg-perl 0.1.23 Perl interface to libapt-pkg ii libc6 2.9-7 GNU C Library: Shared libraries ii perl 5.10.0-19 Larry Wall's Practical Extraction Versions of packages apt-build recommends: ii build-essential 11.4 Informational list of build-essent ii fakeroot 1.12.2 Gives a fake root environment apt-build suggests no packages. -- debconf information: apt-build/arch_amd: k6 apt-build/arch_alpha: ev4 apt-build/options: apt-build/arch_intel: pentium apt-build/arch_arm: armv2 apt-build/make_options: * apt-build/olevel: Medium apt-build/build_dir: /var/cache/apt-build/build apt-build/repository_dir: /var/cache/apt-build/repository apt-build/arch_sparc: sparc * apt-build/arch_amd64: core2 * apt-build/add_to_sourceslist: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org