Questions tagged [deb]

Deb is the binary package format used by Debian, Ubuntu, Linux Mint, … Use this tag for questions about building or inspecting deb packages.

The deb file format is the format of packages that can be installed on Debian and derivatives such as Ubuntu , Linux Mint , etc.

Use this tag for questions about the deb format itself, about tools to manipulate deb packages, and about making deb packages. For questions about the tools to install these packages, use or as appropriate.

External links

280 questions
8
votes
2 answers

Is it possible to install two services for one package using dh_installinit? How?

dh_installinit looks for debian/$(package).service, but a package may provide multiple services. Is it possible for one to bundle multiples .service for one package with this method?
Zulgrib
  • 984
5
votes
1 answer

Override version of dependency package set by shlibs:Depends in deb

I'm building a Debian package that depends on libmysqlcppconn7v5. I'm building it on Ubuntu which has libmysqlcppconn7v5 1.1.9, however it is intended to be installed on Debian which has libmysqlcppconn7v5 1.1.7. debian/control contains following…
Milan
  • 313
2
votes
1 answer

dh_install cannot find files - tried in debian/buildtmp, but files exist in debian/buildtmpusr?

I'm trying to build https://github.com/wallix/redemption on Ubuntu 20.04. The compilation actually succeeded, and then I realized they have a python script that would create a .deb file, tools/packager.py. It uses dh_install (tools that are in sudo…
sdbbs
  • 480
2
votes
1 answer

DEB: multi-package, ignore installation of some files during packages building

I've overridden dh_auto_install: target in debian/rule file. Now, all my built components installed in debian/tmp. I prepared package.install for every package of my set but I have this issue: Package A should contains scripts with two…
1
vote
1 answer

Cannot stat file while copying script from deb package to /usr/local/bin in postinst

I have a script (nginx-sb-setup.sh) inside of my deb package in usr/local/bin directory. During postinst, I want to copy this usr/local/bin/nginx-sb-setup.sh which is inside of my deb package to /usr/local/bin. I have learned that dpkg -i doesn't…
Hasan
  • 121
0
votes
1 answer

Debian: resource file for use in postinst

I am trying to build a Debian package which installs a database (the DBMS is a dependency, this package makes sure a certain database is present). I would like postinst to take care of initializing the database with a schema, for which I have…
user149408
  • 1,255