Public bug reported: When building from source dpkg-buildpackage very kindly tells you what build-dep packages are not installed. Usually, I just want install all these packages. However this list, because of the version requirements, cannot be copied and pasted with "apt install" in front. There are three way to fix this
1. teach apt to understand these version requirements 2. have dpkg output another line without the versions 3. add a flag to dpkg-buildpackage that makes it call into apt to install these (not recommended) $ dpkg-buildpackage -b dpkg-buildpackage: info: source package network-manager dpkg-buildpackage: info: source version 1.16.0-1 dpkg-buildpackage: info: source distribution experimental dpkg-buildpackage: info: source changed by Michael Biebl <bi...@debian.org> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-checkbuilddeps: error: Unmet build dependencies: intltool ppp-dev (>= 2.4.7-1+1) libpolkit-gobject-1-dev libpolkit-agent-1-dev (>= 0.97) libaudit-dev libsystemd-dev (>= 209) libgirepository1.0-dev (>= 0.10.7-1~) gobject-introspection (>= 0.9.12-4~) python-gi libpsl-dev (>= 0.1) libcurl4-gnutls-dev (>= 7.24.0) gtk-doc-tools libyaml-perl libglib2.0-doc libmm-glib-dev (>= 0.7.991) libndp-dev libreadline-dev libnewt-dev (>= 0.52.15) libteam-dev (>= 1.9) libjansson-dev libbluetooth-dev (>= 5) valac (>= 0.17.1.24) python-dbus ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: dpkg 1.19.5ubuntu1 ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1 Uname: Linux 5.0.0-8-generic x86_64 ApportVersion: 2.20.10-0ubuntu23 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Mar 31 14:12:05 2019 InstallationDate: Installed on 2019-02-23 (36 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203) SourcePackage: dpkg UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: dpkg (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1822496 Title: dpkg-buildpackage build-dep list should be easier to install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1822496/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs