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
0
votes
0
answers
36
views
port ubuntu kernel to rhel
I need to port ubuntu kernel with HWE to RHEL 9.
I have experience in fedora like systems but not in debian like systems.
I have Downloaded the kernel source using apt source but don't know what to do ...
2
votes
2
answers
165
views
Is it possible to query versions of APT packages from not-my-current release without editing sources.list?
I've been learning about Linux package management recently (https://superuser.com/questions/393681/how-to-find-out-which-versions-of-a-package-can-i-install-on-apt, https://askubuntu.com/questions/...
1
vote
2
answers
137
views
Is it possible to setup a user while building a Debian package even when that user does not exist on the build system?
I have a package I like to build locally. Some of the files in the package are to be installed on a system where a given user is created first. Those files should be owned by that user.
For example, ...
-2
votes
3
answers
731
views
Why do different Linux distros have different package formats (and package managers)?
This question is a follow-up to this one: How to install package versions not available with apt-get?
At the linked question, I learned about the Linux package "ecosystemm," including how ...
0
votes
2
answers
1k
views
How to install package versions not available with apt-get?
I'd like to install libuv on a Ubuntu WSL instance, and I specifically need version 1.45.0 or later.
My understanding (from this tutorial article) is that the command to find out what versions of a ...
3
votes
1
answer
59
views
Where should test executables be installed?
I am packaging a component that will also have test executables packaged with it (ideally in a separate package from the runtime package). Ideally, I don't want to package them in /usr/bin since the ...
1
vote
0
answers
58
views
How does apk's replaces work when the package being replaced gets upgraded?
Say I have a package A, and package B. Package B contains some files which deliberately conflict with package A, and it is desirable for package B's files to be favoured over the ones in package A if ...
0
votes
1
answer
42
views
How to get snapcraft CLI on Arch Linux?
Following the instructions on https://snapcraft.io/docs/installing-snap-on-arch-linux, I've got a snap command on my computer. I can use the snap tool to login/etc, but I want to create a snap package ...
1
vote
1
answer
2k
views
Signature from "TNE <[email protected]>" is unknown trust - Invalid or Corrupted package
While running pacman -Syu
After "(8/8) checking package integrity"
I'm facing the following issue with these packages:
error: 7-zip: signature from "TNE <[email protected]>"...
0
votes
1
answer
225
views
Common practice for config files
I'm making a file manager system for managing my projects. My package is named filesystem. I need a config file that stores the path to the root of my file system.
I think I need to create a file /etc/...
1
vote
1
answer
123
views
How do you define a dynamic default value in a Debian package template?
I have a package where I want the administrator to enter a list of interface names. I'd like that list to have a default. Only each system has a different list (eth0, enp0s3, eno1, to list a few).
...
0
votes
1
answer
117
views
How should versioning of debian packages work with git?
As I understand it, debian packages should be named NAME_VERSION_ARCHITECTURE.
but when I use git as version control it and I rename the folder, it threats all files as deleted and then new.
Is there ...
1
vote
1
answer
119
views
Could not execute mockbuild: Could not download sources
When writing a .spec file for Fedora, I ran into a problem. I can't seem to be able to do fedpkg mockbuild at all. No matter what source I use, HTTPS or local, I keep running into this error:
Failed ...
1
vote
0
answers
278
views
How to package a Maven Java application for Debian?
I am trying to package a Java application that is built with Maven.
I created the debian/ folder with mh_make and I have been reading/watching the tutorials:
https://wiki.debian.org/Java/Packaging/...
1
vote
0
answers
33
views
Bundle library for two architectures in the same package
I need to ship a Racket package that is cross compatible on x86 and arm. I have a shared library I depend on via FFI that I would like to bundle in, so that the user doesn't need to install it.
What ...