dpkg-buildpackage build-dep list should be easier to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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 <email address hidden>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
dpkg-checkbuild
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: dpkg 1.19.5ubuntu1
ProcVersionSign
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)