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
349
questions
1
vote
1
answer
97
views
How to prevent broken dependencies on own packages?
Two nights ago I compiled Calamares. The next morning, when trying to run it, I got:
/usr/bin/calamares: error while loading shared libraries:
libkpmcore.so.11: cannot open shared object file: No ...
1
vote
1
answer
1k
views
How do I build a .flatpak package file from a Flatpak manifest?
I have a Flatpak manifest I'm submitting to Flathub, but I'd also like to build a .flatpak package file that I can redistribute myself. How can I go about doing this? I don't find anything in flatpak-...
3
votes
1
answer
3k
views
If I do not care about debug support in red hat packages, what are the drawbacks of turning build-id support off in the specs file?
As a follow up on this question, what if I am not interested in having these debug features - how do I simply prevent these build-id files (debug info packages?) from being installed ? Ultimately I do ...
1
vote
1
answer
857
views
How does apt keep track of BUILD (source) dependencies?
I want to download all (recursive) build dependencies to be able to build apt (debian) package from source. However, when I apt-get install path/*.debs with debs that I got by apt build-dep --download-...
0
votes
0
answers
71
views
How make apt recognize newer oracle Java version
I used make-jpkg from the package java-package to create a new oracle-java8-jre Debian package. Everything works as expected, only apt wants always to update Java. Is there a way to make apt recognize ...
1
vote
1
answer
364
views
Where to place a bash command while building debian package
I need to build a debian package using sbuild. This package has dependencies that it can't automatically resolve - specifically the dependencies point to versions for which there are already newer ...
0
votes
1
answer
219
views
How to distribute custom library builds with a .deb package?
My company uses a set of internal programs that require custom builds of third-party libraries (like OpenCV).
These libraries exist in the Ubuntu repositories, but these existing packages weren't ...
1
vote
1
answer
1k
views
building Debian package fails after even a minor change to code
I am able to build Debian package make using following procedure:
apt-get source make
cd make-*
dpkg-buildpackage --build=binary --no-sign
But as soon as I make any change to the code, even changing ...
1
vote
1
answer
1k
views
Conditional dependencies in `debian/control` file
I'm packaging the software, which depends on a particular version of a library shipped in the official Debian distribution. The software also has a bundled sources of the library.
Is there any way to ...
0
votes
1
answer
328
views
distributing my binary and installing dependencies
I have a single binary file that I want to distribute to our users and most of its dependencies are linked statically during build time, but there are few dependencies like leveldb that need to be ...
1
vote
0
answers
451
views
How to package appimage properly?
I am trying to package my application in appimage format. I'm using appimage-builder to do so, and using Ubuntu 18.04, as appimage-builder documentation recommends. But I am unable to do so. I cloned ...
0
votes
2
answers
183
views
Passing options to lintian in pdebuild
debuild has an option --lintian-opts that allows to pass options to lintian. How can I pass options to lintian from pdebuild?
1
vote
0
answers
292
views
How to assign new file to package in postinst script
In the postinst script of a Debian package, I create and install a file with a name not known in advance. How can I assign that file to the package so it shows up in dpkg-query --search as belonging ...
0
votes
1
answer
42
views
List all available sources packages that doesn't have a binay packages
I need to get the list of sources packages that doesn't have a binary packages on Debian.
Listing all sources packages may be an answer, so we can get the diff between the available binary and the ...
4
votes
1
answer
209
views
Step by step instructions to abandon a Debian package and no longer be its maintainer
I am marked as the Debian maintainer of a package. I no longer wish to be the maintainer of this project. I thought I had gone through the process of abandoning the package, but it looks like I haven'...