Questions tagged [packaging]
creating packages for software installation, such as .deb (Debian & derivatives), .rpm (RHEL/CentOS), .bff (AIX), Solaris pkg / pkgadd, etc. Do NOT use this tag for /software-installation or /package-management
363 questions
1 vote
0 answers
58 views
Using Debian's `equivs` to create a "substitute" package
I learned of equivs recently from this Q&A. However, the problem I was trying to solve was different than the "missing package" issue described there. What I wanted to do was use equivs ...
18 votes
2 answers
2k views
How to become the Debian maintainer of my own software?
I am a co-developer of safeeyes, and the Debian package is severely outdated. We released a new version with GTK4 support, and the dependencies need to be updated in the debian source. I tried ...
11 votes
2 answers
608 views
Removing a file from a Debian package without removing the existing file on upgrade
I have a Debian package that I've created that provides a certain file that I no longer want to include in the next version of this Debian package. However, I don't want to actually delete the file ...
8 votes
1 answer
491 views
Safe place to install temporary files from a Debian package
I have some software that I install with a Debian package I've created. There's a couple of files that I don't want to be installed if they already exist. These files live in /var/mysoftwarename/db/...
1 vote
0 answers
45 views
How to convert project buildscript into debian package?
Attempting to package i3lock-color project for debian. The project includes a build.sh script that successfully compiles the project. How could we convert these instructions into something to build ....
1 vote
1 answer
65 views
dpkg-shlibdeps: missing symbols in libasteriskpj.so.2 [asterisk]
I’m trying to build Asterisk packages for Ubuntu 22.04 LTS, and I’m encountering the same issue with both version 22.4.x and 22.5.0. During the build process, I get the following warnings: dpkg-...
-1 votes
1 answer
73 views
How can I build the rpm from Fedora Package Sources?
I'd like to build an RPM from https://src.fedoraproject.org/rpms/Thunar with some changes in the source code. Do they use a docker/podman image to build it? I couldn't find information about it. I'd ...
5 votes
2 answers
494 views
Why in my script I am unable to put multiline text changelog entry upon debian?
I am automating version bumping of my project with this bash script: #!/usr/bin/env bash CHANGELOG="Changelog.md" DEBIAN_CHANGELOG="debian/changelog" UPSTREAM_VERSION=$(cat ...
3 votes
1 answer
308 views
Do RPM spec's for %changelog change when the upstream source is updated?
Let's say your spec file is synced to upstream v1.0.0 and that changes to v2.0.0, what should the changelog entry say that rebuilds the package from the latest upstream source? From the docs The last ...
2 votes
1 answer
398 views
create PPA for Debian distro
My goal is to publish my Debian trixie source package somewhere. I attempted to dput it to my Launchpad PPA, but I got an email saying Unable to find distroseries: trixie Is there a way to fix it or ...
-1 votes
1 answer
786 views
Error Running Package (.deb) on Linux (dependency is not satisfiable: libffi7)
I downloaded a package I wanted to install, but during installation, the system returned an error: dependency is not satisfiable: libffi7. I assume this is because I have a newer version of Linux ...
1 vote
1 answer
149 views
Force dpkg-buildpackage to specify exact dependencies for some packages?
I'm building an app that depends on Qt6 and by default dpkg-buildpackage generates a >= dependencies for shlibs dependencies I didn't explicitly specify . So specifying: Depends: ${shlibs:Depends} ...
1 vote
1 answer
119 views
Kernel image (vmlinuz...) on /boot has always the same date/time across different compilations. Where is it specified?
On a Fedora System, I'm often recompiling the kernel in order to add the necessary T2 patches for the kernel to benefit from the full capabilities of my MacBook Pro (and also so that the keyboard ...
0 votes
1 answer
107 views
How to keep pinned versions in requirements.txt in sync with Debian stable?
Situation: Requirements for a Python package in requirements.txt Dependency versions are pinned (good practice) Dependency versions in requirements.txt should be kept in sync with equivalent Python ...
0 votes
1 answer
106 views
package a single text file into a .deb (possibly on MSYS2/MINGW64)?
I have found a similar question on https://askubuntu.com/questions/144547/how-to-package-a-single-text-file-into-a-deb - unfortunately there is no answer I can use. Basically, I want to manage a text ...