Package: apt Version: 2.5.3 Severity: wishlist Hi!
apt build-dep currently supports the `--arch-only` and `--indep-only` options to only install build deps needed to build arch dependent and independent packages, respectively. As far as I know though, it isn't currently possible to only ask for the packages specified in the Build-Depends and Build-Conflicts fields, i.e. only the ones needed to run the `clean` target. This could be useful to easily check if the build dependencies of a package are correctly specified; for example, see this Salsa CI thread: <https://salsa.debian.org/salsa-ci- team/pipeline/-/issues/187#note_339696> Would it be reasonable for apt to add the `--no-arch` and `--no-indep` options, or a `--clean-only` one? Thanks :) -- Package-specific info: -- (no /etc/apt/preferences present) -- -- (no /etc/apt/preferences.d/* present) -- -- (no /etc/apt/sources.list present) -- -- (/etc/apt/sources.list.d/debian.sources present, but not submitted) -- -- (/etc/apt/sources.list.d/extrepo_vscodium.sources present, but not submitted) -- -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.19.0-2-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt depends on: ii adduser 3.129 ii debian-archive-keyring 2021.1.1 ii gpgv 2.2.39-1 ii libapt-pkg6.0 2.5.3 ii libc6 2.35-1 ii libgcc-s1 12.2.0-3 ii libgnutls30 3.7.7-2 ii libseccomp2 2.5.4-1+b1 ii libstdc++6 12.2.0-3 ii libsystemd0 251.4-3 Versions of packages apt recommends: ii ca-certificates 20211016 Versions of packages apt suggests: pn apt-doc <none> pn aptitude | synaptic | wajig <none> ii dpkg-dev 1.21.9 ii gnupg 2.2.39-1 pn powermgmt-base <none> -- no debconf information