question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build a deb package.

See original GitHub issue

I was able to successfully run make-deb to create a debian folder, but when I try to run dpkg-buildpackage -us -uc, I get the following error:

dpkg-buildpackage: host architecture amd64
dpkg-buildpackage: warning: debian/rules is not executable; fixing that
 dpkg-source --before-build pgcli
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 9) dh-virtualenv (>= 0.8)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

I do have dh-virtualenv installed. Here’s the pip freeze output:

click==4.0
configobj==5.0.6
dh-virtualenv==0.8.99
Jinja2==2.7.3
make-deb==0.0.3
MarkupSafe==0.23
pgcli==0.18.0
prompt-toolkit==0.42
psycopg2==2.6.1
Pygments==2.0.2
six==1.9.0
sqlparse==0.1.14
wcwidth==0.1.4
wheel==0.24.0

Can you please help?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
spangcommented, Jul 10, 2015

Try sudo apt-get install debhelper dh-virtualenv. Does that fix your problem?

0reactions
Bhavin55commented, Jun 26, 2019

Try sudo apt-get install debhelper dh-virtualenv. Does that fix your problem?

Thanks for your help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build a .deb package · Issue #2132 · microsoft/WSL
I am trying to build a Debian package on Bash On Windows using command sudo ... fatal error at line 1376: dpkg-buildpackage -rfakeroot...
Read more >
Cannot build deb package
I have followed this tutorial on how to make a .deb package from source(tar.gz) and at the final build command dpkg-buildpackage -rfakeroot.
Read more >
creating a Debian package fails
When I tried to build it again, it failed. I have: /home/debpackage/debianpackage_1.0.orig.tar.gz; the tar above contains a folder named ...
Read more >
building Debian package fails after even a minor change to ...
Ideally, you'd update the test suite to take your changes into account. It is however possible to avoid the test suite altogether, ...
Read more >
Chapter 6. Building the package
This will do everything to make full binary and source packages for you. It will: clean the source tree ( debian/rules clean )....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found