the use of Debian tooling for packaging and following Debian policy in the creation of .deb files.
Questions tagged [debian-packaging]
84 questions
0
votes
0 answers
Is there a way for CPack to remove the temporary deb package it creates during build?
CPack seems to generate the debian package in a temporary directory then copy it to the destination folder. Is there a way for CPack to delete the temporary debian package? For large packages, it takes up twice the disk space. Also from CI, I can't…

Tareq A. Siraj
- 424
- 3
- 9
0
votes
0 answers
Can you configure CMake to automatically install apt deb dependencies?
A debian package is built using CMake/CPack (CPACK_GENERATOR = "DEB")
The built package contains an executable and some shared objects.
One of the shared objects has a dependency on libjpeg.so.62, which should be installed in the system.
Is it…

wrf
- 56
- 4
0
votes
1 answer
dpkg versioning problem with libstdc++ 10 and 11
I have a Debian package built in Ubuntu 21.10 which fails to install because of a dependcy on libstdc++6 (>= 11). Raspberry Pi OS uses GCC 10.3; so it only has libstdc++6 (10.3.x).
I switched the Ubuntu build to use the GCC 10.3 toolchain instead of…

Robin Davies
- 7,547
- 1
- 35
- 50
0
votes
0 answers
How can I modify Debian control file build depends version?
There is a simple control file:
Source: my-package
Section: non-free
Priority: extra
Maintainer: Some one
Uploaders: Some one
Build-Depends: dh-autoreconf, pkg-config, debhelper, autotools-dev, dh-buildinfo,
…

Barel Elbaz
- 89
- 8
0
votes
0 answers
mk-sbuild error: Package libeatmydata1 is not installed
I am trying to compile a few 32 bit debs on my 64 bit Lubuntu (21.10 - Impish Indri). The target is Focal though and I have been trying to build the chroot with mk-sbuild.
The command I ran is mk-sbuild focal --arch=i386…

Noob YT
- 23
- 1
- 1
- 6
0
votes
1 answer
making kernel image debian packages from kernel source
I am on Ubuntu 21.10 which has linux 5.13.0 version.
Ubuntu has no newer kernels than that, other than an OEM 5.14.
However, to use the Integrated GPU of an Alder Lake CPU, you need 5.16 or higher, which neither Ubuntu not Debian provides.
Hence...…

Bram
- 7,440
- 3
- 52
- 94
0
votes
1 answer
How to make Jenkins pipeline to build on arm + arm64 + amd64
I'm using Jenkins to build packages for Debian and Ubuntu. The new Raspberry PI nodes was added into my setup to build packages for Raspbian:
The problem is how to make pipeline which build noarch package on any node and binary package on nodes for…

Cybervitexus
- 291
- 4
- 19
0
votes
0 answers
Debian installer built with simple-cdd failed to install custom package
First of all, I apologize for my bad english.
I'm trying to create a Debian 9 installer with simple-cdd including my custom package I built myself. I've already been adding custom package that I built with the exactly same process for a long time…

Adrien Claudet
- 1
- 1
0
votes
2 answers
how to install gitlab-runner on Debian 11 using package manager
I was trying to install GitLab-runner using apt package manager.
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
but there is no GitLab runner package for debian11 right now.

javidasd
- 1,126
- 13
- 18
0
votes
1 answer
Getting error while setting up DSN with Dremio odbc driver on Debian 10
I got into a fresh debian 10 environment with following command
docker run -it --entrypoint /bin/bash debian:10
Inside the container I am installing various utilities and tools with:
apt-get update
apt-get install -y odbcinst1debian2 libodbc1…

COBHC
- 67
- 1
- 8
0
votes
1 answer
saltstack install a new version of package from salt://files/
working with salt 3003.1, what's the best way to install a new version package from salt://files/ assuming the same name and version?
I have this config below, but if I put a new package there without changing versions, it won't pick it…

martin
- 862
- 9
- 28
0
votes
1 answer
How to source environmental variables of a postinst file of a debian package?
I have created a debian package for apache-maven, so that it can be installed via apt. The problem is while exporting few environmental variables like M2_HOME and PATH etc. I have created a postinst script file and pasted the export commands into…

Thinker-101
- 554
- 5
- 19
0
votes
1 answer
Debian Packaging Without Build Tool
I want to create a Debian package from a C program without the use of a build tool such as autotools or CMake. My debian/rules file:
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_clean:
rm -f program
override_dh_auto_build:
gcc…

Edward Chamberlain
- 274
- 6
- 23
0
votes
0 answers
dpkg-buildpackage: error: failed to sign .dsc file
I have scripts that build large numbers of debian packages. When I try to set the changelog from UNRELEASED to a specific release so that I can sign the results, I get this error on
every second dpkg-buildpackage:
gpg: signing failed: Broken…

Dale Amon
- 219
- 2
- 5
0
votes
1 answer
How to manipulate the database when installing a deb package and popular using script
I'm packaging a small system that uses mysql as a database. The system is made in PHP and uses Symfony as a framework.
When installing the system I need to create the database, user and popular.
The package has all dependencies, including…

Sileno Brito
- 449
- 1
- 13
- 31